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.001211/0.001211, allocations: 84.22 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001105/0.001105, allocations: 169 kB / 24.25 MB, free: 304 kB / 18.57 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.03/1.03, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.6581/0.6581, allocations: 115 MB / 376 MB, free: 7.625 MB / 346.7 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.984e-06/1.984e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.045e-05, allocations: 2.859 kB / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.04139/0.04143, allocations: 56.64 MB / 0.5256 GB, free: 15.7 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.05391, allocations: 10.68 MB / 0.536 GB, free: 4.992 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.05595, allocations: 91.19 kB / 0.5361 GB, free: 4.902 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.05793, allocations: 0.9161 MB / 0.537 GB, free: 3.98 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004645/0.06257, allocations: 2.129 MB / 0.5391 GB, free: 1.84 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004148/0.06672, allocations: 2.114 MB / 0.5411 GB, free: 15.72 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.004204/0.07093, allocations: 3.768 MB / 0.5448 GB, free: 11.94 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.07211, allocations: 0.9959 MB / 0.5458 GB, free: 10.92 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003273/0.07539, allocations: 2.433 MB / 0.5482 GB, free: 8.477 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.07659, allocations: 1.071 MB / 0.5492 GB, free: 7.402 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.07672, allocations: 108 kB / 0.5493 GB, free: 7.297 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.07869, allocations: 1.06 MB / 0.5503 GB, free: 6.234 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.07904, allocations: 406.2 kB / 0.5507 GB, free: 5.836 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005177/0.07956, allocations: 0.5688 MB / 0.5513 GB, free: 5.266 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002716/0.08227, allocations: 1.977 MB / 0.5532 GB, free: 3.281 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.08228, allocations: 0 / 0.5532 GB, free: 3.281 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.08228, allocations: 0 / 0.5532 GB, free: 3.281 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.0823, allocations: 0 / 0.5532 GB, free: 3.281 MB / 474.7 MB 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.002299/0.0846, allocations: 2.199 MB / 0.5554 GB, free: 1.023 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.08464, allocations: 8.031 kB / 0.5554 GB, free: 1.016 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.08627, allocations: 0.6349 MB / 0.556 GB, free: 388 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.08752, allocations: 1.126 MB / 0.5571 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.784e-05/0.08758, allocations: 86.08 kB / 0.5572 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.0877, allocations: 108 kB / 0.5573 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.08929, allocations: 1.298 MB / 0.5585 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.08931, allocations: 7.938 kB / 0.5586 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/0.08939, allocations: 51.98 kB / 0.5586 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.08941, allocations: 28 kB / 0.5586 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008675/0.09028, allocations: 0.5849 MB / 0.5592 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004996/0.09527, allocations: 7.962 MB / 0.567 GB, free: 4.609 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.09642, allocations: 0.5693 MB / 0.5675 GB, free: 4.031 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.09674, allocations: 234.9 kB / 0.5678 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005568/0.0973, allocations: 284.5 kB / 0.568 GB, free: 3.527 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005194/0.09782, allocations: 390.4 kB / 0.5684 GB, free: 3.133 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 2.474e-06/0.09782, allocations: 0 / 0.5684 GB, free: 3.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.001457/0.09928, allocations: 0.9095 MB / 0.5693 GB, free: 2.223 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.09932, allocations: 64.34 kB / 0.5693 GB, free: 2.145 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009555/0.1003, allocations: 1.235 MB / 0.5706 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.1003, allocations: 41.7 kB / 0.5706 GB, free: 0.832 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.1008, allocations: 0.8616 MB / 0.5714 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.101, allocations: 309.4 kB / 0.5717 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.1012, allocations: 224.5 kB / 0.5719 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1014, allocations: 0.5275 MB / 0.5725 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.1017, allocations: 206.5 kB / 0.5727 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/0.1023, allocations: 0.944 MB / 0.5736 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/0.1032, allocations: 0.9358 MB / 0.5745 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1033, allocations: 4 kB / 0.5745 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001339/0.1046, allocations: 1.027 MB / 0.5755 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.1046, allocations: 11.28 kB / 0.5755 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.1046, allocations: 12 kB / 0.5755 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.1046, allocations: 16.78 kB / 0.5755 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/0.1053, allocations: 307.5 kB / 0.5758 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.1053, allocations: 31.86 kB / 0.5759 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005906/0.1059, allocations: 171 kB / 0.576 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.572e-05/0.106, allocations: 67.95 kB / 0.5761 GB, free: 10.68 MB / 0.4948 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.0002825/0.1063, allocations: 230.2 kB / 0.5763 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.1065, allocations: 199 kB / 0.5765 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.1083, allocations: 1.355 MB / 0.5778 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/0.1083, allocations: 23.98 kB / 0.5778 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1083, allocations: 0 / 0.5778 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.1083, allocations: 7.969 kB / 0.5779 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.1109, allocations: 2.247 MB / 0.58 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.1109, allocations: 0 / 0.58 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.1114, allocations: 199.7 kB / 0.5802 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.1115, allocations: 12 kB / 0.5802 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.1115, allocations: 39.97 kB / 0.5803 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.1115, allocations: 11.92 kB / 0.5803 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1115, allocations: 4 kB / 0.5803 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.1133, allocations: 1.498 MB / 0.5818 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.1137, allocations: 306.3 kB / 0.5821 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.1138, allocations: 23.94 kB / 0.5821 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.1142, allocations: 79.92 kB / 0.5822 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.1143, allocations: 84.84 kB / 0.5822 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.701e-05/0.1144, allocations: 51.95 kB / 0.5823 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006237/0.115, allocations: 0.7329 MB / 0.583 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.115, allocations: 0 / 0.583 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00124/0.1163, allocations: 0.569 MB / 0.5836 GB, free: 2.922 MB / 0.4948 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.001532/0.1178, allocations: 0.8229 MB / 0.5844 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.1189, allocations: 0.7655 MB / 0.5851 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1189, allocations: 0 / 0.5851 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005303/0.1194, allocations: 448.4 kB / 0.5855 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.121, allocations: 0.6204 MB / 0.5861 GB, free: 480 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.1243, allocations: 2.637 MB / 0.5887 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.1245, allocations: 314.3 kB / 0.589 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008512/0.1254, allocations: 324.6 kB / 0.5893 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.1257, allocations: 164.4 kB / 0.5895 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/0.1257, allocations: 0 / 0.5895 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.03507/0.1607, allocations: 30.16 MB / 0.6189 GB, free: 15.51 MB / 0.5417 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.393998272018507]