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.001855/0.001855, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.002013/0.002013, allocations: 169.6 kB / 23.53 MB, free: 0.8906 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 1.543/1.543, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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.03/1.03, allocations: 115 MB / 375.3 MB, free: 7.602 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.493e-06/1.493e-06, allocations: 0 / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.51e-05, allocations: 2.312 kB / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06569/0.06572, allocations: 56.46 MB / 0.5247 GB, free: 15.89 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0191/0.08481, allocations: 10.69 MB / 0.5351 GB, free: 5.18 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.08723, allocations: 91.19 kB / 0.5352 GB, free: 5.09 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.08976, allocations: 0.9122 MB / 0.5361 GB, free: 4.172 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006311/0.09607, allocations: 2.128 MB / 0.5382 GB, free: 2.031 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005713/0.1018, allocations: 2.107 MB / 0.5402 GB, free: 15.92 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.006281/0.1081, allocations: 3.771 MB / 0.5439 GB, free: 12.14 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.11, allocations: 0.9959 MB / 0.5449 GB, free: 11.11 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005135/0.1151, allocations: 2.437 MB / 0.5473 GB, free: 8.668 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.1171, allocations: 1.063 MB / 0.5483 GB, free: 7.602 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.1173, allocations: 108 kB / 0.5484 GB, free: 7.496 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.1202, allocations: 1.06 MB / 0.5494 GB, free: 6.434 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005023/0.1207, allocations: 418.2 kB / 0.5498 GB, free: 6.023 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009177/0.1216, allocations: 0.5688 MB / 0.5504 GB, free: 5.453 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004087/0.1257, allocations: 2.43 MB / 0.5528 GB, free: 3.016 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.1257, allocations: 0 / 0.5528 GB, free: 3.016 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1257, allocations: 0 / 0.5528 GB, free: 3.016 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.494e-05/0.1257, allocations: 0 / 0.5528 GB, free: 3.016 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.004404/0.1302, allocations: 2.293 MB / 0.555 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1302, allocations: 8.031 kB / 0.555 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003464/0.1337, allocations: 0.6349 MB / 0.5556 GB, free: 20 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.1359, allocations: 1.121 MB / 0.5567 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.365e-05/0.136, allocations: 86.08 kB / 0.5568 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.1362, allocations: 108 kB / 0.5569 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.1393, allocations: 1.548 MB / 0.5584 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.1393, allocations: 3.938 kB / 0.5584 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.1394, allocations: 44 kB / 0.5585 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.1394, allocations: 35.98 kB / 0.5585 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.1424, allocations: 1.053 MB / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/0.1532, allocations: 8.418 MB / 0.5678 GB, free: 3.086 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.1562, allocations: 0.9035 MB / 0.5686 GB, free: 2.172 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.1575, allocations: 449.2 kB / 0.5691 GB, free: 1.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.1586, allocations: 286.2 kB / 0.5693 GB, free: 1.453 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001727/0.1603, allocations: 0.596 MB / 0.5699 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 3.477e-06/0.1603, allocations: 0 / 0.5699 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.004678/0.165, allocations: 1.534 MB / 0.5714 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.165, allocations: 64.34 kB / 0.5715 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.1672, allocations: 1.492 MB / 0.5729 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.1673, allocations: 45.7 kB / 0.573 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009431/0.1682, allocations: 0.9083 MB / 0.5739 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.1686, allocations: 325.4 kB / 0.5742 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004119/0.169, allocations: 248.5 kB / 0.5744 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003339/0.1693, allocations: 0.5472 MB / 0.575 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.1706, allocations: 430.3 kB / 0.5754 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.1728, allocations: 1.19 MB / 0.5765 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/0.1759, allocations: 1.381 MB / 0.5779 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.1759, allocations: 4 kB / 0.5779 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003957/0.1799, allocations: 1.461 MB / 0.5793 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.1799, allocations: 12 kB / 0.5793 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.1799, allocations: 8 kB / 0.5793 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.696e-05/0.18, allocations: 20 kB / 0.5793 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.1813, allocations: 312.1 kB / 0.5796 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.182e-05/0.1814, allocations: 27.88 kB / 0.5797 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.1826, allocations: 159.2 kB / 0.5798 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.1827, allocations: 67.91 kB / 0.5799 GB, free: 6.059 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.0006334/0.1833, allocations: 330.2 kB / 0.5802 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.1837, allocations: 191 kB / 0.5804 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.1882, allocations: 1.754 MB / 0.5821 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-05/0.1882, allocations: 23.98 kB / 0.5821 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1882, allocations: 0 / 0.5821 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.1883, allocations: 7.969 kB / 0.5821 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006515/0.1948, allocations: 2.891 MB / 0.585 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.1948, allocations: 8.188 kB / 0.585 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.1959, allocations: 191.7 kB / 0.5851 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.1959, allocations: 8 kB / 0.5852 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.992e-05/0.196, allocations: 43.91 kB / 0.5852 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.196, allocations: 11.94 kB / 0.5852 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.196, allocations: 0 / 0.5852 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005507/0.2015, allocations: 2.243 MB / 0.5874 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009539/0.2024, allocations: 306.3 kB / 0.5877 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.2026, allocations: 27.92 kB / 0.5877 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008793/0.2035, allocations: 79.92 kB / 0.5878 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.2037, allocations: 80.84 kB / 0.5879 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.2038, allocations: 47.97 kB / 0.5879 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00139/0.2052, allocations: 0.8774 MB / 0.5888 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.2052, allocations: 0 / 0.5888 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002003/0.2072, allocations: 0.5728 MB / 0.5893 GB, free: 12.28 MB / 0.5105 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.003865/0.2111, allocations: 0.8668 MB / 0.5902 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003665/0.2147, allocations: 1.222 MB / 0.5914 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2147, allocations: 0 / 0.5914 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.2165, allocations: 0.6528 MB / 0.592 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/0.2196, allocations: 0.6188 MB / 0.5926 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/0.2254, allocations: 2.871 MB / 0.5954 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008286/0.2262, allocations: 0.7147 MB / 0.5961 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001234/0.2274, allocations: 327.7 kB / 0.5964 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/0.2279, allocations: 160.3 kB / 0.5966 GB, free: 5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/0.2279, allocations: 4 kB / 0.5966 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of Templates: time 0.05699/0.2849, allocations: 30.11 MB / 0.626 GB, free: 7.594 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: 6.991686207009479]