Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.739/1.739, allocations: 288.3 MB / 303.2 MB, free: 8.191 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.001195/0.001195, allocations: 177.1 kB / 371.8 MB, free: 10.3 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.845/1.845, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0008724/0.0008726, allocations: 115.5 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005273/0.0005273, allocations: 15.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2607, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.199/6.46, allocations: 2.073 GB / 3.053 GB, free: 207.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/6.46, allocations: 98.8 kB / 3.053 GB, free: 207.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1508/6.611, allocations: 65.68 MB / 3.117 GB, free: 151.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.45e-06/6.611, allocations: 0 / 3.117 GB, free: 151.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001041/6.611, allocations: 24 kB / 3.117 GB, free: 151.1 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.002781/6.614, allocations: 1.214 MB / 3.118 GB, free: 149.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/6.614, allocations: 12.02 kB / 3.118 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009956/6.615, allocations: 198.4 kB / 3.119 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/6.616, allocations: 0.6316 MB / 3.119 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/6.616, allocations: 58 kB / 3.119 GB, free: 148.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.827e-05/6.616, allocations: 80 kB / 3.119 GB, free: 148.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/6.618, allocations: 0.8637 MB / 3.12 GB, free: 147.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/6.618, allocations: 3.938 kB / 3.12 GB, free: 147.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/6.618, allocations: 40 kB / 3.12 GB, free: 147.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/6.618, allocations: 16 kB / 3.12 GB, free: 147.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/6.62, allocations: 1.093 MB / 3.121 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003965/6.624, allocations: 2.465 MB / 3.124 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/6.625, allocations: 0.7533 MB / 3.124 GB, free: 143.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/6.625, allocations: 113.8 kB / 3.124 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007685/6.626, allocations: 443.2 kB / 3.125 GB, free: 142.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 4.358e-06/6.626, allocations: 0 / 3.125 GB, free: 142.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.003352/6.629, allocations: 1.156 MB / 3.126 GB, free: 141.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/6.629, allocations: 244 kB / 3.126 GB, free: 141.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009991/6.63, allocations: 0.6168 MB / 3.127 GB, free: 140.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/6.631, allocations: 37.7 kB / 3.127 GB, free: 140.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/6.631, allocations: 400.3 kB / 3.127 GB, free: 140.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/6.631, allocations: 244.5 kB / 3.128 GB, free: 140.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/6.631, allocations: 8 kB / 3.128 GB, free: 140.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001873/6.631, allocations: 386.8 kB / 3.128 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/6.632, allocations: 229.2 kB / 3.128 GB, free: 139.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/6.632, allocations: 347.6 kB / 3.128 GB, free: 139.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/6.633, allocations: 279.1 kB / 3.129 GB, free: 138.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/6.633, allocations: 0 / 3.129 GB, free: 138.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001814/6.635, allocations: 0.7626 MB / 3.129 GB, free: 138.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/6.635, allocations: 11.95 kB / 3.129 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/6.635, allocations: 0 / 3.129 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006933/6.636, allocations: 84.8 kB / 3.13 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/6.636, allocations: 139.8 kB / 3.13 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/6.639, allocations: 1.552 MB / 3.131 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007286/6.639, allocations: 75.53 kB / 3.131 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/6.639, allocations: 31.97 kB / 3.131 GB, free: 136 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.0006595/6.64, allocations: 255.6 kB / 3.132 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/6.64, allocations: 86.92 kB / 3.132 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/6.642, allocations: 1.03 MB / 3.133 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/6.643, allocations: 12 kB / 3.133 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/6.643, allocations: 3.984 kB / 3.133 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/6.643, allocations: 3.984 kB / 3.133 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/6.644, allocations: 0.9071 MB / 3.134 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/6.644, allocations: 4 kB / 3.134 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/6.644, allocations: 147.8 kB / 3.134 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005217/6.645, allocations: 84.77 kB / 3.134 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/6.645, allocations: 23.98 kB / 3.134 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/6.647, allocations: 1.559 MB / 3.135 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/6.647, allocations: 0 / 3.135 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/6.649, allocations: 0.8849 MB / 3.136 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/6.649, allocations: 287.7 kB / 3.136 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/6.649, allocations: 16 kB / 3.136 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005349/6.65, allocations: 72 kB / 3.137 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/6.65, allocations: 68.86 kB / 3.137 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/6.65, allocations: 31.98 kB / 3.137 GB, free: 130.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006833/6.651, allocations: 0.4912 MB / 3.137 GB, free: 129.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.4e-07/6.651, allocations: 4 kB / 3.137 GB, free: 129.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001214/6.652, allocations: 343.1 kB / 3.137 GB, free: 129.5 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.002412/6.654, allocations: 1.062 MB / 3.138 GB, free: 128.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001602/6.656, allocations: 0.7556 MB / 3.139 GB, free: 127.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/6.656, allocations: 0 / 3.139 GB, free: 127.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007849/6.657, allocations: 0.5003 MB / 3.14 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/6.658, allocations: 250.2 kB / 3.14 GB, free: 127 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/6.663, allocations: 2.189 MB / 3.142 GB, free: 124.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/6.663, allocations: 1.039 MB / 3.143 GB, free: 123.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009941/6.664, allocations: 258 kB / 3.143 GB, free: 123.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/6.665, allocations: 91.39 kB / 3.143 GB, free: 123.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.983e-06/6.665, allocations: 0 / 3.143 GB, free: 123.4 MB / 0.948 GB Notification: Performance of Templates: time 0.03427/6.699, allocations: 20.8 MB / 3.164 GB, free: 102.7 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)