Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.101/5.101, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002559/0.002559, allocations: 361.8 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.38/4.38, allocations: 410.7 MB / 1.113 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001798/0.001798, allocations: 191.8 kB / 1.226 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005064, allocations: 8 kB / 1.349 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.77, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.796/7.566, allocations: 2.073 GB / 3.535 GB, free: 278.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/7.567, allocations: 99.11 kB / 3.535 GB, free: 278.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2447/7.811, allocations: 65.44 MB / 3.599 GB, free: 262.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.515e-06/7.811, allocations: 0 / 3.599 GB, free: 262.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001049/7.812, allocations: 27.69 kB / 3.599 GB, free: 262.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.003324/7.815, allocations: 1.214 MB / 3.6 GB, free: 261.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/7.815, allocations: 15.31 kB / 3.6 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/7.816, allocations: 195.9 kB / 3.6 GB, free: 261.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/7.818, allocations: 0.6354 MB / 3.601 GB, free: 260.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/7.818, allocations: 60.94 kB / 3.601 GB, free: 260.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/7.819, allocations: 76.22 kB / 3.601 GB, free: 260.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/7.821, allocations: 0.8692 MB / 3.602 GB, free: 260.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/7.821, allocations: 0 / 3.602 GB, free: 260.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/7.821, allocations: 37.44 kB / 3.602 GB, free: 260.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/7.821, allocations: 23.39 kB / 3.602 GB, free: 260.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003097/7.824, allocations: 1.085 MB / 3.603 GB, free: 260.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006706/7.831, allocations: 2.473 MB / 3.605 GB, free: 258.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/7.833, allocations: 0.7518 MB / 3.606 GB, free: 258.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008139/7.834, allocations: 292.4 kB / 3.606 GB, free: 258.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/7.834, allocations: 117.2 kB / 3.606 GB, free: 258.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/7.836, allocations: 443.9 kB / 3.607 GB, free: 258.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.236e-06/7.836, allocations: 0 / 3.607 GB, free: 258.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.005517/7.841, allocations: 1.151 MB / 3.608 GB, free: 257.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/7.841, allocations: 244.3 kB / 3.608 GB, free: 257.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/7.843, allocations: 0.6921 MB / 3.609 GB, free: 257.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002351/7.843, allocations: 37.42 kB / 3.609 GB, free: 257.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/7.843, allocations: 402 kB / 3.609 GB, free: 257.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/7.844, allocations: 237.9 kB / 3.609 GB, free: 257 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/7.844, allocations: 13.66 kB / 3.609 GB, free: 257 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001633/7.844, allocations: 386.1 kB / 3.61 GB, free: 256.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008466/7.845, allocations: 241.5 kB / 3.61 GB, free: 256.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009067/7.846, allocations: 337.9 kB / 3.61 GB, free: 256.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009793/7.847, allocations: 279.2 kB / 3.611 GB, free: 256.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/7.847, allocations: 0.5625 kB / 3.611 GB, free: 256.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003279/7.85, allocations: 0.765 MB / 3.611 GB, free: 256.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/7.85, allocations: 5.188 kB / 3.611 GB, free: 256.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/7.85, allocations: 0.8281 kB / 3.611 GB, free: 256.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/7.851, allocations: 88.61 kB / 3.611 GB, free: 256.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/7.853, allocations: 139 kB / 3.612 GB, free: 256.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/7.855, allocations: 1.536 MB / 3.613 GB, free: 254.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/7.857, allocations: 78.23 kB / 3.613 GB, free: 254.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/7.857, allocations: 28.92 kB / 3.613 GB, free: 254.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 () * 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.0008511/7.858, allocations: 264.8 kB / 3.613 GB, free: 254.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003952/7.858, allocations: 82.84 kB / 3.614 GB, free: 254.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004368/7.863, allocations: 1.026 MB / 3.615 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/7.863, allocations: 8.406 kB / 3.615 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/7.863, allocations: 0 / 3.615 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/7.863, allocations: 5.203 kB / 3.615 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/7.865, allocations: 0.9018 MB / 3.615 GB, free: 253.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/7.865, allocations: 4 kB / 3.615 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/7.866, allocations: 150.7 kB / 3.616 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009627/7.867, allocations: 88.83 kB / 3.616 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/7.868, allocations: 21.61 kB / 3.616 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/7.87, allocations: 1.56 MB / 3.617 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/7.87, allocations: 4.062 kB / 3.617 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/7.874, allocations: 0.8685 MB / 3.618 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009805/7.875, allocations: 294.3 kB / 3.618 GB, free: 252 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/7.875, allocations: 21.98 kB / 3.618 GB, free: 252 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/7.877, allocations: 69.56 kB / 3.618 GB, free: 251.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/7.877, allocations: 59.28 kB / 3.618 GB, free: 251.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/7.877, allocations: 34.36 kB / 3.619 GB, free: 251.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001077/7.878, allocations: 0.4952 MB / 3.619 GB, free: 251.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/7.878, allocations: 3.906 kB / 3.619 GB, free: 251.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002027/7.88, allocations: 348.6 kB / 3.619 GB, free: 251.7 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.002878/7.883, allocations: 1.047 MB / 3.62 GB, free: 251.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002699/7.886, allocations: 0.7565 MB / 3.621 GB, free: 250.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/7.886, allocations: 128 / 3.621 GB, free: 250.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/7.887, allocations: 0.4985 MB / 3.622 GB, free: 250.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/7.89, allocations: 264.7 kB / 3.622 GB, free: 250.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007425/7.897, allocations: 2.2 MB / 3.624 GB, free: 249.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008388/7.898, allocations: 1.035 MB / 3.625 GB, free: 248.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001691/7.9, allocations: 254 kB / 3.625 GB, free: 248.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/7.9, allocations: 95.39 kB / 3.625 GB, free: 248.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.212e-06/7.9, allocations: 0 / 3.625 GB, free: 248.5 MB / 0.948 GB Notification: Performance of Templates: time 0.04938/7.95, allocations: 20.83 MB / 3.646 GB, free: 228.4 MB / 0.948 GB