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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002343/0.002343, allocations: 214.9 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.832/2.832, allocations: 476.7 MB / 0.7715 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 64.03 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3099, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01053/0.3204, allocations: 7.498 MB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2044/0.5248, allocations: 155.3 MB / 1.443 GB, free: 8.41 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.5265, allocations: 27.81 kB / 1.443 GB, free: 8.383 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.528, allocations: 317 kB / 1.443 GB, free: 8.07 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003798/0.5318, allocations: 0.8343 MB / 1.444 GB, free: 7.234 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003338/0.5352, allocations: 1.173 MB / 1.445 GB, free: 6.066 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003608/0.5388, allocations: 2.373 MB / 1.448 GB, free: 3.684 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.5404, allocations: 0.7745 MB / 1.448 GB, free: 2.855 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.5423, allocations: 0.9463 MB / 1.449 GB, free: 1.906 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.5444, allocations: 0.9999 MB / 1.45 GB, free: 0.9023 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007899/0.5452, allocations: 268 kB / 1.451 GB, free: 0.6406 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.5471, allocations: 0.6793 MB / 1.451 GB, free: 15.96 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007981/0.5479, allocations: 0.553 MB / 1.452 GB, free: 15.41 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00204/0.5499, allocations: 1.065 MB / 1.453 GB, free: 14.34 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004767/0.5547, allocations: 3.18 MB / 1.456 GB, free: 11.14 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5547, allocations: 0 / 1.456 GB, free: 11.14 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5547, allocations: 0 / 1.456 GB, free: 11.14 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.731e-05/0.5548, allocations: 7.875 kB / 1.456 GB, free: 11.14 MB / 1.154 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.005593/0.5604, allocations: 2.25 MB / 1.458 GB, free: 8.848 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5604, allocations: 12.03 kB / 1.458 GB, free: 8.836 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.421e-05/0.5605, allocations: 39.45 kB / 1.458 GB, free: 8.797 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003827/0.5609, allocations: 236.7 kB / 1.458 GB, free: 8.555 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007973/0.5688, allocations: 1.006 MB / 1.459 GB, free: 7.547 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.5714, allocations: 1.054 MB / 1.46 GB, free: 6.457 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.5715, allocations: 131.2 kB / 1.461 GB, free: 6.328 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00042/0.5719, allocations: 156 kB / 1.461 GB, free: 6.176 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006253/0.5782, allocations: 2.051 MB / 1.463 GB, free: 4.074 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.979e-05/0.5782, allocations: 7.938 kB / 1.463 GB, free: 4.066 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/0.5785, allocations: 68 kB / 1.463 GB, free: 4 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/0.5786, allocations: 40 kB / 1.463 GB, free: 3.961 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00746/0.586, allocations: 2.444 MB / 1.465 GB, free: 1.512 MB / 1.154 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.01393/0.6, allocations: 5.597 MB / 1.471 GB, free: 11.74 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005289/0.6053, allocations: 1.613 MB / 1.472 GB, free: 10.12 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/0.6078, allocations: 0.7316 MB / 1.473 GB, free: 9.387 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006329/0.6084, allocations: 101.5 kB / 1.473 GB, free: 9.289 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00322/0.6116, allocations: 1.078 MB / 1.474 GB, free: 8.191 MB / 1.17 GB Notification: Performance of pre-optimization done (n=139): time 3.878e-06/0.6116, allocations: 0 / 1.474 GB, free: 8.191 MB / 1.17 GB Notification: Performance of matching and sorting (n=139): time 0.009172/0.6208, allocations: 2.54 MB / 1.477 GB, free: 5.645 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.6209, allocations: 197.2 kB / 1.477 GB, free: 5.41 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.6227, allocations: 0.9148 MB / 1.478 GB, free: 4.473 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003189/0.623, allocations: 53.7 kB / 1.478 GB, free: 4.414 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007928/0.6238, allocations: 0.6577 MB / 1.478 GB, free: 3.746 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007097/0.6245, allocations: 468 kB / 1.479 GB, free: 3.285 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007059/0.6252, allocations: 262.8 kB / 1.479 GB, free: 3.02 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.6254, allocations: 349.9 kB / 1.479 GB, free: 2.672 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.6276, allocations: 0.6662 MB / 1.48 GB, free: 2.008 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/0.63, allocations: 0.8197 MB / 1.481 GB, free: 1.152 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004689/0.6347, allocations: 1.439 MB / 1.482 GB, free: 15.7 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.6347, allocations: 0 / 1.482 GB, free: 15.7 MB / 1.186 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.006139/0.6409, allocations: 1.793 MB / 1.484 GB, free: 13.89 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.6409, allocations: 4 kB / 1.484 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.6409, allocations: 7.938 kB / 1.484 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/0.6415, allocations: 88.77 kB / 1.484 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/0.6435, allocations: 331.5 kB / 1.484 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.646, allocations: 1.554 MB / 1.486 GB, free: 11.79 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.648, allocations: 201.6 kB / 1.486 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002667/0.6483, allocations: 63.95 kB / 1.486 GB, free: 11.53 MB / 1.186 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.001139/0.6494, allocations: 390 kB / 1.487 GB, free: 11.14 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004401/0.6499, allocations: 135.1 kB / 1.487 GB, free: 11.01 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006599/0.6565, allocations: 2.218 MB / 1.489 GB, free: 8.777 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.6565, allocations: 19.94 kB / 1.489 GB, free: 8.758 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.6565, allocations: 0 / 1.489 GB, free: 8.758 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/0.6565, allocations: 7.969 kB / 1.489 GB, free: 8.75 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.6595, allocations: 1.776 MB / 1.491 GB, free: 6.934 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.6595, allocations: 4 kB / 1.491 GB, free: 6.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/0.6613, allocations: 311.6 kB / 1.491 GB, free: 6.625 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004896/0.6618, allocations: 76.78 kB / 1.491 GB, free: 6.547 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/0.662, allocations: 43.95 kB / 1.491 GB, free: 6.504 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.6642, allocations: 1.574 MB / 1.493 GB, free: 4.812 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.6642, allocations: 4.062 kB / 1.493 GB, free: 4.809 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005861/0.67, allocations: 1.922 MB / 1.494 GB, free: 2.863 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009945/0.671, allocations: 370.5 kB / 1.495 GB, free: 2.5 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003503/0.6714, allocations: 32 kB / 1.495 GB, free: 2.469 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.673, allocations: 143.8 kB / 1.495 GB, free: 2.328 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/0.6733, allocations: 125 kB / 1.495 GB, free: 2.203 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/0.6734, allocations: 63.94 kB / 1.495 GB, free: 2.141 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001146/0.6746, allocations: 0.6587 MB / 1.496 GB, free: 1.473 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6746, allocations: 0 / 1.496 GB, free: 1.473 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001614/0.6762, allocations: 0.522 MB / 1.496 GB, free: 0.9492 MB / 1.186 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.008363/0.6846, allocations: 3.018 MB / 1.499 GB, free: 14.08 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006254/0.6908, allocations: 1.728 MB / 1.501 GB, free: 12.34 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.6908, allocations: 0 / 1.501 GB, free: 12.34 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003177/0.694, allocations: 0.9822 MB / 1.502 GB, free: 11.35 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.6961, allocations: 380 kB / 1.502 GB, free: 11 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0271/0.7232, allocations: 11.23 MB / 1.513 GB, free: 15.62 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.7244, allocations: 1.268 MB / 1.514 GB, free: 14.32 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002072/0.7265, allocations: 398.3 kB / 1.515 GB, free: 13.93 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/0.728, allocations: 0.671 MB / 1.516 GB, free: 13.25 MB / 1.217 GB Notification: Performance of SimCode: time 1.633e-06/0.728, allocations: 4 kB / 1.516 GB, free: 13.25 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/0.8303, allocations: 35.86 MB / 1.551 GB, free: 9.68 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/16.67, allocations: 13.05 kB / 1.551 GB, free: 9.676 MB / 1.248 GB " [Timeout remaining time 283] (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 --stepSize=34.56 --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) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 23.668716511980165] Failed to read output from testmodel.py, exit status != 0: 17.491213865985628 16.979595644 16.421177218 Calling exit ...