Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 178.7 kB / 327.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.4 MB / 0.5785 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009057/0.0009058, allocations: 84.14 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003898, allocations: 11.59 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 106.3 MB / 0.9012 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.167/4.385, allocations: 2.192 GB / 3.093 GB, free: 26.61 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/4.386, allocations: 92.97 kB / 3.093 GB, free: 26.52 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.482/4.868, allocations: 65.22 MB / 3.157 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.074e-06/4.868, allocations: 2.625 kB / 3.157 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.319e-05/4.868, allocations: 22.16 kB / 3.157 GB, free: 314.2 MB / 0.8855 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.00171/4.87, allocations: 1.2 MB / 3.158 GB, free: 313.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/4.87, allocations: 16.53 kB / 3.158 GB, free: 313.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007032/4.87, allocations: 187.1 kB / 3.158 GB, free: 313.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/4.871, allocations: 0.6661 MB / 3.159 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/4.871, allocations: 59.88 kB / 3.159 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/4.871, allocations: 76.03 kB / 3.159 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/4.873, allocations: 0.8756 MB / 3.16 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/4.873, allocations: 3.938 kB / 3.16 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.045e-05/4.873, allocations: 38.97 kB / 3.16 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/4.873, allocations: 23.5 kB / 3.16 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/4.874, allocations: 1.088 MB / 3.161 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002892/4.877, allocations: 2.468 MB / 3.163 GB, free: 311.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/4.878, allocations: 0.7516 MB / 3.164 GB, free: 311.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/4.878, allocations: 296.7 kB / 3.164 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/4.878, allocations: 117.6 kB / 3.164 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005842/4.879, allocations: 448 kB / 3.165 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.485e-06/4.879, allocations: 0 / 3.165 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.00244/4.882, allocations: 1.147 MB / 3.166 GB, free: 311 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/4.882, allocations: 243.8 kB / 3.166 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006607/4.882, allocations: 0.6924 MB / 3.167 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/4.882, allocations: 37.45 kB / 3.167 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/4.883, allocations: 396.9 kB / 3.167 GB, free: 310.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/4.883, allocations: 243.5 kB / 3.167 GB, free: 310.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/4.883, allocations: 12.19 kB / 3.167 GB, free: 310.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/4.883, allocations: 386.9 kB / 3.168 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/4.883, allocations: 234.9 kB / 3.168 GB, free: 309.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/4.884, allocations: 347.8 kB / 3.168 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008458/4.885, allocations: 0.5552 MB / 3.169 GB, free: 309.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/4.885, allocations: 0 / 3.169 GB, free: 309.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001376/4.886, allocations: 0.7529 MB / 3.17 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/4.886, allocations: 10.31 kB / 3.17 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/4.886, allocations: 9.234 kB / 3.17 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00049/4.886, allocations: 84.8 kB / 3.17 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/4.887, allocations: 135.1 kB / 3.17 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/4.889, allocations: 1.529 MB / 3.171 GB, free: 307.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/4.889, allocations: 89.17 kB / 3.171 GB, free: 307.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/4.889, allocations: 22.02 kB / 3.171 GB, free: 307.8 MB / 0.8855 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.0003382/4.889, allocations: 271.5 kB / 3.172 GB, free: 307.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-05/4.889, allocations: 85.34 kB / 3.172 GB, free: 307.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/4.891, allocations: 1.021 MB / 3.173 GB, free: 307.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/4.891, allocations: 11.56 kB / 3.173 GB, free: 307.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/4.891, allocations: 0 / 3.173 GB, free: 307.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/4.891, allocations: 7.922 kB / 3.173 GB, free: 307.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000735/4.892, allocations: 0.896 MB / 3.174 GB, free: 306.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/4.892, allocations: 0 / 3.174 GB, free: 306.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/4.893, allocations: 151.2 kB / 3.174 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000411/4.893, allocations: 87.05 kB / 3.174 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/4.893, allocations: 19.86 kB / 3.174 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/4.894, allocations: 1.569 MB / 3.175 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/4.894, allocations: 0 / 3.175 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/4.896, allocations: 0.8876 MB / 3.176 GB, free: 304.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/4.896, allocations: 287.6 kB / 3.177 GB, free: 304.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.039e-05/4.896, allocations: 15.31 kB / 3.177 GB, free: 304.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/4.897, allocations: 70.88 kB / 3.177 GB, free: 304.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/4.897, allocations: 60.94 kB / 3.177 GB, free: 304.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/4.897, allocations: 32.95 kB / 3.177 GB, free: 304.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000492/4.897, allocations: 0.4932 MB / 3.177 GB, free: 303.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/4.897, allocations: 4 kB / 3.177 GB, free: 303.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008526/4.898, allocations: 346.1 kB / 3.178 GB, free: 303.6 MB / 0.8855 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.001555/4.9, allocations: 1.048 MB / 3.179 GB, free: 303.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001273/4.901, allocations: 0.7464 MB / 3.179 GB, free: 302.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/4.901, allocations: 7.938 kB / 3.179 GB, free: 302.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000692/4.902, allocations: 0.4964 MB / 3.18 GB, free: 302 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/4.903, allocations: 270.3 kB / 3.18 GB, free: 301.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/4.906, allocations: 2.189 MB / 3.182 GB, free: 299.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/4.907, allocations: 1.011 MB / 3.183 GB, free: 298.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000768/4.907, allocations: 273.9 kB / 3.183 GB, free: 298.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/4.908, allocations: 91.39 kB / 3.184 GB, free: 298.1 MB / 0.8855 GB Notification: Performance of SimCode: time 6.51e-07/4.908, allocations: 0 / 3.184 GB, free: 298.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.0247/4.932, allocations: 21.02 MB / 3.204 GB, free: 277.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)