Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 176.9 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.000925/0.0009248, allocations: 82.59 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.154e-05/2.158e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2086, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.475/5.683, allocations: 2.192 GB / 3.077 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/5.684, allocations: 94.44 kB / 3.077 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.13/5.814, allocations: 63.06 MB / 3.139 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.803e-06/5.814, allocations: 3.938 kB / 3.139 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.18e-05/5.814, allocations: 27.94 kB / 3.139 GB, free: 151.7 MB / 0.8698 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.002059/5.816, allocations: 1.084 MB / 3.14 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/5.816, allocations: 12.03 kB / 3.14 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009977/5.817, allocations: 194.4 kB / 3.14 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/5.818, allocations: 0.6316 MB / 3.141 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/5.818, allocations: 24 kB / 3.141 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/5.818, allocations: 44 kB / 3.141 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001323/5.82, allocations: 0.9835 MB / 3.142 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/5.821, allocations: 0.7193 MB / 3.142 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/5.821, allocations: 0 / 3.142 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-05/5.821, allocations: 7.938 kB / 3.142 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/5.821, allocations: 24 kB / 3.142 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/5.824, allocations: 2.322 MB / 3.145 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008291/5.825, allocations: 0.6584 MB / 3.145 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/5.825, allocations: 251.2 kB / 3.145 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/5.826, allocations: 113.9 kB / 3.146 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004936/5.826, allocations: 399.8 kB / 3.146 GB, free: 144 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.284e-06/5.826, allocations: 0 / 3.146 GB, free: 144 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001581/5.828, allocations: 0.6769 MB / 3.147 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/5.828, allocations: 248.1 kB / 3.147 GB, free: 143 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/5.828, allocations: 0.5386 MB / 3.147 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-05/5.828, allocations: 33.64 kB / 3.147 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/5.829, allocations: 396.2 kB / 3.148 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/5.829, allocations: 236.4 kB / 3.148 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/5.829, allocations: 0 / 3.148 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001017/5.829, allocations: 378.8 kB / 3.148 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/5.829, allocations: 193.5 kB / 3.149 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/5.83, allocations: 299.5 kB / 3.149 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/5.83, allocations: 252.5 kB / 3.149 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/5.83, allocations: 0 / 3.149 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001282/5.831, allocations: 0.6681 MB / 3.15 GB, free: 140 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/5.831, allocations: 11.95 kB / 3.15 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/5.831, allocations: 0 / 3.15 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005498/5.832, allocations: 84.83 kB / 3.15 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/5.832, allocations: 139.7 kB / 3.15 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/5.834, allocations: 1.473 MB / 3.151 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/5.834, allocations: 59.53 kB / 3.151 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/5.834, allocations: 31.97 kB / 3.152 GB, free: 138.1 MB / 0.8698 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.000134/5.834, allocations: 120.9 kB / 3.152 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001227/5.836, allocations: 0.6758 MB / 3.152 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.096e-05/5.836, allocations: 83.05 kB / 3.152 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/5.837, allocations: 0.9151 MB / 3.153 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/5.837, allocations: 8 kB / 3.153 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/5.838, allocations: 3.953 kB / 3.153 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/5.838, allocations: 3.984 kB / 3.153 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007007/5.838, allocations: 0.7865 MB / 3.154 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/5.838, allocations: 0 / 3.154 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/5.839, allocations: 147.8 kB / 3.154 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/5.839, allocations: 80.78 kB / 3.154 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/5.839, allocations: 15.98 kB / 3.154 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/5.84, allocations: 1.497 MB / 3.156 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/5.841, allocations: 4.031 kB / 3.156 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/5.842, allocations: 0.7815 MB / 3.156 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/5.842, allocations: 287.7 kB / 3.157 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/5.842, allocations: 7.953 kB / 3.157 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/5.843, allocations: 51.95 kB / 3.157 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/5.843, allocations: 56.69 kB / 3.157 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/5.843, allocations: 31.98 kB / 3.157 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004056/5.843, allocations: 439.1 kB / 3.157 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/5.843, allocations: 0 / 3.157 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008601/5.844, allocations: 311.1 kB / 3.158 GB, free: 131.6 MB / 0.8698 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.002851/5.847, allocations: 2.319 MB / 3.16 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009555/5.848, allocations: 0.6513 MB / 3.161 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/5.848, allocations: 4 kB / 3.161 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005501/5.849, allocations: 448.6 kB / 3.161 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/5.85, allocations: 233.9 kB / 3.161 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/5.853, allocations: 1.502 MB / 3.163 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/5.853, allocations: 1.039 MB / 3.164 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006879/5.854, allocations: 249.8 kB / 3.164 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/5.854, allocations: 375.3 kB / 3.164 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of SimCode: time 4.41e-07/5.854, allocations: 0 / 3.164 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04567/5.9, allocations: 23.86 MB / 3.188 GB, free: 101 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/5.9, allocations: 206.4 kB / 3.188 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/8.496, allocations: 0 / 3.188 GB, free: 100.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)