Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001184/0.001184, 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.001292/0.001292, allocations: 217 kB / 23.04 MB, free: 5.074 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.303/1.303, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.844/2.844, allocations: 0.49 GB / 0.7959 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_12_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.001827/0.001827, allocations: 65.31 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2866, allocations: 176.1 MB / 1.327 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009268/0.2959, allocations: 7.471 MB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1724/0.4683, allocations: 155.3 MB / 1.486 GB, free: 14.52 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.4695, allocations: 27.81 kB / 1.486 GB, free: 14.49 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.4708, allocations: 440.7 kB / 1.486 GB, free: 14.05 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.4729, allocations: 0.788 MB / 1.487 GB, free: 13.27 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.4753, allocations: 1.171 MB / 1.488 GB, free: 12.1 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003042/0.4784, allocations: 2.486 MB / 1.49 GB, free: 9.609 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.4796, allocations: 0.7745 MB / 1.491 GB, free: 8.781 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.4808, allocations: 0.9463 MB / 1.492 GB, free: 7.832 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.482, allocations: 1.004 MB / 1.493 GB, free: 6.824 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003105/0.4823, allocations: 268 kB / 1.493 GB, free: 6.562 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.4835, allocations: 0.6792 MB / 1.494 GB, free: 5.883 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005378/0.4841, allocations: 0.5764 MB / 1.495 GB, free: 5.305 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.4853, allocations: 1.093 MB / 1.496 GB, free: 4.207 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003879/0.4891, allocations: 3.223 MB / 1.499 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4891, allocations: 0 / 1.499 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4891, allocations: 0 / 1.499 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.4892, allocations: 0 / 1.499 GB, free: 0.9727 MB / 1.186 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.004467/0.4936, allocations: 2.303 MB / 1.501 GB, free: 14.62 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4937, allocations: 12.03 kB / 1.501 GB, free: 14.61 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.819e-05/0.4937, allocations: 43.45 kB / 1.501 GB, free: 14.57 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002818/0.494, allocations: 236.7 kB / 1.501 GB, free: 14.33 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007367/0.5014, allocations: 1.006 MB / 1.502 GB, free: 13.32 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.5036, allocations: 1.087 MB / 1.503 GB, free: 12.2 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.5037, allocations: 123.2 kB / 1.503 GB, free: 12.08 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/0.504, allocations: 160 kB / 1.504 GB, free: 11.92 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004795/0.5088, allocations: 2.063 MB / 1.506 GB, free: 9.805 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.5088, allocations: 3.984 kB / 1.506 GB, free: 9.801 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/0.509, allocations: 68 kB / 1.506 GB, free: 9.734 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.509, allocations: 40 kB / 1.506 GB, free: 9.695 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006062/0.5151, allocations: 2.448 MB / 1.508 GB, free: 7.242 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/0.5253, allocations: 5.876 MB / 1.514 GB, free: 1.129 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004334/0.5296, allocations: 1.61 MB / 1.515 GB, free: 15.52 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.5316, allocations: 0.724 MB / 1.516 GB, free: 14.79 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005115/0.5321, allocations: 113.5 kB / 1.516 GB, free: 14.68 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002539/0.5347, allocations: 1.078 MB / 1.517 GB, free: 13.58 MB / 1.217 GB Notification: Performance of pre-optimization done (n=139): time 2.856e-06/0.5347, allocations: 0 / 1.517 GB, free: 13.58 MB / 1.217 GB Notification: Performance of matching and sorting (n=139): time 0.007712/0.5424, allocations: 2.548 MB / 1.52 GB, free: 11.02 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.5425, allocations: 222.9 kB / 1.52 GB, free: 10.76 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.5439, allocations: 0.9732 MB / 1.521 GB, free: 9.766 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.5441, allocations: 57.69 kB / 1.521 GB, free: 9.703 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006131/0.5447, allocations: 0.6734 MB / 1.522 GB, free: 9.02 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000456/0.5452, allocations: 472 kB / 1.522 GB, free: 8.555 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004748/0.5456, allocations: 250.8 kB / 1.522 GB, free: 8.301 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.5458, allocations: 357.9 kB / 1.523 GB, free: 7.945 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.5478, allocations: 0.6702 MB / 1.523 GB, free: 7.277 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/0.55, allocations: 0.8275 MB / 1.524 GB, free: 6.418 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004048/0.554, allocations: 1.447 MB / 1.526 GB, free: 4.957 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.554, allocations: 0 / 1.526 GB, free: 4.957 MB / 1.217 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005292/0.5593, allocations: 1.801 MB / 1.527 GB, free: 3.145 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5594, allocations: 4 kB / 1.527 GB, free: 3.141 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5594, allocations: 7.984 kB / 1.527 GB, free: 3.133 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/0.5599, allocations: 80.84 kB / 1.527 GB, free: 3.051 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.5617, allocations: 335.5 kB / 1.528 GB, free: 2.723 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.5639, allocations: 1.55 MB / 1.529 GB, free: 1.051 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.5656, allocations: 201 kB / 1.529 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.5657, allocations: 63.94 kB / 1.53 GB, free: 0.793 MB / 1.217 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.0008176/0.5665, allocations: 392.8 kB / 1.53 GB, free: 408 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.5669, allocations: 143.1 kB / 1.53 GB, free: 264 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006031/0.5729, allocations: 2.23 MB / 1.532 GB, free: 14.01 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.5729, allocations: 16 kB / 1.532 GB, free: 13.99 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5729, allocations: 0 / 1.532 GB, free: 13.99 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.5729, allocations: 7.969 kB / 1.532 GB, free: 13.98 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.5753, allocations: 1.8 MB / 1.534 GB, free: 12.14 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5753, allocations: 0 / 1.534 GB, free: 12.14 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.577, allocations: 307.6 kB / 1.534 GB, free: 11.84 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004292/0.5774, allocations: 80.72 kB / 1.534 GB, free: 11.76 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.5775, allocations: 43.95 kB / 1.534 GB, free: 11.72 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.5795, allocations: 1.582 MB / 1.536 GB, free: 10.02 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5795, allocations: 0 / 1.536 GB, free: 10.02 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005326/0.5849, allocations: 1.93 MB / 1.538 GB, free: 8.07 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008299/0.5857, allocations: 382.5 kB / 1.538 GB, free: 7.695 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.5859, allocations: 39.89 kB / 1.538 GB, free: 7.656 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.5874, allocations: 139.8 kB / 1.538 GB, free: 7.52 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/0.5876, allocations: 121.1 kB / 1.538 GB, free: 7.398 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/0.5878, allocations: 55.95 kB / 1.539 GB, free: 7.344 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001048/0.5888, allocations: 0.711 MB / 1.539 GB, free: 6.625 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.5888, allocations: 4 kB / 1.539 GB, free: 6.621 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001304/0.5901, allocations: 0.5182 MB / 1.54 GB, free: 6.102 MB / 1.232 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.007294/0.5974, allocations: 3.03 MB / 1.543 GB, free: 3.223 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004988/0.6024, allocations: 1.728 MB / 1.544 GB, free: 1.48 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6024, allocations: 0 / 1.544 GB, free: 1.48 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002587/0.605, allocations: 0.9821 MB / 1.545 GB, free: 500 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.6067, allocations: 408.9 kB / 1.546 GB, free: 112 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02371/0.6304, allocations: 11.48 MB / 1.557 GB, free: 4.469 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009726/0.6314, allocations: 1.29 MB / 1.558 GB, free: 3.148 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001554/0.6329, allocations: 398.6 kB / 1.559 GB, free: 2.754 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.6341, allocations: 0.6906 MB / 1.559 GB, free: 2.062 MB / 1.248 GB Notification: Performance of SimCode: time 7.71e-07/0.6341, allocations: 0 / 1.559 GB, free: 2.062 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07676/0.7108, allocations: 37.14 MB / 1.596 GB, free: 13.24 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/14.82, allocations: 8 kB / 1.596 GB, free: 13.23 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 21.435221783991437] Failed to read output from testmodel.py, exit status != 0: 15.103768236003816 15.630394672 14.630676743 Calling exit ...