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.001027/0.001027, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.00129/0.00129, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 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 0.9558/0.9558, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.7155/0.7155, allocations: 115 MB / 375.7 MB, free: 7.668 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.693e-06/1.693e-06, allocations: 0 / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.588e-05, allocations: 3.078 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01117/0.01119, allocations: 13.54 MB / 495.1 MB, free: 2.746 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008942/0.02013, allocations: 4.965 MB / 0.4883 GB, free: 15.37 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.02258, allocations: 91.91 kB / 0.4884 GB, free: 15.32 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.02423, allocations: 0.616 MB / 0.489 GB, free: 15.07 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003953/0.02818, allocations: 1.558 MB / 0.4905 GB, free: 14.15 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003936/0.03212, allocations: 1.494 MB / 0.492 GB, free: 13.41 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006586/0.03871, allocations: 3.773 MB / 0.4957 GB, free: 11.62 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.04088, allocations: 0.9877 MB / 0.4966 GB, free: 11 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004564/0.04544, allocations: 1.79 MB / 0.4984 GB, free: 10.22 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.0474, allocations: 1.065 MB / 0.4994 GB, free: 9.379 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003038/0.0477, allocations: 104 kB / 0.4995 GB, free: 9.277 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009476/0.04865, allocations: 326 kB / 0.4998 GB, free: 9 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003836/0.04903, allocations: 417.2 kB / 0.5002 GB, free: 8.656 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000873/0.04991, allocations: 0.5675 MB / 0.5008 GB, free: 8.129 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.05229, allocations: 1.409 MB / 0.5022 GB, free: 6.941 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.0523, allocations: 0 / 0.5022 GB, free: 6.941 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.0523, allocations: 3.938 kB / 0.5022 GB, free: 6.938 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.571e-05/0.05236, allocations: 0 / 0.5022 GB, free: 6.938 MB / 426.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.003132/0.0555, allocations: 2.092 MB / 0.5042 GB, free: 4.984 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.05555, allocations: 8.641 kB / 0.5042 GB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.05734, allocations: 0.6248 MB / 0.5048 GB, free: 4.488 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.05887, allocations: 1.139 MB / 0.506 GB, free: 3.398 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/0.05893, allocations: 86.08 kB / 0.506 GB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.05905, allocations: 104 kB / 0.5061 GB, free: 3.211 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.06065, allocations: 1.306 MB / 0.5074 GB, free: 1.711 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.06067, allocations: 7.938 kB / 0.5074 GB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.252e-05/0.06074, allocations: 48.52 kB / 0.5075 GB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.06077, allocations: 29.94 kB / 0.5075 GB, free: 1.629 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009074/0.06168, allocations: 0.5797 MB / 0.5081 GB, free: 1.051 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00637/0.06804, allocations: 7.962 MB / 0.5158 GB, free: 8.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.06925, allocations: 0.5802 MB / 0.5164 GB, free: 8.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.06958, allocations: 227.4 kB / 0.5166 GB, free: 8.008 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.06986, allocations: 81.45 kB / 0.5167 GB, free: 7.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005263/0.07039, allocations: 386.2 kB / 0.5171 GB, free: 7.539 MB / 442.7 MB Notification: Performance of pre-optimization done (n=85): time 4.127e-06/0.07039, allocations: 0 / 0.5171 GB, free: 7.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.001512/0.07191, allocations: 0.9211 MB / 0.518 GB, free: 6.609 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.07195, allocations: 60.41 kB / 0.518 GB, free: 6.539 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.07301, allocations: 1.231 MB / 0.5192 GB, free: 5.277 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.832e-05/0.07308, allocations: 49.69 kB / 0.5193 GB, free: 5.223 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/0.07357, allocations: 0.8577 MB / 0.5201 GB, free: 4.352 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.07379, allocations: 313.4 kB / 0.5204 GB, free: 4.043 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.07404, allocations: 228.5 kB / 0.5206 GB, free: 3.809 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.07419, allocations: 0.5237 MB / 0.5211 GB, free: 3.277 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.07455, allocations: 206.5 kB / 0.5213 GB, free: 3.078 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009495/0.0755, allocations: 0.9401 MB / 0.5223 GB, free: 1.859 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009425/0.07644, allocations: 0.9357 MB / 0.5232 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.07644, allocations: 4 kB / 0.5232 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001387/0.07783, allocations: 1.027 MB / 0.5242 GB, free: 15.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.07785, allocations: 8 kB / 0.5242 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.07787, allocations: 12 kB / 0.5242 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.07789, allocations: 16 kB / 0.5242 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.07858, allocations: 316.2 kB / 0.5245 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.0786, allocations: 19.94 kB / 0.5245 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/0.07922, allocations: 163.2 kB / 0.5247 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-05/0.07932, allocations: 75.89 kB / 0.5248 GB, free: 15.08 MB / 458.7 MB 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.0003469/0.07967, allocations: 234.1 kB / 0.525 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.07986, allocations: 187 kB / 0.5252 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.08151, allocations: 1.254 MB / 0.5264 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.08153, allocations: 19.98 kB / 0.5264 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.08154, allocations: 0 / 0.5264 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.08155, allocations: 3.984 kB / 0.5264 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.08437, allocations: 2.376 MB / 0.5287 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.08438, allocations: 4 kB / 0.5287 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.08491, allocations: 195.9 kB / 0.5289 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.08491, allocations: 4 kB / 0.5289 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/0.08497, allocations: 39.97 kB / 0.529 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.08498, allocations: 11.94 kB / 0.529 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.08498, allocations: 4 kB / 0.529 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.08705, allocations: 1.417 MB / 0.5304 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/0.08745, allocations: 286.5 kB / 0.5306 GB, free: 8.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.08757, allocations: 20 kB / 0.5306 GB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.08799, allocations: 75.92 kB / 0.5307 GB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.08811, allocations: 80.86 kB / 0.5308 GB, free: 8.738 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/0.08818, allocations: 43.97 kB / 0.5308 GB, free: 8.695 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006922/0.08887, allocations: 0.7406 MB / 0.5316 GB, free: 7.957 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08887, allocations: 0 / 0.5316 GB, free: 7.957 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009926/0.08987, allocations: 435.2 kB / 0.532 GB, free: 7.531 MB / 458.7 MB 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 (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.001239/0.09111, allocations: 485 kB / 0.5324 GB, free: 7.223 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.09232, allocations: 0.7486 MB / 0.5332 GB, free: 6.469 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.09232, allocations: 0 / 0.5332 GB, free: 6.469 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.09283, allocations: 415.8 kB / 0.5336 GB, free: 6.062 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.09444, allocations: 0.6073 MB / 0.5342 GB, free: 5.48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.09832, allocations: 2.563 MB / 0.5367 GB, free: 2.844 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.09852, allocations: 302.4 kB / 0.537 GB, free: 2.523 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008673/0.09939, allocations: 327.8 kB / 0.5373 GB, free: 2.215 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.09971, allocations: 156.3 kB / 0.5374 GB, free: 2.062 MB / 458.7 MB Notification: Performance of SimCode: time 2.415e-06/0.09971, allocations: 0 / 0.5374 GB, free: 2.062 MB / 458.7 MB Notification: Performance of Templates: time 0.03167/0.1314, allocations: 24.88 MB / 0.5617 GB, free: 9.848 MB / 490.7 MB " [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.3772312961518764]