Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 293 MB / 309 MB, free: 4.793 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.001091/0.001091, allocations: 176.5 kB / 378.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.4 MB / 0.6383 GB, free: 8.152 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009659/0.0009657, allocations: 93.44 kB / 0.7527 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004313, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.322, allocations: 116.4 MB / 0.9904 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.979/6.301, allocations: 2.075 GB / 3.065 GB, free: 141.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004233/6.301, allocations: 99.94 kB / 3.065 GB, free: 141.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1423/6.444, allocations: 65.59 MB / 3.129 GB, free: 76 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.086e-06/6.444, allocations: 0 / 3.129 GB, free: 76 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001128/6.444, allocations: 24 kB / 3.129 GB, free: 75.98 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.003063/6.447, allocations: 1.207 MB / 3.13 GB, free: 74.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/6.447, allocations: 12.03 kB / 3.13 GB, free: 74.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/6.448, allocations: 191.4 kB / 3.131 GB, free: 74.52 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/6.45, allocations: 0.6596 MB / 3.131 GB, free: 73.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.44e-05/6.45, allocations: 58.38 kB / 3.131 GB, free: 73.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/6.45, allocations: 76.38 kB / 3.131 GB, free: 73.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/6.452, allocations: 0.8682 MB / 3.132 GB, free: 72.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/6.452, allocations: 192 / 3.132 GB, free: 72.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.717e-05/6.452, allocations: 35.94 kB / 3.132 GB, free: 72.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/6.452, allocations: 20 kB / 3.132 GB, free: 72.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/6.453, allocations: 1.096 MB / 3.133 GB, free: 71.62 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/6.457, allocations: 2.47 MB / 3.136 GB, free: 69.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/6.458, allocations: 0.7533 MB / 3.136 GB, free: 68.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/6.458, allocations: 290.7 kB / 3.137 GB, free: 68.03 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/6.459, allocations: 113.8 kB / 3.137 GB, free: 67.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006616/6.459, allocations: 454.5 kB / 3.137 GB, free: 67.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.995e-06/6.459, allocations: 0 / 3.137 GB, free: 67.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002725/6.462, allocations: 1.155 MB / 3.138 GB, free: 66.26 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.899e-05/6.462, allocations: 243.9 kB / 3.139 GB, free: 65.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008129/6.463, allocations: 0.6995 MB / 3.139 GB, free: 65.27 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/6.463, allocations: 37.7 kB / 3.139 GB, free: 65.22 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/6.463, allocations: 396.4 kB / 3.14 GB, free: 64.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/6.463, allocations: 244.4 kB / 3.14 GB, free: 64.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/6.463, allocations: 16 kB / 3.14 GB, free: 64.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001229/6.464, allocations: 386.8 kB / 3.14 GB, free: 64.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/6.464, allocations: 229.2 kB / 3.141 GB, free: 63.96 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/6.464, allocations: 343.6 kB / 3.141 GB, free: 63.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008585/6.465, allocations: 0.5581 MB / 3.141 GB, free: 63.03 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/6.465, allocations: 0 / 3.141 GB, free: 63.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001602/6.467, allocations: 0.7549 MB / 3.142 GB, free: 62.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/6.467, allocations: 4 kB / 3.142 GB, free: 62.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/6.467, allocations: 7.938 kB / 3.142 GB, free: 62.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006046/6.468, allocations: 84.83 kB / 3.142 GB, free: 62.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/6.468, allocations: 139.8 kB / 3.142 GB, free: 62.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/6.47, allocations: 1.539 MB / 3.144 GB, free: 60.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006827/6.471, allocations: 75.53 kB / 3.144 GB, free: 60.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.04e-05/6.471, allocations: 31.97 kB / 3.144 GB, free: 60.24 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.0005854/6.472, allocations: 257.7 kB / 3.144 GB, free: 59.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/6.472, allocations: 82.97 kB / 3.144 GB, free: 59.89 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/6.474, allocations: 1.018 MB / 3.145 GB, free: 58.86 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/6.474, allocations: 12 kB / 3.145 GB, free: 58.85 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/6.474, allocations: 3.938 kB / 3.145 GB, free: 58.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/6.474, allocations: 7.969 kB / 3.145 GB, free: 58.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/6.475, allocations: 0.9072 MB / 3.146 GB, free: 57.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/6.475, allocations: 8 kB / 3.146 GB, free: 57.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/6.476, allocations: 143.8 kB / 3.146 GB, free: 57.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/6.476, allocations: 80.78 kB / 3.146 GB, free: 57.65 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/6.476, allocations: 27.97 kB / 3.146 GB, free: 57.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/6.478, allocations: 1.552 MB / 3.148 GB, free: 55.93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/6.478, allocations: 4.062 kB / 3.148 GB, free: 55.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/6.48, allocations: 0.8848 MB / 3.149 GB, free: 55.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005041/6.48, allocations: 291.7 kB / 3.149 GB, free: 54.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/6.48, allocations: 20.06 kB / 3.149 GB, free: 54.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005916/6.481, allocations: 67.95 kB / 3.149 GB, free: 54.63 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/6.481, allocations: 60.91 kB / 3.149 GB, free: 54.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/6.481, allocations: 27.98 kB / 3.149 GB, free: 54.54 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007598/6.482, allocations: 0.499 MB / 3.15 GB, free: 54.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/6.482, allocations: 0 / 3.15 GB, free: 54.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001357/6.483, allocations: 339.3 kB / 3.15 GB, free: 53.71 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.002447/6.486, allocations: 1.057 MB / 3.151 GB, free: 52.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001799/6.488, allocations: 0.7625 MB / 3.152 GB, free: 52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/6.488, allocations: 0 / 3.152 GB, free: 52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009136/6.489, allocations: 0.4926 MB / 3.152 GB, free: 51.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/6.49, allocations: 275.2 kB / 3.153 GB, free: 51.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/6.495, allocations: 2.192 MB / 3.155 GB, free: 49.01 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008491/6.496, allocations: 1.007 MB / 3.156 GB, free: 47.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001168/6.497, allocations: 250.1 kB / 3.156 GB, free: 47.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/6.497, allocations: 99.38 kB / 3.156 GB, free: 47.63 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/6.497, allocations: 0 / 3.156 GB, free: 47.63 MB / 0.948 GB Notification: Performance of Templates: time 0.03452/6.532, allocations: 21.02 MB / 3.177 GB, free: 26.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)