Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.00118/0.00118, allocations: 180.8 kB / 371.6 MB, free: 3.363 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.951/1.951, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.001034/0.001035, allocations: 88.83 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.035e-05/4.043e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3192, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.36/6.679, allocations: 2.074 GB / 3.054 GB, free: 121.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/6.679, allocations: 92.52 kB / 3.054 GB, free: 121.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1378/6.817, allocations: 65.38 MB / 3.118 GB, free: 63.68 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.984e-06/6.817, allocations: 0 / 3.118 GB, free: 63.68 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.136e-05/6.817, allocations: 23.94 kB / 3.118 GB, free: 63.66 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.001598/6.819, allocations: 1.081 MB / 3.119 GB, free: 62.53 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/6.819, allocations: 12.03 kB / 3.119 GB, free: 62.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007853/6.82, allocations: 194.4 kB / 3.119 GB, free: 62.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008657/6.82, allocations: 0.6355 MB / 3.12 GB, free: 61.65 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/6.821, allocations: 58 kB / 3.12 GB, free: 61.59 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.848e-05/6.821, allocations: 72 kB / 3.12 GB, free: 61.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/6.822, allocations: 0.8288 MB / 3.121 GB, free: 60.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/6.822, allocations: 0.5625 kB / 3.121 GB, free: 60.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.951e-05/6.822, allocations: 32 kB / 3.121 GB, free: 60.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/6.822, allocations: 20 kB / 3.121 GB, free: 60.61 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/6.823, allocations: 1.038 MB / 3.122 GB, free: 59.56 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003064/6.826, allocations: 2.462 MB / 3.124 GB, free: 57.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000884/6.827, allocations: 0.7115 MB / 3.125 GB, free: 56.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/6.827, allocations: 270 kB / 3.125 GB, free: 56.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/6.828, allocations: 113.9 kB / 3.125 GB, free: 55.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00052/6.828, allocations: 421.4 kB / 3.126 GB, free: 55.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 1.734e-06/6.828, allocations: 0 / 3.126 GB, free: 55.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001479/6.83, allocations: 0.712 MB / 3.127 GB, free: 54.78 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/6.83, allocations: 240.1 kB / 3.127 GB, free: 54.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/6.83, allocations: 0.6053 MB / 3.127 GB, free: 53.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/6.83, allocations: 41.7 kB / 3.127 GB, free: 53.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/6.831, allocations: 396.3 kB / 3.128 GB, free: 53.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/6.831, allocations: 252.4 kB / 3.128 GB, free: 53.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/6.831, allocations: 12 kB / 3.128 GB, free: 53.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001034/6.831, allocations: 386.8 kB / 3.128 GB, free: 52.79 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/6.831, allocations: 201.5 kB / 3.129 GB, free: 52.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/6.832, allocations: 317 kB / 3.129 GB, free: 52.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/6.832, allocations: 258 kB / 3.129 GB, free: 52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/6.832, allocations: 0 / 3.129 GB, free: 52 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001312/6.833, allocations: 0.7109 MB / 3.13 GB, free: 51.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/6.833, allocations: 7.984 kB / 3.13 GB, free: 51.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/6.833, allocations: 0 / 3.13 GB, free: 51.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005869/6.834, allocations: 80.84 kB / 3.13 GB, free: 51.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/6.834, allocations: 143.8 kB / 3.13 GB, free: 51.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/6.836, allocations: 1.52 MB / 3.132 GB, free: 49.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/6.837, allocations: 91.61 kB / 3.132 GB, free: 49.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/6.837, allocations: 31.98 kB / 3.132 GB, free: 49.26 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.000148/6.837, allocations: 144.8 kB / 3.132 GB, free: 49.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/6.837, allocations: 83.02 kB / 3.132 GB, free: 49.03 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/6.839, allocations: 0.9697 MB / 3.133 GB, free: 48.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/6.839, allocations: 8 kB / 3.133 GB, free: 48.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/6.839, allocations: 0 / 3.133 GB, free: 48.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/6.839, allocations: 3.984 kB / 3.133 GB, free: 48.03 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008191/6.84, allocations: 0.9068 MB / 3.134 GB, free: 47.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/6.84, allocations: 0 / 3.134 GB, free: 47.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/6.84, allocations: 151.8 kB / 3.134 GB, free: 46.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004781/6.841, allocations: 80.78 kB / 3.134 GB, free: 46.85 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/6.841, allocations: 19.98 kB / 3.134 GB, free: 46.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/6.842, allocations: 1.56 MB / 3.135 GB, free: 45.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/6.842, allocations: 3.938 kB / 3.135 GB, free: 45.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/6.843, allocations: 0.8207 MB / 3.136 GB, free: 44.29 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/6.844, allocations: 283.7 kB / 3.137 GB, free: 43.99 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.564e-05/6.844, allocations: 16 kB / 3.137 GB, free: 43.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/6.844, allocations: 71.94 kB / 3.137 GB, free: 43.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/6.845, allocations: 68.53 kB / 3.137 GB, free: 43.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/6.845, allocations: 31.97 kB / 3.137 GB, free: 43.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005157/6.845, allocations: 0.4913 MB / 3.137 GB, free: 43.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/6.845, allocations: 4 kB / 3.137 GB, free: 43.31 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009779/6.846, allocations: 339.2 kB / 3.138 GB, free: 42.98 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.001814/6.848, allocations: 1.027 MB / 3.139 GB, free: 42.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001137/6.849, allocations: 0.6985 MB / 3.139 GB, free: 41.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/6.849, allocations: 7.938 kB / 3.139 GB, free: 41.33 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006124/6.85, allocations: 482.8 kB / 3.14 GB, free: 40.85 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/6.851, allocations: 254.6 kB / 3.14 GB, free: 40.61 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/6.854, allocations: 1.363 MB / 3.141 GB, free: 39.21 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/6.854, allocations: 1.035 MB / 3.142 GB, free: 38.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007528/6.855, allocations: 262 kB / 3.143 GB, free: 37.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/6.855, allocations: 91.39 kB / 3.143 GB, free: 37.81 MB / 0.948 GB Notification: Performance of SimCode: time 6.92e-07/6.855, allocations: 0 / 3.143 GB, free: 37.81 MB / 0.948 GB Notification: Performance of Templates: time 0.03012/6.885, allocations: 22.6 MB / 3.165 GB, free: 15.29 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)