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.653/1.653, allocations: 285.7 MB / 293.1 MB, free: 10.16 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.001457/0.001457, allocations: 168.9 kB / 361.4 MB, free: 6.828 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.802/1.802, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0009037/0.0009039, allocations: 99.14 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.452e-05, allocations: 4 kB / 0.8517 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7394/0.7394, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.928/5.667, allocations: 2.073 GB / 3.037 GB, free: 42.57 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/5.668, allocations: 92.62 kB / 3.037 GB, free: 42.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7293/6.397, allocations: 63.68 MB / 3.099 GB, free: 318.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.866e-06/6.397, allocations: 0.7031 kB / 3.099 GB, free: 318.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.595e-05/6.397, allocations: 27.41 kB / 3.099 GB, free: 318.4 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.001836/6.399, allocations: 1.085 MB / 3.1 GB, free: 317.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/6.399, allocations: 11.84 kB / 3.1 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008536/6.4, allocations: 188.8 kB / 3.101 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008942/6.401, allocations: 0.6365 MB / 3.101 GB, free: 317.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/6.401, allocations: 31.03 kB / 3.101 GB, free: 317.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-05/6.401, allocations: 42.22 kB / 3.101 GB, free: 317.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001334/6.402, allocations: 0.9799 MB / 3.102 GB, free: 317.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/6.403, allocations: 0.7206 MB / 3.103 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/6.403, allocations: 6.375 kB / 3.103 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.496e-05/6.403, allocations: 0.6094 kB / 3.103 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/6.403, allocations: 20.03 kB / 3.103 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00356/6.407, allocations: 2.305 MB / 3.105 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009853/6.408, allocations: 0.6709 MB / 3.106 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/6.408, allocations: 251.2 kB / 3.106 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/6.408, allocations: 111.3 kB / 3.106 GB, free: 316.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006188/6.409, allocations: 400.7 kB / 3.107 GB, free: 316.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.936e-06/6.409, allocations: 1.156 kB / 3.107 GB, free: 316.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001666/6.411, allocations: 0.6735 MB / 3.107 GB, free: 316.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/6.411, allocations: 241.5 kB / 3.108 GB, free: 316 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007103/6.412, allocations: 0.5365 MB / 3.108 GB, free: 315.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/6.412, allocations: 27.56 kB / 3.108 GB, free: 315.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/6.412, allocations: 405.5 kB / 3.108 GB, free: 315.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/6.412, allocations: 226.5 kB / 3.109 GB, free: 315.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/6.412, allocations: 2.062 kB / 3.109 GB, free: 315.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001278/6.412, allocations: 388.6 kB / 3.109 GB, free: 315.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/6.413, allocations: 194.3 kB / 3.109 GB, free: 315.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/6.413, allocations: 299.5 kB / 3.11 GB, free: 315.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/6.413, allocations: 252.8 kB / 3.11 GB, free: 315.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/6.413, allocations: 0 / 3.11 GB, free: 315.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001473/6.415, allocations: 0.6712 MB / 3.11 GB, free: 315 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/6.415, allocations: 5.719 kB / 3.11 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/6.415, allocations: 2.812 kB / 3.11 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/6.416, allocations: 88.69 kB / 3.11 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/6.416, allocations: 136.7 kB / 3.111 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/6.418, allocations: 1.473 MB / 3.112 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/6.418, allocations: 64.11 kB / 3.112 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/6.418, allocations: 30.2 kB / 3.112 GB, free: 313.8 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 () * 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.0001522/6.419, allocations: 118.2 kB / 3.112 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/6.419, allocations: 79.25 kB / 3.112 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/6.421, allocations: 0.9184 MB / 3.113 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/6.421, allocations: 11.8 kB / 3.113 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/6.421, allocations: 1.219 kB / 3.113 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/6.421, allocations: 5.969 kB / 3.113 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/6.422, allocations: 0.7776 MB / 3.114 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/6.422, allocations: 4.594 kB / 3.114 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/6.422, allocations: 148.4 kB / 3.114 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004704/6.423, allocations: 87.12 kB / 3.114 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/6.423, allocations: 17.5 kB / 3.114 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/6.424, allocations: 1.485 MB / 3.116 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/6.424, allocations: 7.109 kB / 3.116 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/6.426, allocations: 0.7769 MB / 3.116 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/6.426, allocations: 291.1 kB / 3.117 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/6.427, allocations: 3.156 kB / 3.117 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/6.427, allocations: 55.98 kB / 3.117 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/6.427, allocations: 64.64 kB / 3.117 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/6.427, allocations: 31.48 kB / 3.117 GB, free: 311.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005668/6.428, allocations: 438.2 kB / 3.117 GB, free: 311.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/6.428, allocations: 0 / 3.117 GB, free: 311.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001107/6.429, allocations: 313.6 kB / 3.118 GB, free: 311.6 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) * 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.001864/6.431, allocations: 1.078 MB / 3.119 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001245/6.432, allocations: 0.654 MB / 3.119 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/6.432, allocations: 2.281 kB / 3.119 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007291/6.433, allocations: 455.2 kB / 3.12 GB, free: 311.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/6.434, allocations: 237.8 kB / 3.12 GB, free: 311.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/6.438, allocations: 1.32 MB / 3.121 GB, free: 310.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/6.438, allocations: 1.036 MB / 3.122 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009672/6.439, allocations: 257 kB / 3.123 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/6.44, allocations: 93.12 kB / 3.123 GB, free: 310.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.753e-06/6.44, allocations: 0 / 3.123 GB, free: 310.1 MB / 0.948 GB Notification: Performance of Templates: time 0.03172/6.471, allocations: 15.76 MB / 3.138 GB, free: 308.8 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)