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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000914/0.0009139, allocations: 98.83 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008866/0.0008866, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.623/1.623, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005155/0.0005156, allocations: 18.28 kB / 0.6736 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 116.3 MB / 0.7871 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004674/0.2373, allocations: 3.753 MB / 0.7908 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6059/0.8433, allocations: 127.5 MB / 0.9153 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006782/0.844, allocations: 16.5 kB / 0.9153 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.8445, allocations: 104.8 kB / 0.9154 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.8459, allocations: 498.5 kB / 0.9159 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.8476, allocations: 0.5965 MB / 0.9165 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.8487, allocations: 0.7646 MB / 0.9172 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008019/0.8495, allocations: 471.7 kB / 0.9177 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007322/0.8503, allocations: 314.6 kB / 0.918 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005612/0.8508, allocations: 300.2 kB / 0.9183 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.894e-05/0.8509, allocations: 22.56 kB / 0.9183 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009963/0.8519, allocations: 263.2 kB / 0.9186 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.8522, allocations: 172 kB / 0.9187 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005373/0.8527, allocations: 190.8 kB / 0.9189 GB, free: 21.54 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.8545, allocations: 1.077 MB / 0.92 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8545, allocations: 0 / 0.92 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8545, allocations: 4 kB / 0.92 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.8545, allocations: 0 / 0.92 GB, free: 21.45 MB / 0.7325 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.002116/0.8567, allocations: 1.174 MB / 0.9211 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8567, allocations: 8.969 kB / 0.9211 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008849/0.8576, allocations: 200.8 kB / 0.9213 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.8587, allocations: 0.6982 MB / 0.922 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.8587, allocations: 59.84 kB / 0.922 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/0.8588, allocations: 81.03 kB / 0.9221 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.8603, allocations: 0.8608 MB / 0.923 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.8603, allocations: 0.5625 kB / 0.923 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/0.8604, allocations: 34.41 kB / 0.923 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.8605, allocations: 18.59 kB / 0.923 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.8623, allocations: 1.089 MB / 0.9241 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004064/0.8663, allocations: 2.443 MB / 0.9265 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.8676, allocations: 0.7489 MB / 0.9272 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.8679, allocations: 116.5 kB / 0.9273 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.869, allocations: 443 kB / 0.9277 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 3.547e-06/0.8691, allocations: 0 / 0.9277 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.00335/0.8724, allocations: 1.14 MB / 0.9288 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.8725, allocations: 189.5 kB / 0.929 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008406/0.8734, allocations: 0.6195 MB / 0.9296 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.516e-05/0.8735, allocations: 39.03 kB / 0.9297 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.8738, allocations: 403.6 kB / 0.93 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.874, allocations: 236.8 kB / 0.9303 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.8741, allocations: 11.88 kB / 0.9303 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.8742, allocations: 386.5 kB / 0.9307 GB, free: 18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005024/0.8748, allocations: 228.8 kB / 0.9309 GB, free: 18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/0.8753, allocations: 335.2 kB / 0.9312 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/0.8759, allocations: 282.8 kB / 0.9315 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8759, allocations: 0 / 0.9315 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001716/0.8776, allocations: 0.7596 MB / 0.9322 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.8777, allocations: 5.125 kB / 0.9322 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.8777, allocations: 2.344 kB / 0.9322 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/0.8783, allocations: 85.89 kB / 0.9323 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.8789, allocations: 139.5 kB / 0.9324 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.881, allocations: 1.55 MB / 0.9339 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/0.8816, allocations: 82.28 kB / 0.934 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/0.8817, allocations: 27.27 kB / 0.934 GB, free: 16.46 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0004378/0.8821, allocations: 256.9 kB / 0.9343 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.8822, allocations: 82.95 kB / 0.9344 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.8847, allocations: 1.022 MB / 0.9354 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.8847, allocations: 8.406 kB / 0.9354 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.8847, allocations: 0.6562 kB / 0.9354 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.8848, allocations: 5.438 kB / 0.9354 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.886, allocations: 0.8802 MB / 0.9362 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.886, allocations: 8 kB / 0.9362 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/0.8866, allocations: 147.9 kB / 0.9364 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000482/0.8871, allocations: 83.36 kB / 0.9365 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.8872, allocations: 22.59 kB / 0.9365 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.8888, allocations: 1.578 MB / 0.938 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8888, allocations: 0 / 0.938 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.8905, allocations: 0.8696 MB / 0.9389 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.8909, allocations: 279.8 kB / 0.9391 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.891, allocations: 15.53 kB / 0.9392 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.8916, allocations: 69.34 kB / 0.9392 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.8917, allocations: 67.95 kB / 0.9393 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.8918, allocations: 33.16 kB / 0.9393 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005757/0.8924, allocations: 450.7 kB / 0.9398 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8924, allocations: 2.906 kB / 0.9398 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009145/0.8933, allocations: 270.9 kB / 0.94 GB, free: 14.17 MB / 0.7325 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.001221/0.8945, allocations: 0.5554 MB / 0.9406 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.8961, allocations: 0.7528 MB / 0.9413 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.8961, allocations: 1.25 kB / 0.9413 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008362/0.897, allocations: 0.4967 MB / 0.9418 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.898, allocations: 257.1 kB / 0.942 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.9017, allocations: 2.149 MB / 0.9441 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.9023, allocations: 1.03 MB / 0.9451 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007802/0.9031, allocations: 257.7 kB / 0.9454 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.9033, allocations: 99.03 kB / 0.9455 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.9033, allocations: 0 / 0.9455 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.02011/0.9234, allocations: 12.91 MB / 0.9581 GB, free: 8.328 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: