Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.523/2.523, allocations: 287.5 MB / 303.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 186.1 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009756/0.0009753, allocations: 95.48 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006503/0.0006506, allocations: 14.81 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2304, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.614/6.845, allocations: 2.073 GB / 3.053 GB, free: 247 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/6.845, allocations: 99.94 kB / 3.053 GB, free: 246.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2345/7.08, allocations: 65.58 MB / 3.117 GB, free: 181.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.226e-06/7.08, allocations: 0 / 3.117 GB, free: 181.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.598e-05/7.08, allocations: 31.92 kB / 3.117 GB, free: 181 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002825/7.083, allocations: 1.203 MB / 3.118 GB, free: 179.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/7.083, allocations: 8.031 kB / 3.118 GB, free: 179.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/7.084, allocations: 195.4 kB / 3.118 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/7.085, allocations: 0.6557 MB / 3.119 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/7.086, allocations: 62.36 kB / 3.119 GB, free: 178.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/7.086, allocations: 80.31 kB / 3.119 GB, free: 178.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/7.089, allocations: 0.8721 MB / 3.12 GB, free: 177.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.9e-05/7.089, allocations: 192 / 3.12 GB, free: 177.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/7.089, allocations: 35.94 kB / 3.12 GB, free: 177.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/7.089, allocations: 20 kB / 3.12 GB, free: 177.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004977/7.094, allocations: 1.085 MB / 3.121 GB, free: 176.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00781/7.102, allocations: 2.468 MB / 3.123 GB, free: 174.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/7.104, allocations: 0.7533 MB / 3.124 GB, free: 173.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008121/7.105, allocations: 310.6 kB / 3.124 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/7.105, allocations: 113.8 kB / 3.125 GB, free: 172.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/7.106, allocations: 439.3 kB / 3.125 GB, free: 172.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.677e-06/7.106, allocations: 4 kB / 3.125 GB, free: 172.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.004888/7.111, allocations: 1.151 MB / 3.126 GB, free: 171.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/7.111, allocations: 244 kB / 3.126 GB, free: 171 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/7.113, allocations: 0.6918 MB / 3.127 GB, free: 170.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/7.113, allocations: 41.7 kB / 3.127 GB, free: 170.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/7.113, allocations: 396.4 kB / 3.127 GB, free: 169.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/7.113, allocations: 252.3 kB / 3.128 GB, free: 169.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/7.114, allocations: 8 kB / 3.128 GB, free: 169.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001408/7.114, allocations: 386.8 kB / 3.128 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007687/7.114, allocations: 233.2 kB / 3.128 GB, free: 169 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008389/7.115, allocations: 351.6 kB / 3.129 GB, free: 168.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/7.117, allocations: 0.5503 MB / 3.129 GB, free: 168.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/7.117, allocations: 0 / 3.129 GB, free: 168.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002952/7.12, allocations: 0.7548 MB / 3.13 GB, free: 167.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/7.12, allocations: 11.98 kB / 3.13 GB, free: 167.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/7.12, allocations: 3.938 kB / 3.13 GB, free: 167.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009592/7.121, allocations: 80.84 kB / 3.13 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/7.122, allocations: 143.8 kB / 3.13 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/7.125, allocations: 1.525 MB / 3.132 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/7.126, allocations: 87.58 kB / 3.132 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.863e-05/7.126, allocations: 23.98 kB / 3.132 GB, free: 165.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006327/7.127, allocations: 259.1 kB / 3.132 GB, free: 165 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/7.127, allocations: 82.95 kB / 3.132 GB, free: 165 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/7.13, allocations: 1.026 MB / 3.133 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/7.131, allocations: 8 kB / 3.133 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/7.131, allocations: 3.984 kB / 3.133 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/7.131, allocations: 7.922 kB / 3.133 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/7.132, allocations: 0.9072 MB / 3.134 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/7.132, allocations: 0 / 3.134 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/7.133, allocations: 143.8 kB / 3.134 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008587/7.134, allocations: 84.77 kB / 3.134 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.16e-05/7.134, allocations: 23.98 kB / 3.134 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/7.136, allocations: 1.567 MB / 3.136 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/7.137, allocations: 0 / 3.136 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/7.139, allocations: 0.881 MB / 3.137 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005646/7.14, allocations: 291.7 kB / 3.137 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/7.14, allocations: 16 kB / 3.137 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009659/7.141, allocations: 75.88 kB / 3.137 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/7.141, allocations: 60.86 kB / 3.137 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/7.142, allocations: 31.97 kB / 3.137 GB, free: 159.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008964/7.142, allocations: 0.4951 MB / 3.137 GB, free: 159.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.7e-07/7.142, allocations: 0 / 3.137 GB, free: 159.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001476/7.144, allocations: 339.3 kB / 3.138 GB, free: 158.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002423/7.146, allocations: 1.052 MB / 3.139 GB, free: 157.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002416/7.149, allocations: 0.7595 MB / 3.14 GB, free: 157.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/7.149, allocations: 0 / 3.14 GB, free: 157.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/7.15, allocations: 0.5002 MB / 3.14 GB, free: 156.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/7.152, allocations: 276.6 kB / 3.14 GB, free: 156.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006177/7.159, allocations: 2.185 MB / 3.142 GB, free: 154.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/7.159, allocations: 1.015 MB / 3.143 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00145/7.161, allocations: 262 kB / 3.144 GB, free: 152.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/7.161, allocations: 95.39 kB / 3.144 GB, free: 152.7 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/7.161, allocations: 4 kB / 3.144 GB, free: 152.7 MB / 0.948 GB Notification: Performance of Templates: time 0.04917/7.21, allocations: 20.86 MB / 3.164 GB, free: 132 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)