Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.147/2.147, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.001407/0.001407, allocations: 180.5 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.393/2.393, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0009165/0.0009163, allocations: 94.94 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005044, allocations: 11.94 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.234, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.29/7.524, allocations: 2.191 GB / 3.091 GB, free: 247 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/7.524, allocations: 98.41 kB / 3.091 GB, free: 247 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2944/7.818, allocations: 65.21 MB / 3.155 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.697e-06/7.819, allocations: 7.75 kB / 3.155 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001666/7.819, allocations: 27.55 kB / 3.155 GB, free: 241.3 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.005235/7.824, allocations: 1.202 MB / 3.156 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/7.824, allocations: 11.75 kB / 3.156 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/7.827, allocations: 190.9 kB / 3.156 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/7.829, allocations: 0.6352 MB / 3.157 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/7.829, allocations: 61.38 kB / 3.157 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/7.83, allocations: 77 kB / 3.157 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00382/7.834, allocations: 0.868 MB / 3.158 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.533e-05/7.834, allocations: 4.188 kB / 3.158 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/7.834, allocations: 44.47 kB / 3.158 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/7.834, allocations: 19.53 kB / 3.158 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004764/7.839, allocations: 1.086 MB / 3.159 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009855/7.849, allocations: 2.472 MB / 3.161 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/7.852, allocations: 0.7551 MB / 3.162 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/7.854, allocations: 297.1 kB / 3.162 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003832/7.854, allocations: 113.3 kB / 3.162 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001918/7.856, allocations: 451 kB / 3.163 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 5.841e-06/7.856, allocations: 0 / 3.163 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.00838/7.864, allocations: 1.146 MB / 3.164 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/7.865, allocations: 239.9 kB / 3.164 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002904/7.868, allocations: 0.7029 MB / 3.165 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000282/7.868, allocations: 45.14 kB / 3.165 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/7.868, allocations: 390.9 kB / 3.165 GB, free: 237 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00034/7.869, allocations: 246.4 kB / 3.165 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/7.869, allocations: 11.38 kB / 3.165 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001546/7.869, allocations: 384.5 kB / 3.166 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008575/7.87, allocations: 240.9 kB / 3.166 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009404/7.871, allocations: 334.7 kB / 3.166 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/7.872, allocations: 283 kB / 3.167 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/7.872, allocations: 3.906 kB / 3.167 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003078/7.875, allocations: 0.7609 MB / 3.167 GB, free: 236 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/7.875, allocations: 3.906 kB / 3.167 GB, free: 236 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/7.875, allocations: 7.875 kB / 3.167 GB, free: 236 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009891/7.876, allocations: 87.14 kB / 3.167 GB, free: 236 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/7.877, allocations: 137.4 kB / 3.168 GB, free: 236 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/7.88, allocations: 1.529 MB / 3.169 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/7.881, allocations: 77.95 kB / 3.169 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/7.881, allocations: 30.42 kB / 3.169 GB, free: 234.6 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.0007793/7.882, allocations: 259.4 kB / 3.169 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/7.882, allocations: 89.48 kB / 3.169 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/7.886, allocations: 1.026 MB / 3.17 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/7.886, allocations: 11.72 kB / 3.171 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/7.886, allocations: 0 / 3.171 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/7.886, allocations: 7.922 kB / 3.171 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/7.888, allocations: 0.8998 MB / 3.171 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/7.888, allocations: 0 / 3.171 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002153/7.89, allocations: 144.7 kB / 3.172 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/7.892, allocations: 89.61 kB / 3.172 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/7.892, allocations: 22.42 kB / 3.172 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/7.894, allocations: 1.564 MB / 3.173 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/7.894, allocations: 0 / 3.173 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003266/7.898, allocations: 0.8711 MB / 3.174 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007882/7.899, allocations: 293.9 kB / 3.174 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/7.899, allocations: 19.12 kB / 3.174 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/7.9, allocations: 68.62 kB / 3.174 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/7.9, allocations: 61.83 kB / 3.174 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.715e-05/7.9, allocations: 39.06 kB / 3.174 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009718/7.901, allocations: 0.4951 MB / 3.175 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.51e-07/7.901, allocations: 0 / 3.175 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001655/7.903, allocations: 344 kB / 3.175 GB, free: 231.4 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.002488/7.905, allocations: 1.055 MB / 3.176 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002604/7.908, allocations: 0.7505 MB / 3.177 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/7.908, allocations: 128 / 3.177 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/7.91, allocations: 0.5066 MB / 3.178 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/7.912, allocations: 264.5 kB / 3.178 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00655/7.919, allocations: 2.189 MB / 3.18 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/7.919, allocations: 1.023 MB / 3.181 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001525/7.921, allocations: 259.1 kB / 3.181 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/7.921, allocations: 92.52 kB / 3.181 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.252e-06/7.921, allocations: 3.844 kB / 3.181 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.04961/7.971, allocations: 20.84 MB / 3.202 GB, free: 217.8 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)