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.001535/0.001535, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.00188/0.00188, allocations: 211.6 kB / 22.99 MB, free: 4.609 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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 1.046/1.046, allocations: 149.9 MB / 463 MB, free: 10.38 MB / 366.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: IBPSA 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.002331/0.002331, allocations: 70.86 kB / 0.6416 GB, free: 9.625 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1999, allocations: 89.18 MB / 0.7287 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.4921/0.692, allocations: 50.41 MB / 0.7779 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01538/0.7073, allocations: 9.748 MB / 0.7874 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00252/0.7099, allocations: 91.91 kB / 0.7875 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002693/0.7126, allocations: 0.905 MB / 0.7884 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00727/0.7198, allocations: 2.079 MB / 0.7904 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00762/0.7274, allocations: 2.016 MB / 0.7924 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007904/0.7353, allocations: 3.807 MB / 0.7961 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/0.7382, allocations: 0.9857 MB / 0.7971 GB, free: 100 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006234/0.7444, allocations: 1.974 MB / 0.799 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/0.7479, allocations: 1.202 MB / 0.8002 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007334/0.7487, allocations: 110.1 kB / 0.8003 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004447/0.7531, allocations: 1.037 MB / 0.8013 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000919/0.754, allocations: 410.1 kB / 0.8017 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002505/0.7565, allocations: 0.694 MB / 0.8024 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007639/0.7642, allocations: 2.431 MB / 0.8047 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.7642, allocations: 1.062 kB / 0.8047 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7642, allocations: 0 / 0.8047 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001148/0.7643, allocations: 0 / 0.8047 GB, free: 12.87 MB / 0.5919 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.006843/0.7711, allocations: 2.133 MB / 0.8068 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.7712, allocations: 9.719 kB / 0.8068 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004331/0.7755, allocations: 0.6631 MB / 0.8075 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.7792, allocations: 1.088 MB / 0.8085 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.7793, allocations: 84.64 kB / 0.8086 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003884/0.7797, allocations: 108.2 kB / 0.8087 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004407/0.7841, allocations: 1.497 MB / 0.8102 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.724e-05/0.7842, allocations: 6.719 kB / 0.8102 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.7843, allocations: 49.14 kB / 0.8102 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.145e-05/0.7844, allocations: 29.77 kB / 0.8103 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004462/0.7889, allocations: 1.238 MB / 0.8115 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.801, allocations: 6.418 MB / 0.8177 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/0.8049, allocations: 1.057 MB / 0.8188 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.8066, allocations: 0.5339 MB / 0.8193 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/0.8078, allocations: 287.1 kB / 0.8196 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002029/0.8098, allocations: 0.675 MB / 0.8202 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 4.088e-06/0.8098, allocations: 0 / 0.8202 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.006314/0.8161, allocations: 1.809 MB / 0.822 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.8162, allocations: 65.5 kB / 0.822 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.8191, allocations: 1.402 MB / 0.8234 GB, free: 296 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.8192, allocations: 46.86 kB / 0.8235 GB, free: 252 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008844/0.8201, allocations: 0.812 MB / 0.8243 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004429/0.8205, allocations: 315.2 kB / 0.8246 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/0.821, allocations: 223.5 kB / 0.8248 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.8212, allocations: 357.4 kB / 0.8251 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.8228, allocations: 0.5251 MB / 0.8256 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.825, allocations: 1.137 MB / 0.8267 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003833/0.8289, allocations: 1.423 MB / 0.8281 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.406e-05/0.8289, allocations: 2.656 kB / 0.8281 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.006023/0.8349, allocations: 1.612 MB / 0.8297 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/0.835, allocations: 14.27 kB / 0.8297 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/0.835, allocations: 11.06 kB / 0.8297 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.23e-05/0.8351, allocations: 17.31 kB / 0.8297 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.8366, allocations: 348.8 kB / 0.8301 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-05/0.8367, allocations: 23.77 kB / 0.8301 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.8391, allocations: 207.4 kB / 0.8303 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/0.8393, allocations: 73.52 kB / 0.8304 GB, free: 11.49 MB / 0.6075 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.00123/0.8406, allocations: 343 kB / 0.8307 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008437/0.8414, allocations: 164.7 kB / 0.8308 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006185/0.8476, allocations: 2.169 MB / 0.833 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.146e-05/0.8477, allocations: 22.94 kB / 0.833 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.8477, allocations: 0 / 0.833 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.8477, allocations: 11.92 kB / 0.833 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00863/0.8563, allocations: 3.123 MB / 0.836 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.8563, allocations: 4 kB / 0.8361 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.8576, allocations: 235.8 kB / 0.8363 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.9e-05/0.8576, allocations: 15.88 kB / 0.8363 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.8577, allocations: 31.97 kB / 0.8363 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.659e-05/0.8577, allocations: 12 kB / 0.8363 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.8577, allocations: 3.984 kB / 0.8363 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007157/0.8649, allocations: 2.814 MB / 0.8391 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.866, allocations: 322.3 kB / 0.8394 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005141/0.8665, allocations: 24 kB / 0.8394 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.868, allocations: 111.9 kB / 0.8395 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.8682, allocations: 86.67 kB / 0.8396 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.8683, allocations: 47.97 kB / 0.8397 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002114/0.8705, allocations: 0.9443 MB / 0.8406 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.8705, allocations: 0 / 0.8406 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002912/0.8734, allocations: 0.5651 MB / 0.8411 GB, free: 1.859 MB / 0.6075 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.003369/0.8767, allocations: 0.8475 MB / 0.842 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005225/0.882, allocations: 1.454 MB / 0.8434 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.882, allocations: 4.062 kB / 0.8434 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.8844, allocations: 0.7791 MB / 0.8441 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004074/0.8884, allocations: 0.6116 MB / 0.8447 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008324/0.8968, allocations: 3.213 MB / 0.8479 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.898, allocations: 0.7384 MB / 0.8486 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001883/0.8999, allocations: 347.4 kB / 0.8489 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006225/0.9005, allocations: 163.3 kB / 0.8491 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of SimCode: time 1.884e-06/0.9005, allocations: 0 / 0.8491 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of Templates: time 0.06068/0.9612, allocations: 33.02 MB / 0.8813 GB, free: 9.422 MB / 0.6544 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: 7.674135522916913] Failed to read output from testmodel.py, exit status != 0: 0.9714978523552418 0.986401156 0.21881646200000002 Calling exit ...