Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001307/0.001307, allocations: 82.64 kB / 19.94 MB, free: 1.777 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.001429/0.001429, allocations: 165.9 kB / 23.22 MB, free: 4.902 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.385/1.385, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8817/0.8817, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.5547 GB, free: 2.598 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.818e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.594 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05372/0.05375, allocations: 49.96 MB / 0.6035 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.06959, allocations: 9.715 MB / 0.613 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.07155, allocations: 91.19 kB / 0.6131 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.07395, allocations: 0.9161 MB / 0.614 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006094/0.08004, allocations: 2.125 MB / 0.616 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005788/0.08583, allocations: 2.102 MB / 0.6181 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005838/0.09167, allocations: 3.767 MB / 0.6218 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.09335, allocations: 0.9484 MB / 0.6227 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004831/0.09818, allocations: 2.433 MB / 0.6251 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.09992, allocations: 1.059 MB / 0.6261 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.1001, allocations: 108 kB / 0.6262 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.1027, allocations: 1.056 MB / 0.6272 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004245/0.1031, allocations: 410.2 kB / 0.6276 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008302/0.104, allocations: 0.5766 MB / 0.6282 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003742/0.1077, allocations: 2.414 MB / 0.6306 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1077, allocations: 4 kB / 0.6306 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1077, allocations: 0 / 0.6306 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.716e-05/0.1077, allocations: 0 / 0.6306 GB, free: 4.648 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003789/0.1115, allocations: 2.102 MB / 0.6326 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.1116, allocations: 12.61 kB / 0.6326 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003849/0.1154, allocations: 0.662 MB / 0.6333 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.1175, allocations: 1.06 MB / 0.6343 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.558e-05/0.1176, allocations: 90.02 kB / 0.6344 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.1178, allocations: 108 kB / 0.6345 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.121, allocations: 1.508 MB / 0.636 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.1211, allocations: 3.938 kB / 0.636 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.1212, allocations: 44 kB / 0.636 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.1212, allocations: 32 kB / 0.636 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003652/0.1248, allocations: 1.237 MB / 0.6373 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008688/0.1335, allocations: 6.395 MB / 0.6435 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/0.1371, allocations: 1.057 MB / 0.6445 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.1387, allocations: 0.5337 MB / 0.6451 GB, free: 5.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.1397, allocations: 284.7 kB / 0.6453 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00194/0.1417, allocations: 0.6878 MB / 0.646 GB, free: 4.352 MB / 0.545 GB Notification: Performance of pre-optimization done (n=85): time 3.878e-06/0.1417, allocations: 0 / 0.646 GB, free: 4.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=85): time 0.005824/0.1475, allocations: 1.795 MB / 0.6478 GB, free: 2.547 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.1476, allocations: 60.41 kB / 0.6478 GB, free: 2.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.1496, allocations: 1.395 MB / 0.6492 GB, free: 1.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.1497, allocations: 45.7 kB / 0.6492 GB, free: 1.016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007767/0.1505, allocations: 0.7989 MB / 0.65 GB, free: 212 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.1509, allocations: 313.6 kB / 0.6503 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004287/0.1513, allocations: 230.7 kB / 0.6505 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002366/0.1515, allocations: 349.7 kB / 0.6508 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.1532, allocations: 0.5256 MB / 0.6514 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/0.1554, allocations: 1.129 MB / 0.6525 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003765/0.1591, allocations: 1.43 MB / 0.6539 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.1591, allocations: 4 kB / 0.6539 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004386/0.1635, allocations: 1.609 MB / 0.6554 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.1636, allocations: 9.719 kB / 0.6554 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.1636, allocations: 12 kB / 0.6555 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.472e-05/0.1636, allocations: 27.88 kB / 0.6555 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.1651, allocations: 335.6 kB / 0.6558 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.887e-05/0.1651, allocations: 27.92 kB / 0.6558 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.1665, allocations: 215 kB / 0.656 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.1666, allocations: 67.95 kB / 0.6561 GB, free: 9.566 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0006763/0.1673, allocations: 344.5 kB / 0.6564 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.1676, allocations: 163 kB / 0.6566 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005365/0.173, allocations: 2.178 MB / 0.6587 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/0.173, allocations: 23.97 kB / 0.6587 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.173, allocations: 3.938 kB / 0.6587 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.173, allocations: 3.984 kB / 0.6587 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006741/0.1798, allocations: 3.129 MB / 0.6618 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.1798, allocations: 0 / 0.6618 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.181, allocations: 239.9 kB / 0.662 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/0.181, allocations: 7.938 kB / 0.662 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.374e-05/0.1811, allocations: 39.95 kB / 0.6621 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.1811, allocations: 4 kB / 0.6621 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1811, allocations: 4 kB / 0.6621 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006835/0.188, allocations: 2.81 MB / 0.6648 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007242/0.1887, allocations: 314.5 kB / 0.6651 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.1889, allocations: 27.94 kB / 0.6651 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.19, allocations: 115.9 kB / 0.6653 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.1901, allocations: 88.78 kB / 0.6653 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.1903, allocations: 47.97 kB / 0.6654 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001335/0.1916, allocations: 0.9282 MB / 0.6663 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1916, allocations: 0 / 0.6663 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001609/0.1932, allocations: 0.5651 MB / 0.6668 GB, free: 14.48 MB / 0.5762 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.002464/0.1957, allocations: 0.8681 MB / 0.6677 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004252/0.1999, allocations: 1.454 MB / 0.6691 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1999, allocations: 0 / 0.6691 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.2021, allocations: 0.7754 MB / 0.6699 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.2048, allocations: 0.587 MB / 0.6704 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005656/0.2104, allocations: 3.119 MB / 0.6735 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/0.2112, allocations: 0.7365 MB / 0.6742 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001037/0.2122, allocations: 345.2 kB / 0.6745 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/0.2126, allocations: 156.3 kB / 0.6747 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.2126, allocations: 0 / 0.6747 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of Templates: time 0.2967/0.5093, allocations: 29.9 MB / 0.7039 GB, free: 134.1 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.61569257825613] Failed to read output from testmodel.py, exit status != 0: 0.5176434144377708 0.52725961 0.417267144 Calling exit ...