Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.443/2.443, allocations: 284.8 MB / 297.3 MB, free: 6.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002075/0.002075, allocations: 184.9 kB / 365.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.2 MB / 0.6241 GB, free: 8.188 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001136, allocations: 92.66 kB / 0.7372 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.36e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8056/0.8057, allocations: 115.2 MB / 0.97 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.988/6.794, allocations: 2.073 GB / 3.043 GB, free: 23.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/6.794, allocations: 89.27 kB / 3.043 GB, free: 23.85 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8778/7.672, allocations: 65.38 MB / 3.107 GB, free: 327.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.325e-06/7.672, allocations: 4 kB / 3.107 GB, free: 327.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001056/7.672, allocations: 25.41 kB / 3.107 GB, free: 327.3 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.002653/7.675, allocations: 1.09 MB / 3.108 GB, free: 326.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/7.675, allocations: 9.031 kB / 3.108 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/7.677, allocations: 193.5 kB / 3.108 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/7.678, allocations: 0.6276 MB / 3.109 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.809e-05/7.679, allocations: 57.81 kB / 3.109 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/7.679, allocations: 86.45 kB / 3.109 GB, free: 326 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/7.681, allocations: 0.8262 MB / 3.11 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/7.681, allocations: 3.984 kB / 3.11 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/7.681, allocations: 35.72 kB / 3.11 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/7.681, allocations: 20.19 kB / 3.11 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/7.684, allocations: 1.03 MB / 3.111 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006293/7.69, allocations: 2.457 MB / 3.113 GB, free: 324 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/7.692, allocations: 0.7098 MB / 3.114 GB, free: 323.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006828/7.693, allocations: 270.6 kB / 3.114 GB, free: 323.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/7.693, allocations: 124.7 kB / 3.115 GB, free: 323.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009917/7.694, allocations: 409.8 kB / 3.115 GB, free: 323.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 4.368e-06/7.694, allocations: 0 / 3.115 GB, free: 323.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002848/7.697, allocations: 0.717 MB / 3.116 GB, free: 323.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.015e-05/7.697, allocations: 244.6 kB / 3.116 GB, free: 322.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/7.698, allocations: 0.602 MB / 3.116 GB, free: 322.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/7.698, allocations: 38.48 kB / 3.116 GB, free: 322.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/7.699, allocations: 400.1 kB / 3.117 GB, free: 322.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/7.699, allocations: 239.6 kB / 3.117 GB, free: 322 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/7.699, allocations: 14.84 kB / 3.117 GB, free: 322 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001467/7.699, allocations: 389.2 kB / 3.117 GB, free: 321.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/7.7, allocations: 205.8 kB / 3.118 GB, free: 321.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007309/7.701, allocations: 316 kB / 3.118 GB, free: 321.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006968/7.701, allocations: 259.6 kB / 3.118 GB, free: 321.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/7.701, allocations: 0.875 kB / 3.118 GB, free: 321.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002713/7.704, allocations: 0.7058 MB / 3.119 GB, free: 321 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/7.704, allocations: 6.312 kB / 3.119 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/7.704, allocations: 1.094 kB / 3.119 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009939/7.705, allocations: 87.64 kB / 3.119 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/7.706, allocations: 139.4 kB / 3.119 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/7.709, allocations: 1.523 MB / 3.121 GB, free: 319.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/7.71, allocations: 87.5 kB / 3.121 GB, free: 319.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/7.711, allocations: 24.89 kB / 3.121 GB, free: 319.5 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.0002709/7.711, allocations: 156 kB / 3.121 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/7.711, allocations: 86.06 kB / 3.121 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/7.715, allocations: 0.9788 MB / 3.122 GB, free: 318.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/7.715, allocations: 8.25 kB / 3.122 GB, free: 318.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/7.715, allocations: 1.156 kB / 3.122 GB, free: 318.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/7.715, allocations: 3.469 kB / 3.122 GB, free: 318.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/7.716, allocations: 0.8946 MB / 3.123 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/7.716, allocations: 0 / 3.123 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/7.718, allocations: 144.8 kB / 3.123 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008818/7.719, allocations: 84.45 kB / 3.123 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/7.719, allocations: 27.66 kB / 3.123 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/7.721, allocations: 1.553 MB / 3.125 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/7.721, allocations: 5.188 kB / 3.125 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/7.724, allocations: 0.8174 MB / 3.125 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006603/7.725, allocations: 288.7 kB / 3.126 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/7.725, allocations: 16.84 kB / 3.126 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/7.726, allocations: 70.17 kB / 3.126 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/7.726, allocations: 56.16 kB / 3.126 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.693e-05/7.726, allocations: 35.08 kB / 3.126 GB, free: 316.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009953/7.727, allocations: 0.4906 MB / 3.126 GB, free: 316.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/7.727, allocations: 1.125 kB / 3.126 GB, free: 316.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001743/7.729, allocations: 350.9 kB / 3.127 GB, free: 316 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.002719/7.732, allocations: 1.03 MB / 3.128 GB, free: 315.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002412/7.734, allocations: 0.6948 MB / 3.128 GB, free: 315.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/7.734, allocations: 5.312 kB / 3.128 GB, free: 315.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/7.736, allocations: 474.8 kB / 3.129 GB, free: 315.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/7.738, allocations: 257 kB / 3.129 GB, free: 315.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005702/7.744, allocations: 1.369 MB / 3.13 GB, free: 314.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/7.744, allocations: 1.036 MB / 3.131 GB, free: 313.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001578/7.746, allocations: 257.7 kB / 3.132 GB, free: 313.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000417/7.746, allocations: 94.81 kB / 3.132 GB, free: 313.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.363e-06/7.746, allocations: 0 / 3.132 GB, free: 313.7 MB / 0.948 GB Notification: Performance of Templates: time 0.05264/7.799, allocations: 22.59 MB / 3.154 GB, free: 304.1 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)