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.697/1.697, allocations: 285.4 MB / 298 MB, free: 5.934 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.001533/0.001533, allocations: 176.9 kB / 366.4 MB, free: 2.102 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.756/1.756, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.001029/0.001029, allocations: 93.53 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.681e-05/3.719e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8919/0.892, allocations: 115.3 MB / 0.9709 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.293/6.185, allocations: 2.073 GB / 3.044 GB, free: 66.08 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/6.185, allocations: 87.95 kB / 3.044 GB, free: 65.99 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1378/6.323, allocations: 65.39 MB / 3.108 GB, free: 0.5234 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.725e-06/6.323, allocations: 4 kB / 3.108 GB, free: 0.5195 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001233/6.323, allocations: 27.94 kB / 3.108 GB, free: 0.4922 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.6375/6.961, allocations: 1.075 MB / 3.109 GB, free: 316.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/6.961, allocations: 9.984 kB / 3.109 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/6.962, allocations: 193.4 kB / 3.109 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/6.963, allocations: 0.6314 MB / 3.11 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.6e-05/6.963, allocations: 61.19 kB / 3.11 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/6.964, allocations: 81.67 kB / 3.11 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/6.965, allocations: 0.8274 MB / 3.111 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/6.965, allocations: 3.719 kB / 3.111 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/6.965, allocations: 33.56 kB / 3.111 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/6.965, allocations: 21.28 kB / 3.111 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/6.967, allocations: 1.026 MB / 3.112 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004417/6.972, allocations: 2.471 MB / 3.114 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/6.973, allocations: 0.7077 MB / 3.115 GB, free: 315.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/6.973, allocations: 267.1 kB / 3.115 GB, free: 315.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/6.974, allocations: 114.2 kB / 3.116 GB, free: 315.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007297/6.974, allocations: 416 kB / 3.116 GB, free: 315.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.685e-06/6.974, allocations: 0.5625 kB / 3.116 GB, free: 315.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.00194/6.976, allocations: 0.7099 MB / 3.117 GB, free: 315.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/6.976, allocations: 241.4 kB / 3.117 GB, free: 314.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/6.978, allocations: 0.6066 MB / 3.117 GB, free: 314.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/6.978, allocations: 43.8 kB / 3.118 GB, free: 314.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/6.978, allocations: 396.1 kB / 3.118 GB, free: 314.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/6.978, allocations: 243.4 kB / 3.118 GB, free: 314.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/6.978, allocations: 14.66 kB / 3.118 GB, free: 314.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001352/6.978, allocations: 387.6 kB / 3.118 GB, free: 314.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/6.979, allocations: 203.4 kB / 3.119 GB, free: 314.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/6.979, allocations: 320 kB / 3.119 GB, free: 314.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/6.979, allocations: 254.6 kB / 3.119 GB, free: 314.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/6.979, allocations: 0 / 3.119 GB, free: 314.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001583/6.981, allocations: 0.7035 MB / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/6.981, allocations: 6.797 kB / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/6.981, allocations: 4.594 kB / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/6.982, allocations: 83.38 kB / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/6.982, allocations: 142.3 kB / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/6.984, allocations: 1.53 MB / 3.122 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007202/6.985, allocations: 80.05 kB / 3.122 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/6.985, allocations: 28.61 kB / 3.122 GB, free: 312.7 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.0001957/6.985, allocations: 148.9 kB / 3.122 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/6.985, allocations: 84.86 kB / 3.122 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/6.988, allocations: 0.972 MB / 3.123 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/6.988, allocations: 12.48 kB / 3.123 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/6.988, allocations: 0 / 3.123 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/6.988, allocations: 5.672 kB / 3.123 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/6.989, allocations: 0.9037 MB / 3.124 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/6.989, allocations: 0 / 3.124 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006384/6.99, allocations: 150.8 kB / 3.124 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005208/6.99, allocations: 86.25 kB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.463e-05/6.99, allocations: 26.62 kB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/6.992, allocations: 1.551 MB / 3.126 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/6.992, allocations: 1.375 kB / 3.126 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/6.994, allocations: 0.8258 MB / 3.126 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005438/6.995, allocations: 284.7 kB / 3.127 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/6.995, allocations: 18.69 kB / 3.127 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/6.995, allocations: 70.72 kB / 3.127 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/6.996, allocations: 63.11 kB / 3.127 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/6.996, allocations: 32.48 kB / 3.127 GB, free: 310.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009912/6.997, allocations: 496.1 kB / 3.127 GB, free: 310.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.997, allocations: 0 / 3.127 GB, free: 310.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001762/6.998, allocations: 347.7 kB / 3.128 GB, free: 310.6 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.002588/7.001, allocations: 1.035 MB / 3.129 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001736/7.003, allocations: 0.6894 MB / 3.129 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/7.003, allocations: 1.531 kB / 3.129 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008582/7.004, allocations: 489.2 kB / 3.13 GB, free: 310.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/7.005, allocations: 250.7 kB / 3.13 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/7.009, allocations: 1.37 MB / 3.131 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/7.01, allocations: 1.032 MB / 3.132 GB, free: 309.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001209/7.011, allocations: 257.2 kB / 3.133 GB, free: 309.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/7.011, allocations: 90.84 kB / 3.133 GB, free: 309.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.753e-06/7.012, allocations: 1.031 kB / 3.133 GB, free: 309.1 MB / 0.948 GB Notification: Performance of Templates: time 0.04937/7.061, allocations: 22.6 MB / 3.155 GB, free: 307.6 MB / 0.948 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)