Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 81.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 158.9 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.359/1.359, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002407/0.002407, allocations: 242.2 kB / 260 MB, free: 440 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8848/0.8848, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002875/0.002875, allocations: 99.84 kB / 0.6474 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4134, allocations: 95.35 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02657/0.44, allocations: 27.11 MB / 0.767 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.4512, allocations: 6.543 MB / 0.7733 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.4527, allocations: 65.91 kB / 0.7734 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.4545, allocations: 0.6974 MB / 0.7741 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004231/0.4587, allocations: 1.578 MB / 0.7756 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.4616, allocations: 1.083 MB / 0.7767 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003781/0.4654, allocations: 2.52 MB / 0.7791 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.4666, allocations: 0.6505 MB / 0.7798 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.4687, allocations: 1.073 MB / 0.7808 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.4701, allocations: 0.8393 MB / 0.7816 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.4702, allocations: 67.94 kB / 0.7817 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.472, allocations: 0.6746 MB / 0.7824 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003464/0.4724, allocations: 295.4 kB / 0.7827 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005577/0.4729, allocations: 467.8 kB / 0.7831 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002568/0.4755, allocations: 1.612 MB / 0.7847 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4755, allocations: 5.25 kB / 0.7847 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4755, allocations: 0 / 0.7847 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.359e-05/0.4755, allocations: 7.922 kB / 0.7847 GB, free: 2.023 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002803/0.4783, allocations: 1.545 MB / 0.7862 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.4784, allocations: 10.5 kB / 0.7862 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003616/0.482, allocations: 0.5923 MB / 0.7868 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.4838, allocations: 0.7875 MB / 0.7876 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/0.4839, allocations: 56.81 kB / 0.7876 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.484, allocations: 77.31 kB / 0.7877 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/0.4867, allocations: 1.11 MB / 0.7888 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.4867, allocations: 5.156 kB / 0.7888 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/0.4868, allocations: 32.23 kB / 0.7888 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.4868, allocations: 22.19 kB / 0.7888 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00316/0.4899, allocations: 1.014 MB / 0.7898 GB, free: 14.65 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006172/0.4961, allocations: 4.127 MB / 0.7938 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003033/0.4991, allocations: 0.8871 MB / 0.7947 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.5006, allocations: 471.9 kB / 0.7952 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007007/0.5013, allocations: 180.3 kB / 0.7953 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001717/0.503, allocations: 0.5759 MB / 0.7959 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=61): time 3.707e-06/0.503, allocations: 0 / 0.7959 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of matching and sorting (n=61): time 0.005093/0.5081, allocations: 1.507 MB / 0.7974 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.5082, allocations: 55.91 kB / 0.7974 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.5096, allocations: 1.08 MB / 0.7985 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.597e-05/0.5097, allocations: 41.7 kB / 0.7985 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/0.5102, allocations: 0.5669 MB / 0.7991 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.5104, allocations: 222.1 kB / 0.7993 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.5107, allocations: 166.6 kB / 0.7994 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.5109, allocations: 334 kB / 0.7998 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.5124, allocations: 457.6 kB / 0.8002 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.5143, allocations: 0.958 MB / 0.8011 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.5175, allocations: 1.126 MB / 0.8022 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.5175, allocations: 7.984 kB / 0.8022 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003824/0.5213, allocations: 1.284 MB / 0.8035 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.5214, allocations: 12.88 kB / 0.8035 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.5214, allocations: 8 kB / 0.8035 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.5214, allocations: 16 kB / 0.8035 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.5227, allocations: 263.6 kB / 0.8038 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.576e-05/0.5227, allocations: 15.94 kB / 0.8038 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.524, allocations: 175.3 kB / 0.804 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.5241, allocations: 51.97 kB / 0.804 GB, free: 1.027 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005607/0.5246, allocations: 291.5 kB / 0.8043 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.5249, allocations: 115.2 kB / 0.8044 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/0.5291, allocations: 1.428 MB / 0.8058 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.5291, allocations: 12.08 kB / 0.8058 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5291, allocations: 3.938 kB / 0.8058 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.5291, allocations: 11.92 kB / 0.8058 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005609/0.5347, allocations: 2.244 MB / 0.808 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.5348, allocations: 0 / 0.808 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.5358, allocations: 203.8 kB / 0.8082 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.5358, allocations: 4 kB / 0.8082 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.071e-05/0.5359, allocations: 23.97 kB / 0.8082 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.5359, allocations: 4 kB / 0.8082 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.5359, allocations: 11.94 kB / 0.8082 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005536/0.5415, allocations: 2.064 MB / 0.8103 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/0.542, allocations: 203 kB / 0.8105 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.5421, allocations: 20 kB / 0.8105 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.5431, allocations: 111.9 kB / 0.8106 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.5433, allocations: 64.42 kB / 0.8106 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.493e-05/0.5434, allocations: 35.97 kB / 0.8107 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001063/0.5444, allocations: 0.7265 MB / 0.8114 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5444, allocations: 4 kB / 0.8114 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001294/0.5457, allocations: 363.2 kB / 0.8117 GB, free: 9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002224/0.5479, allocations: 0.6772 MB / 0.8124 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003519/0.5515, allocations: 1.109 MB / 0.8135 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5515, allocations: 0 / 0.8135 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.5532, allocations: 0.5701 MB / 0.814 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.5551, allocations: 381.8 kB / 0.8144 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.5605, allocations: 2.419 MB / 0.8168 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.5612, allocations: 0.5214 MB / 0.8173 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008867/0.5621, allocations: 231.4 kB / 0.8175 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.5625, allocations: 108.4 kB / 0.8176 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/0.5625, allocations: 0 / 0.8176 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of Templates: time 0.03439/0.5968, allocations: 18.87 MB / 0.836 GB, free: 0.6602 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.342117874068208] Failed to read output from testmodel.py, exit status != 0: 0.6052672379883006 0.619374395 0.140839027 Calling exit ...