Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001574, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002053/0.002053, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.6894, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008974/0.6984, allocations: 7.382 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1571/0.8555, allocations: 149.5 MB / 1.17 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.8571, allocations: 19.94 kB / 1.17 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008611/0.858, allocations: 238.2 kB / 1.17 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.8602, allocations: 0.7186 MB / 1.171 GB, free: 4.289 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.8624, allocations: 1.02 MB / 1.172 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002157/0.8646, allocations: 2.345 MB / 1.174 GB, free: 0.918 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.866, allocations: 1.152 MB / 1.175 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009929/0.867, allocations: 0.8956 MB / 1.176 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009333/0.8679, allocations: 0.9843 MB / 1.177 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002684/0.8682, allocations: 268 kB / 1.178 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009719/0.8692, allocations: 0.6169 MB / 1.178 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004049/0.8696, allocations: 0.5453 MB / 1.179 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000818/0.8704, allocations: 1.073 MB / 1.18 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.873, allocations: 3.058 MB / 1.183 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.873, allocations: 0 / 1.183 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.873, allocations: 0 / 1.183 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.8731, allocations: 0 / 1.183 GB, free: 8.266 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.003985/0.877, allocations: 2.243 MB / 1.185 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.8771, allocations: 8.031 kB / 1.185 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002564/0.8774, allocations: 240.7 kB / 1.185 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005764/0.8831, allocations: 0.8569 MB / 1.186 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.8846, allocations: 1.086 MB / 1.187 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.8847, allocations: 123.3 kB / 1.187 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.885, allocations: 156 kB / 1.187 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004246/0.8892, allocations: 2.059 MB / 1.189 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.8892, allocations: 0 / 1.189 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/0.8894, allocations: 68 kB / 1.189 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.8895, allocations: 36 kB / 1.189 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005651/0.8951, allocations: 2.448 MB / 1.192 GB, free: 14.78 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008964/0.9041, allocations: 5.705 MB / 1.197 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00409/0.9082, allocations: 1.71 MB / 1.199 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/0.9101, allocations: 0.8089 MB / 1.2 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006565/0.9108, allocations: 483.1 kB / 1.2 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00243/0.9132, allocations: 1.079 MB / 1.201 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=139): time 3.406e-06/0.9132, allocations: 0 / 1.201 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139): time 0.00743/0.9207, allocations: 2.602 MB / 1.204 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.9208, allocations: 197.2 kB / 1.204 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.9219, allocations: 0.8785 MB / 1.205 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.922, allocations: 61.62 kB / 1.205 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004844/0.9225, allocations: 0.6329 MB / 1.206 GB, free: 240 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003642/0.9229, allocations: 445.5 kB / 1.206 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004545/0.9234, allocations: 262.7 kB / 1.206 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.9235, allocations: 353.9 kB / 1.207 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.9254, allocations: 0.6662 MB / 1.207 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.9273, allocations: 0.8237 MB / 1.208 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003719/0.9311, allocations: 1.436 MB / 1.209 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9311, allocations: 0 / 1.209 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004945/0.936, allocations: 1.785 MB / 1.211 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.9361, allocations: 4 kB / 1.211 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.9361, allocations: 0 / 1.211 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007587/0.9368, allocations: 92.77 kB / 1.211 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.9387, allocations: 331.5 kB / 1.212 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.9408, allocations: 1.656 MB / 1.213 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.9425, allocations: 216.3 kB / 1.213 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.9426, allocations: 59.95 kB / 1.214 GB, free: 7.914 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007152/0.9433, allocations: 400.2 kB / 1.214 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.9436, allocations: 126.4 kB / 1.214 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005968/0.9496, allocations: 2.206 MB / 1.216 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.9496, allocations: 15.94 kB / 1.216 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.9496, allocations: 4 kB / 1.216 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.9496, allocations: 7.969 kB / 1.216 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.9517, allocations: 1.78 MB / 1.218 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.9517, allocations: 0 / 1.218 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/0.9535, allocations: 319.6 kB / 1.218 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/0.954, allocations: 68.78 kB / 1.218 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.9541, allocations: 47.95 kB / 1.218 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.956, allocations: 1.689 MB / 1.22 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.956, allocations: 3.938 kB / 1.22 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005303/0.9613, allocations: 1.906 MB / 1.222 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000707/0.9621, allocations: 438.9 kB / 1.222 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.9623, allocations: 39.94 kB / 1.222 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.9639, allocations: 155.7 kB / 1.222 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/0.9642, allocations: 117.1 kB / 1.223 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.9643, allocations: 59.95 kB / 1.223 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008883/0.9652, allocations: 0.6501 MB / 1.223 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9652, allocations: 0 / 1.223 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001367/0.9666, allocations: 0.5064 MB / 1.224 GB, free: 13.13 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006835/0.9734, allocations: 3.012 MB / 1.227 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006615/0.9801, allocations: 2.134 MB / 1.229 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9801, allocations: 0 / 1.229 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002456/0.9826, allocations: 1.06 MB / 1.23 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.9843, allocations: 370.4 kB / 1.23 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02635/1.011, allocations: 12.41 MB / 1.242 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008994/1.012, allocations: 1.249 MB / 1.244 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001983/1.014, allocations: 410.1 kB / 1.244 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/1.015, allocations: 0.6671 MB / 1.245 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of SimCode: time 9.11e-07/1.015, allocations: 0 / 1.245 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6404/1.655, allocations: 33.69 MB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/1.655, allocations: 304.8 kB / 1.278 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/4.577, allocations: 0 / 1.278 GB, free: 222.9 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)