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.832/1.832, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001145/0.001146, allocations: 180.9 kB / 377.1 MB, free: 1.504 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.887/1.887, allocations: 205.4 MB / 0.6367 GB, free: 9.531 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.0008892/0.0008891, allocations: 87.94 kB / 0.751 GB, free: 62.69 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004112, allocations: 8 kB / 0.8748 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3724, allocations: 116.3 MB / 0.9884 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.667/7.04, allocations: 2.074 GB / 3.063 GB, free: 145.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/7.04, allocations: 96.52 kB / 3.063 GB, free: 145.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.145/7.185, allocations: 65.7 MB / 3.127 GB, free: 79.45 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.508e-06/7.185, allocations: 0 / 3.127 GB, free: 79.45 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001484/7.185, allocations: 31.88 kB / 3.127 GB, free: 79.42 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.003286/7.189, allocations: 1.21 MB / 3.128 GB, free: 78.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/7.189, allocations: 8.031 kB / 3.128 GB, free: 78.15 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/7.19, allocations: 198.4 kB / 3.128 GB, free: 77.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/7.191, allocations: 0.6277 MB / 3.129 GB, free: 77.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/7.191, allocations: 58 kB / 3.129 GB, free: 77.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/7.191, allocations: 75.98 kB / 3.129 GB, free: 77.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/7.193, allocations: 0.8675 MB / 3.13 GB, free: 76.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/7.193, allocations: 0 / 3.13 GB, free: 76.25 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/7.193, allocations: 36 kB / 3.13 GB, free: 76.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/7.193, allocations: 20 kB / 3.13 GB, free: 76.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/7.195, allocations: 1.093 MB / 3.131 GB, free: 75.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00427/7.199, allocations: 2.461 MB / 3.134 GB, free: 72.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/7.201, allocations: 0.7572 MB / 3.134 GB, free: 71.81 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/7.201, allocations: 113.8 kB / 3.134 GB, free: 71.68 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00082/7.202, allocations: 443.3 kB / 3.135 GB, free: 71.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 5.29e-06/7.202, allocations: 0 / 3.135 GB, free: 71.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.003299/7.205, allocations: 1.149 MB / 3.136 GB, free: 70.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/7.205, allocations: 248 kB / 3.136 GB, free: 69.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009559/7.206, allocations: 0.6207 MB / 3.137 GB, free: 69.13 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.342e-05/7.206, allocations: 37.7 kB / 3.137 GB, free: 69.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/7.206, allocations: 400.3 kB / 3.137 GB, free: 68.69 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/7.207, allocations: 240.5 kB / 3.137 GB, free: 68.45 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/7.207, allocations: 12 kB / 3.137 GB, free: 68.44 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000136/7.207, allocations: 386.8 kB / 3.138 GB, free: 68.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/7.207, allocations: 233.2 kB / 3.138 GB, free: 67.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/7.208, allocations: 347.6 kB / 3.138 GB, free: 67.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/7.208, allocations: 271.1 kB / 3.139 GB, free: 67.19 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/7.208, allocations: 0 / 3.139 GB, free: 67.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001766/7.21, allocations: 0.7588 MB / 3.139 GB, free: 66.42 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/7.21, allocations: 18.39 kB / 3.139 GB, free: 66.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/7.21, allocations: 7.922 kB / 3.139 GB, free: 66.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006447/7.211, allocations: 80.84 kB / 3.139 GB, free: 66.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/7.212, allocations: 139.8 kB / 3.14 GB, free: 66.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/7.214, allocations: 1.541 MB / 3.141 GB, free: 64.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/7.214, allocations: 83.55 kB / 3.141 GB, free: 64.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/7.215, allocations: 27.97 kB / 3.141 GB, free: 64.38 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.0006017/7.215, allocations: 253.7 kB / 3.141 GB, free: 64.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/7.215, allocations: 86.92 kB / 3.142 GB, free: 64.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/7.218, allocations: 1.033 MB / 3.143 GB, free: 62.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/7.218, allocations: 8 kB / 3.143 GB, free: 62.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/7.218, allocations: 0 / 3.143 GB, free: 62.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/7.218, allocations: 7.984 kB / 3.143 GB, free: 62.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/7.219, allocations: 0.9073 MB / 3.143 GB, free: 62.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/7.219, allocations: 0 / 3.143 GB, free: 62.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/7.22, allocations: 147.8 kB / 3.144 GB, free: 61.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005078/7.22, allocations: 84.77 kB / 3.144 GB, free: 61.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.504e-05/7.22, allocations: 23.98 kB / 3.144 GB, free: 61.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/7.222, allocations: 1.571 MB / 3.145 GB, free: 60.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/7.222, allocations: 7.938 kB / 3.145 GB, free: 60.04 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/7.224, allocations: 0.8772 MB / 3.146 GB, free: 59.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/7.224, allocations: 287.7 kB / 3.146 GB, free: 58.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/7.224, allocations: 23.94 kB / 3.146 GB, free: 58.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/7.225, allocations: 63.94 kB / 3.146 GB, free: 58.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/7.225, allocations: 72.8 kB / 3.146 GB, free: 58.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/7.225, allocations: 31.98 kB / 3.147 GB, free: 58.65 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007238/7.226, allocations: 0.4951 MB / 3.147 GB, free: 58.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/7.226, allocations: 0 / 3.147 GB, free: 58.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001274/7.227, allocations: 339.1 kB / 3.147 GB, free: 57.83 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.002334/7.23, allocations: 1.055 MB / 3.148 GB, free: 56.89 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001528/7.231, allocations: 0.7552 MB / 3.149 GB, free: 56.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/7.231, allocations: 4 kB / 3.149 GB, free: 56.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008153/7.232, allocations: 0.4886 MB / 3.15 GB, free: 55.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/7.233, allocations: 247.6 kB / 3.15 GB, free: 55.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/7.237, allocations: 2.196 MB / 3.152 GB, free: 53.15 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/7.238, allocations: 1.039 MB / 3.153 GB, free: 52.09 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009159/7.239, allocations: 257.9 kB / 3.153 GB, free: 51.84 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/7.239, allocations: 91.39 kB / 3.153 GB, free: 51.75 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/7.239, allocations: 3.938 kB / 3.153 GB, free: 51.74 MB / 0.948 GB Notification: Performance of Templates: time 0.03063/7.27, allocations: 20.81 MB / 3.174 GB, free: 31.03 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)