Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_11_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.00143/0.00143, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001433, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.578/2.578, allocations: 469.8 MB / 0.7424 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.00192, allocations: 64.05 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3564, allocations: 159.1 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01044/0.3669, allocations: 7.379 MB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.173/0.54, allocations: 151.7 MB / 1.219 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.5412, allocations: 19.94 kB / 1.219 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008522/0.5421, allocations: 305.1 kB / 1.22 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.5442, allocations: 0.8077 MB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.5465, allocations: 1.138 MB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002207/0.5488, allocations: 2.322 MB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.5502, allocations: 1.16 MB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009982/0.5512, allocations: 0.8956 MB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.5523, allocations: 0.9804 MB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003065/0.5526, allocations: 268 kB / 1.227 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.5536, allocations: 0.6246 MB / 1.228 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004709/0.5541, allocations: 0.5375 MB / 1.228 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009161/0.555, allocations: 1.069 MB / 1.229 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.5579, allocations: 3.054 MB / 1.232 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.558, allocations: 0 / 1.232 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.558, allocations: 4 kB / 1.232 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.558, allocations: 0 / 1.232 GB, free: 1.25 MB / 0.9825 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.004085/0.5621, allocations: 2.243 MB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.5621, allocations: 8.031 kB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002705/0.5624, allocations: 236.7 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005642/0.5681, allocations: 0.8569 MB / 1.236 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.5696, allocations: 1.098 MB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.5697, allocations: 123.3 kB / 1.237 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.57, allocations: 156 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004257/0.5743, allocations: 2.055 MB / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.5743, allocations: 0 / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.5745, allocations: 68 kB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.5745, allocations: 40 kB / 1.239 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0058/0.5803, allocations: 2.44 MB / 1.241 GB, free: 7.77 MB / 0.9981 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.009324/0.5896, allocations: 5.713 MB / 1.247 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00432/0.594, allocations: 1.717 MB / 1.249 GB, free: 164 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4898/1.084, allocations: 0.7903 MB / 1.249 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006853/1.084, allocations: 490.6 kB / 1.25 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002818/1.087, allocations: 1.07 MB / 1.251 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=139): time 3.828e-06/1.087, allocations: 1.094 kB / 1.251 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.007165/1.095, allocations: 2.603 MB / 1.254 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/1.095, allocations: 199.3 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/1.096, allocations: 0.8863 MB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-05/1.096, allocations: 52.8 kB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/1.096, allocations: 0.6348 MB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/1.096, allocations: 449.5 kB / 1.256 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003487/1.097, allocations: 247.2 kB / 1.256 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/1.097, allocations: 356.4 kB / 1.256 GB, free: 183 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/1.098, allocations: 0.668 MB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/1.1, allocations: 0.8242 MB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/1.103, allocations: 1.44 MB / 1.259 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.103, allocations: 0 / 1.259 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004405/1.108, allocations: 1.791 MB / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/1.108, allocations: 5.375 kB / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.108, allocations: 0 / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/1.109, allocations: 89.75 kB / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.11, allocations: 332.4 kB / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/1.112, allocations: 1.652 MB / 1.263 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.113, allocations: 195.5 kB / 1.263 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/1.113, allocations: 59.27 kB / 1.263 GB, free: 180.8 MB / 0.9981 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.0005422/1.114, allocations: 386.6 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/1.114, allocations: 128.8 kB / 1.264 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00537/1.119, allocations: 2.216 MB / 1.266 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/1.119, allocations: 18.66 kB / 1.266 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.119, allocations: 5.766 kB / 1.266 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/1.119, allocations: 8.531 kB / 1.266 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.121, allocations: 1.785 MB / 1.268 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.121, allocations: 0 / 1.268 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/1.123, allocations: 318.2 kB / 1.268 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000401/1.123, allocations: 73.88 kB / 1.268 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/1.123, allocations: 47.5 kB / 1.268 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/1.125, allocations: 1.678 MB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.125, allocations: 5.797 kB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/1.13, allocations: 1.921 MB / 1.271 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005401/1.13, allocations: 432.1 kB / 1.272 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/1.13, allocations: 35.03 kB / 1.272 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.132, allocations: 138.9 kB / 1.272 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/1.132, allocations: 126.7 kB / 1.272 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/1.132, allocations: 57.91 kB / 1.272 GB, free: 176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008274/1.133, allocations: 0.6513 MB / 1.273 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.133, allocations: 0 / 1.273 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001036/1.134, allocations: 0.5047 MB / 1.273 GB, free: 175.6 MB / 0.9981 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.006332/1.14, allocations: 3.008 MB / 1.276 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005864/1.146, allocations: 2.135 MB / 1.278 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.146, allocations: 5.656 kB / 1.278 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002225/1.149, allocations: 1.052 MB / 1.279 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/1.15, allocations: 377.1 kB / 1.28 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/1.169, allocations: 11.7 MB / 1.291 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/1.169, allocations: 1.262 MB / 1.292 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001527/1.171, allocations: 396.3 kB / 1.293 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008222/1.172, allocations: 0.6566 MB / 1.293 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.172, allocations: 0 / 1.293 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.661/2.833, allocations: 34.02 MB / 1.327 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.77/19.6, allocations: 4 kB / 1.327 GB, free: 136.7 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)