Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.736/1.736, allocations: 288.3 MB / 303.2 MB, free: 8.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.001233/0.001233, allocations: 173.1 kB / 371.8 MB, free: 10.29 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.726/1.726, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00084/0.0008397, allocations: 102.6 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004124, allocations: 19.83 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2466, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004425/0.251, allocations: 3.745 MB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7301/0.9812, allocations: 127.5 MB / 1.108 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008373/0.9821, allocations: 17.47 kB / 1.108 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.9826, allocations: 109.1 kB / 1.108 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.9843, allocations: 480.5 kB / 1.108 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.9864, allocations: 0.6022 MB / 1.109 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.9879, allocations: 0.7755 MB / 1.11 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.989, allocations: 476.1 kB / 1.11 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007107/0.9897, allocations: 307.2 kB / 1.11 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005538/0.9903, allocations: 308.4 kB / 1.111 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.9904, allocations: 21.84 kB / 1.111 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.9916, allocations: 264.1 kB / 1.111 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.9919, allocations: 167.6 kB / 1.111 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.9923, allocations: 186.4 kB / 1.111 GB, free: 17.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002239/0.9945, allocations: 1.09 MB / 1.112 GB, free: 17.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.9945, allocations: 1.344 kB / 1.112 GB, free: 17.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9946, allocations: 0 / 1.112 GB, free: 17.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.9946, allocations: 0 / 1.112 GB, free: 17.62 MB / 0.698 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.003415/0.998, allocations: 1.174 MB / 1.113 GB, free: 16.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.874e-05/0.9981, allocations: 12.45 kB / 1.113 GB, free: 16.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.9996, allocations: 195.6 kB / 1.114 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/1.001, allocations: 0.702 MB / 1.114 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-05/1.002, allocations: 63.44 kB / 1.114 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/1.002, allocations: 79.53 kB / 1.114 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/1.004, allocations: 0.8561 MB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/1.004, allocations: 0 / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/1.004, allocations: 35.16 kB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/1.004, allocations: 22.36 kB / 1.115 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002938/1.007, allocations: 1.085 MB / 1.116 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007535/1.015, allocations: 2.461 MB / 1.119 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/1.017, allocations: 0.7456 MB / 1.12 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/1.018, allocations: 116.1 kB / 1.12 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001352/1.019, allocations: 439 kB / 1.12 GB, free: 15.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.639e-06/1.019, allocations: 0 / 1.12 GB, free: 15.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005285/1.024, allocations: 1.138 MB / 1.121 GB, free: 15.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/1.024, allocations: 192.4 kB / 1.121 GB, free: 14.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/1.026, allocations: 0.6162 MB / 1.122 GB, free: 14.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/1.026, allocations: 43.11 kB / 1.122 GB, free: 14.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005472/1.027, allocations: 395.8 kB / 1.122 GB, free: 14.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/1.027, allocations: 239.2 kB / 1.123 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/1.027, allocations: 11.91 kB / 1.123 GB, free: 14.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002578/1.027, allocations: 384.2 kB / 1.123 GB, free: 14.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00082/1.028, allocations: 233.4 kB / 1.123 GB, free: 14.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/1.029, allocations: 329.7 kB / 1.123 GB, free: 13.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009105/1.03, allocations: 280 kB / 1.124 GB, free: 13.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.03, allocations: 0 / 1.124 GB, free: 13.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003042/1.033, allocations: 0.7623 MB / 1.125 GB, free: 13.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/1.033, allocations: 5.312 kB / 1.125 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.033, allocations: 2.469 kB / 1.125 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009361/1.034, allocations: 83.02 kB / 1.125 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.035, allocations: 140.2 kB / 1.125 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/1.039, allocations: 1.558 MB / 1.126 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/1.04, allocations: 84.97 kB / 1.126 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.882e-05/1.04, allocations: 28 kB / 1.126 GB, free: 12.5 MB / 0.698 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.001113/1.041, allocations: 259.3 kB / 1.127 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/1.042, allocations: 77.25 kB / 1.127 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/1.046, allocations: 1.023 MB / 1.128 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/1.046, allocations: 10.23 kB / 1.128 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.046, allocations: 0 / 1.128 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/1.046, allocations: 7.266 kB / 1.128 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/1.048, allocations: 0.8766 MB / 1.129 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.048, allocations: 0 / 1.129 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/1.049, allocations: 144.6 kB / 1.129 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009487/1.05, allocations: 87.3 kB / 1.129 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.771e-05/1.051, allocations: 21.83 kB / 1.129 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/1.054, allocations: 1.58 MB / 1.13 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.054, allocations: 0 / 1.13 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/1.057, allocations: 0.8721 MB / 1.131 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008445/1.058, allocations: 279.7 kB / 1.131 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/1.058, allocations: 22.02 kB / 1.131 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.06, allocations: 72.02 kB / 1.132 GB, free: 9.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/1.06, allocations: 54.73 kB / 1.132 GB, free: 9.711 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/1.06, allocations: 34.97 kB / 1.132 GB, free: 9.703 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001101/1.061, allocations: 447.3 kB / 1.132 GB, free: 9.551 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.061, allocations: 0 / 1.132 GB, free: 9.551 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001493/1.063, allocations: 270.5 kB / 1.132 GB, free: 9.5 MB / 0.698 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.002161/1.065, allocations: 0.5708 MB / 1.133 GB, free: 9.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003045/1.068, allocations: 0.7539 MB / 1.134 GB, free: 9.004 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.068, allocations: 0 / 1.134 GB, free: 9.004 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/1.069, allocations: 0.4981 MB / 1.134 GB, free: 8.812 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/1.071, allocations: 248.7 kB / 1.134 GB, free: 8.742 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006707/1.078, allocations: 2.142 MB / 1.136 GB, free: 7.551 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00088/1.079, allocations: 1.044 MB / 1.137 GB, free: 6.699 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001577/1.081, allocations: 250.4 kB / 1.138 GB, free: 6.578 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/1.081, allocations: 98.58 kB / 1.138 GB, free: 6.555 MB / 0.698 GB Notification: Performance of SimCode: time 4.368e-06/1.081, allocations: 0 / 1.138 GB, free: 6.555 MB / 0.698 GB Notification: Performance of Templates: time 0.04412/1.125, allocations: 12.91 MB / 1.15 GB, free: 100 kB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)