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.432/2.432, allocations: 285 MB / 292.5 MB, free: 10.51 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.001477/0.001477, allocations: 184.8 kB / 360.7 MB, free: 7.23 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.943/1.943, allocations: 205.3 MB / 0.6192 GB, free: 12.15 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.001149/0.001149, allocations: 98.11 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.871e-05, allocations: 4 kB / 0.8509 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7983/0.7983, allocations: 115.2 MB / 0.9634 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.976/6.774, allocations: 2.073 GB / 3.036 GB, free: 46.39 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/6.774, allocations: 90.3 kB / 3.036 GB, free: 46.35 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8619/7.636, allocations: 63.68 MB / 3.098 GB, free: 318.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.863e-06/7.636, allocations: 0 / 3.098 GB, free: 318.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000119/7.637, allocations: 27.22 kB / 3.098 GB, free: 318.5 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.003274/7.64, allocations: 1.087 MB / 3.099 GB, free: 317.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/7.64, allocations: 8.812 kB / 3.099 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/7.642, allocations: 194 kB / 3.1 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/7.644, allocations: 0.6334 MB / 3.1 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/7.644, allocations: 26.27 kB / 3.1 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/7.644, allocations: 45.22 kB / 3.1 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002871/7.647, allocations: 0.9837 MB / 3.101 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/7.649, allocations: 0.7223 MB / 3.102 GB, free: 317.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/7.649, allocations: 0 / 3.102 GB, free: 317.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/7.649, allocations: 2.031 kB / 3.102 GB, free: 317.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/7.649, allocations: 19.06 kB / 3.102 GB, free: 317.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006702/7.656, allocations: 2.318 MB / 3.104 GB, free: 316.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/7.658, allocations: 0.6608 MB / 3.105 GB, free: 316.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/7.658, allocations: 252.1 kB / 3.105 GB, free: 316.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002707/7.658, allocations: 111.6 kB / 3.105 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000875/7.659, allocations: 398.4 kB / 3.106 GB, free: 316.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.056e-06/7.659, allocations: 0 / 3.106 GB, free: 316.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002747/7.662, allocations: 0.6794 MB / 3.106 GB, free: 316.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/7.662, allocations: 241.1 kB / 3.106 GB, free: 316.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/7.663, allocations: 0.5353 MB / 3.107 GB, free: 316.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002633/7.664, allocations: 30.61 kB / 3.107 GB, free: 316.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/7.664, allocations: 403.7 kB / 3.107 GB, free: 315.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/7.665, allocations: 227.8 kB / 3.108 GB, free: 315.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/7.665, allocations: 0 / 3.108 GB, free: 315.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.00017/7.665, allocations: 384.9 kB / 3.108 GB, free: 315.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/7.665, allocations: 197.5 kB / 3.108 GB, free: 315.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/7.666, allocations: 298.3 kB / 3.108 GB, free: 315.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/7.667, allocations: 249.8 kB / 3.109 GB, free: 315.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/7.667, allocations: 3.062 kB / 3.109 GB, free: 315.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002735/7.669, allocations: 0.6655 MB / 3.109 GB, free: 315.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/7.67, allocations: 5.719 kB / 3.109 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/7.67, allocations: 0 / 3.109 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009921/7.671, allocations: 86.98 kB / 3.109 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/7.672, allocations: 144.4 kB / 3.11 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/7.674, allocations: 1.475 MB / 3.111 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/7.676, allocations: 59.89 kB / 3.111 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/7.676, allocations: 25.52 kB / 3.111 GB, free: 314 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.0002639/7.676, allocations: 130.3 kB / 3.111 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/7.676, allocations: 77.88 kB / 3.111 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/7.68, allocations: 0.9276 MB / 3.112 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/7.68, allocations: 11.19 kB / 3.112 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/7.68, allocations: 0 / 3.112 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/7.68, allocations: 5.109 kB / 3.112 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/7.682, allocations: 0.7704 MB / 3.113 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/7.682, allocations: 0 / 3.113 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/7.683, allocations: 150.5 kB / 3.113 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009142/7.684, allocations: 80.73 kB / 3.113 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/7.684, allocations: 18.33 kB / 3.113 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/7.687, allocations: 1.491 MB / 3.115 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/7.687, allocations: 0 / 3.115 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/7.69, allocations: 0.781 MB / 3.115 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008541/7.691, allocations: 290.5 kB / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/7.691, allocations: 2.766 kB / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/7.692, allocations: 58.3 kB / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/7.692, allocations: 61.44 kB / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/7.692, allocations: 30.52 kB / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008917/7.693, allocations: 441.5 kB / 3.116 GB, free: 311.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/7.693, allocations: 0 / 3.116 GB, free: 311.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001709/7.695, allocations: 312.6 kB / 3.117 GB, free: 311.9 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.002621/7.697, allocations: 1.077 MB / 3.118 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002137/7.7, allocations: 0.6553 MB / 3.118 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/7.7, allocations: 0 / 3.118 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/7.701, allocations: 461.9 kB / 3.119 GB, free: 311.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/7.703, allocations: 234.5 kB / 3.119 GB, free: 311.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005641/7.709, allocations: 1.325 MB / 3.12 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007778/7.709, allocations: 1.032 MB / 3.121 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001668/7.711, allocations: 256.4 kB / 3.121 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/7.712, allocations: 94.55 kB / 3.122 GB, free: 310.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.182e-06/7.712, allocations: 0 / 3.122 GB, free: 310.4 MB / 0.948 GB Notification: Performance of Templates: time 0.04904/7.761, allocations: 15.77 MB / 3.137 GB, free: 309 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)