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.0009457/0.0009457, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.0009312/0.0009312, allocations: 170 kB / 24.84 MB, free: 9.254 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.9834/0.9834, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.5992/0.5992, allocations: 115 MB / 376.8 MB, free: 7.492 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.532e-06/1.532e-06, allocations: 0 / 482.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.299e-05, allocations: 2.312 kB / 482.8 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.009243/0.009256, allocations: 13.38 MB / 496.2 MB, free: 2.582 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006721/0.01598, allocations: 4.938 MB / 0.4894 GB, free: 15.21 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008504/0.01683, allocations: 90.66 kB / 0.4895 GB, free: 15.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009601/0.01779, allocations: 0.6149 MB / 0.4901 GB, free: 14.91 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.02001, allocations: 1.566 MB / 0.4916 GB, free: 13.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.02293, allocations: 1.494 MB / 0.493 GB, free: 13.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.02682, allocations: 3.773 MB / 0.4967 GB, free: 11.46 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.02801, allocations: 0.9882 MB / 0.4977 GB, free: 10.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.03008, allocations: 1.865 MB / 0.4995 GB, free: 10.11 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009987/0.03108, allocations: 1.03 MB / 0.5005 GB, free: 9.293 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.03121, allocations: 108 kB / 0.5006 GB, free: 9.188 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006734/0.03188, allocations: 317.6 kB / 0.5009 GB, free: 8.918 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.03223, allocations: 413.6 kB / 0.5013 GB, free: 8.574 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005117/0.03274, allocations: 0.5723 MB / 0.5019 GB, free: 8.043 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.03422, allocations: 1.403 MB / 0.5032 GB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.03423, allocations: 0 / 0.5032 GB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.03423, allocations: 4 kB / 0.5033 GB, free: 6.855 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.03424, allocations: 0 / 0.5033 GB, free: 6.855 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.002019/0.03626, allocations: 2.113 MB / 0.5053 GB, free: 4.879 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.03629, allocations: 10.64 kB / 0.5053 GB, free: 4.871 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.03775, allocations: 0.5978 MB / 0.5059 GB, free: 4.398 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.03887, allocations: 1.125 MB / 0.507 GB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.03892, allocations: 82.86 kB / 0.5071 GB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.03903, allocations: 108 kB / 0.5072 GB, free: 3.078 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.04021, allocations: 1.202 MB / 0.5084 GB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.04024, allocations: 7.938 kB / 0.5084 GB, free: 1.672 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.075e-05/0.04031, allocations: 45.62 kB / 0.5084 GB, free: 1.629 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.04033, allocations: 28 kB / 0.5084 GB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.04088, allocations: 473.5 kB / 0.5089 GB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004332/0.04522, allocations: 7.693 MB / 0.5164 GB, free: 9.199 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009333/0.04615, allocations: 0.4947 MB / 0.5169 GB, free: 8.699 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.04636, allocations: 181.5 kB / 0.5171 GB, free: 8.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002073/0.04657, allocations: 96.8 kB / 0.5172 GB, free: 8.426 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.04694, allocations: 346.2 kB / 0.5175 GB, free: 8.074 MB / 442.7 MB Notification: Performance of pre-optimization done (n=85): time 2.254e-06/0.04694, allocations: 0 / 0.5175 GB, free: 8.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.0009875/0.04793, allocations: 0.7962 MB / 0.5183 GB, free: 7.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.04797, allocations: 68.39 kB / 0.5183 GB, free: 7.191 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/0.04873, allocations: 1.206 MB / 0.5195 GB, free: 5.953 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.04878, allocations: 45.7 kB / 0.5195 GB, free: 5.902 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006922/0.04948, allocations: 0.8689 MB / 0.5204 GB, free: 5.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.04964, allocations: 309.4 kB / 0.5207 GB, free: 4.715 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.04984, allocations: 236.4 kB / 0.5209 GB, free: 4.473 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.04997, allocations: 0.5237 MB / 0.5214 GB, free: 3.941 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.05018, allocations: 154.5 kB / 0.5216 GB, free: 3.793 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.0507, allocations: 0.9087 MB / 0.5225 GB, free: 2.605 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008783/0.05158, allocations: 0.8575 MB / 0.5233 GB, free: 1.539 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.05158, allocations: 4 kB / 0.5233 GB, free: 1.535 MB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0009717/0.05255, allocations: 0.9295 MB / 0.5242 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.05257, allocations: 8.938 kB / 0.5242 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.05259, allocations: 12 kB / 0.5242 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.0526, allocations: 16 kB / 0.5242 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005704/0.05317, allocations: 299.5 kB / 0.5245 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.05319, allocations: 27.86 kB / 0.5246 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.05364, allocations: 163.1 kB / 0.5247 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.377e-05/0.05371, allocations: 55.97 kB / 0.5248 GB, free: 28 kB / 442.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.0002513/0.05396, allocations: 234.2 kB / 0.525 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.05414, allocations: 191 kB / 0.5252 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.05546, allocations: 1.146 MB / 0.5263 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.05547, allocations: 15.98 kB / 0.5263 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.05548, allocations: 0 / 0.5263 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.05548, allocations: 7.922 kB / 0.5263 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.05746, allocations: 2.048 MB / 0.5283 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.05746, allocations: 4 kB / 0.5283 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.05791, allocations: 191.9 kB / 0.5285 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.05792, allocations: 4 kB / 0.5285 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.05796, allocations: 43.89 kB / 0.5285 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.05797, allocations: 8 kB / 0.5286 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.05797, allocations: 3.984 kB / 0.5286 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.0592, allocations: 1.245 MB / 0.5298 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.05947, allocations: 278.4 kB / 0.53 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.05957, allocations: 23.98 kB / 0.5301 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.05992, allocations: 67.94 kB / 0.5301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.06001, allocations: 80.8 kB / 0.5302 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/0.06024, allocations: 39.97 kB / 0.5302 GB, free: 10.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004177/0.06065, allocations: 0.6779 MB / 0.5309 GB, free: 9.602 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06065, allocations: 0 / 0.5309 GB, free: 9.602 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007084/0.06136, allocations: 431.2 kB / 0.5313 GB, free: 9.18 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.0009624/0.06232, allocations: 486.4 kB / 0.5318 GB, free: 8.875 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000697/0.06302, allocations: 0.6424 MB / 0.5324 GB, free: 8.227 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.06303, allocations: 0 / 0.5324 GB, free: 8.227 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.06339, allocations: 361 kB / 0.5328 GB, free: 7.875 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.06469, allocations: 0.6173 MB / 0.5334 GB, free: 7.281 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.06726, allocations: 2.534 MB / 0.5358 GB, free: 4.676 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.06747, allocations: 306.4 kB / 0.5361 GB, free: 4.352 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006436/0.06811, allocations: 299.6 kB / 0.5364 GB, free: 4.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009217/0.06903, allocations: 0.6188 MB / 0.537 GB, free: 3.449 MB / 458.7 MB Notification: Performance of SimCode: time 1.302e-06/0.06904, allocations: 4 kB / 0.537 GB, free: 3.445 MB / 458.7 MB Notification: Performance of Templates: time 0.03072/0.09976, allocations: 28.09 MB / 0.5645 GB, free: 8.07 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.128061563242227]