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.001849/0.001849, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.00176/0.00176, allocations: 211.6 kB / 23.74 MB, free: 4.445 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 7.797 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 0.9512/0.9512, allocations: 149.9 MB / 463.8 MB, free: 10.36 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.002127/0.002127, allocations: 65.89 kB / 0.6423 GB, free: 9.617 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2115, allocations: 89.18 MB / 0.7294 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.4502/0.6617, allocations: 50.4 MB / 0.7786 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01449/0.6762, allocations: 9.754 MB / 0.7882 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.6788, allocations: 94.56 kB / 0.7883 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.6816, allocations: 0.9012 MB / 0.7891 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006585/0.6882, allocations: 2.077 MB / 0.7912 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005689/0.6939, allocations: 2.019 MB / 0.7931 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005986/0.6999, allocations: 3.81 MB / 0.7969 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.7018, allocations: 0.9808 MB / 0.7978 GB, free: 64 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005777/0.7075, allocations: 1.982 MB / 0.7997 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00329/0.7108, allocations: 1.197 MB / 0.8009 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004277/0.7113, allocations: 106.8 kB / 0.801 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.7154, allocations: 1.043 MB / 0.802 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006311/0.716, allocations: 403.6 kB / 0.8024 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.7176, allocations: 0.7051 MB / 0.8031 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005529/0.7231, allocations: 2.425 MB / 0.8055 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.7232, allocations: 1.125 kB / 0.8055 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7232, allocations: 0 / 0.8055 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.786e-05/0.7232, allocations: 0 / 0.8055 GB, free: 12.83 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.004537/0.7277, allocations: 2.131 MB / 0.8076 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.7278, allocations: 9.812 kB / 0.8076 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/0.7314, allocations: 0.6659 MB / 0.8082 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.734, allocations: 1.088 MB / 0.8093 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.361e-05/0.7341, allocations: 80.02 kB / 0.8094 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.7342, allocations: 113.1 kB / 0.8095 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/0.7376, allocations: 1.501 MB / 0.8109 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.7376, allocations: 7.281 kB / 0.8109 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.7377, allocations: 44.41 kB / 0.811 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.7377, allocations: 28.66 kB / 0.811 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003665/0.7414, allocations: 1.239 MB / 0.8122 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009421/0.7508, allocations: 6.416 MB / 0.8185 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/0.7542, allocations: 1.065 MB / 0.8195 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.7558, allocations: 0.5355 MB / 0.82 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.7568, allocations: 285.4 kB / 0.8203 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001917/0.7587, allocations: 0.6823 MB / 0.821 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 3.346e-06/0.7587, allocations: 1.031 kB / 0.821 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.00544/0.7642, allocations: 1.805 MB / 0.8227 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.7642, allocations: 60.84 kB / 0.8228 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.7661, allocations: 1.407 MB / 0.8242 GB, free: 244 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.544e-05/0.7662, allocations: 47.58 kB / 0.8242 GB, free: 196 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007329/0.7669, allocations: 0.8143 MB / 0.825 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.7673, allocations: 308.6 kB / 0.8253 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003317/0.7676, allocations: 228.6 kB / 0.8255 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.7678, allocations: 350.9 kB / 0.8259 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.7693, allocations: 0.5288 MB / 0.8264 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.7713, allocations: 1.13 MB / 0.8275 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003437/0.7747, allocations: 1.429 MB / 0.8289 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.7747, allocations: 3.188 kB / 0.8289 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004183/0.7789, allocations: 1.606 MB / 0.8305 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.779, allocations: 9 kB / 0.8305 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.779, allocations: 15.66 kB / 0.8305 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/0.779, allocations: 19.88 kB / 0.8305 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.7803, allocations: 345.7 kB / 0.8308 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-05/0.7804, allocations: 26.05 kB / 0.8308 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.7818, allocations: 205.8 kB / 0.831 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.7819, allocations: 70.8 kB / 0.8311 GB, free: 11.45 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.0006795/0.7826, allocations: 344.6 kB / 0.8314 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.7829, allocations: 166.1 kB / 0.8316 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004858/0.7878, allocations: 2.168 MB / 0.8337 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.728e-05/0.7878, allocations: 22.14 kB / 0.8337 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.7878, allocations: 7.875 kB / 0.8337 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.7878, allocations: 7.922 kB / 0.8338 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006807/0.7946, allocations: 3.126 MB / 0.8368 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/0.7946, allocations: 0 / 0.8368 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.7958, allocations: 239.8 kB / 0.837 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/0.7958, allocations: 7.938 kB / 0.837 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.7959, allocations: 39.97 kB / 0.8371 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.267e-05/0.796, allocations: 7.984 kB / 0.8371 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.796, allocations: 0 / 0.8371 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006708/0.8027, allocations: 2.81 MB / 0.8398 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009926/0.8037, allocations: 318.3 kB / 0.8401 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.8039, allocations: 24 kB / 0.8402 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.8049, allocations: 119.9 kB / 0.8403 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.8051, allocations: 84.84 kB / 0.8404 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.8052, allocations: 51.95 kB / 0.8404 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001459/0.8067, allocations: 0.9326 MB / 0.8413 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8067, allocations: 0 / 0.8413 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002149/0.8088, allocations: 0.5728 MB / 0.8419 GB, free: 1.816 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.002518/0.8113, allocations: 0.8419 MB / 0.8427 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004133/0.8155, allocations: 1.457 MB / 0.8441 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.8155, allocations: 0 / 0.8441 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.8175, allocations: 0.7832 MB / 0.8449 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/0.8205, allocations: 0.6089 MB / 0.8455 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006441/0.8269, allocations: 3.273 MB / 0.8487 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008188/0.8277, allocations: 0.7306 MB / 0.8494 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006378/0.8284, allocations: 175.3 kB / 0.8496 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of SimCode: time 1.442e-06/0.8284, allocations: 0 / 0.8496 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of Templates: time 0.0492/0.8775, allocations: 28.31 MB / 0.8772 GB, free: 13.96 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: 13.08057086309418] Failed to read output from testmodel.py, exit status != 0: 0.8869785401038826 0.9025880690000001 0.17593328700000002 Calling exit ...