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.001811/0.001811, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001779/0.001779, allocations: 221.2 kB / 23.03 MB, free: 4.941 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.831/2.831, allocations: 476.8 MB / 0.7715 GB, free: 3.895 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.001984/0.001984, allocations: 63.66 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.341, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009675/0.3507, allocations: 6.555 MB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1859/0.5366, allocations: 133.7 MB / 1.421 GB, free: 13.91 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.5381, allocations: 23.81 kB / 1.421 GB, free: 13.89 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.5391, allocations: 317 kB / 1.421 GB, free: 13.58 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.5419, allocations: 0.8313 MB / 1.422 GB, free: 12.75 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.545, allocations: 1.164 MB / 1.423 GB, free: 11.59 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003858/0.5489, allocations: 2.376 MB / 1.426 GB, free: 9.203 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.5504, allocations: 0.7745 MB / 1.426 GB, free: 8.375 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.5522, allocations: 0.9502 MB / 1.427 GB, free: 7.422 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.5539, allocations: 0.996 MB / 1.428 GB, free: 6.422 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004318/0.5544, allocations: 268 kB / 1.429 GB, free: 6.16 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.5559, allocations: 0.6598 MB / 1.429 GB, free: 5.5 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000611/0.5565, allocations: 0.557 MB / 1.43 GB, free: 4.941 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.5575, allocations: 0.8634 MB / 1.431 GB, free: 4.074 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004422/0.562, allocations: 3.188 MB / 1.434 GB, free: 0.875 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.562, allocations: 0 / 1.434 GB, free: 0.875 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.833e-06/0.562, allocations: 0 / 1.434 GB, free: 0.875 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.752e-05/0.562, allocations: 0 / 1.434 GB, free: 0.875 MB / 1.123 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.005088/0.5671, allocations: 2.251 MB / 1.436 GB, free: 14.58 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.5672, allocations: 8.031 kB / 1.436 GB, free: 14.57 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.466e-05/0.5672, allocations: 43.45 kB / 1.436 GB, free: 14.53 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003153/0.5675, allocations: 240.7 kB / 1.436 GB, free: 14.29 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008395/0.5759, allocations: 0.9984 MB / 1.437 GB, free: 13.29 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/0.5789, allocations: 1.069 MB / 1.438 GB, free: 12.18 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.579, allocations: 123.3 kB / 1.438 GB, free: 12.06 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003318/0.5793, allocations: 156 kB / 1.438 GB, free: 11.91 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005138/0.5845, allocations: 2.31 MB / 1.441 GB, free: 9.484 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.5845, allocations: 3.938 kB / 1.441 GB, free: 9.48 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.5847, allocations: 68 kB / 1.441 GB, free: 9.414 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.464e-05/0.5847, allocations: 36 kB / 1.441 GB, free: 9.379 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006222/0.591, allocations: 2.444 MB / 1.443 GB, free: 6.93 MB / 1.139 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.01027/0.6012, allocations: 4.62 MB / 1.448 GB, free: 2.238 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004385/0.6056, allocations: 1.611 MB / 1.449 GB, free: 0.6211 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/0.6076, allocations: 0.7355 MB / 1.45 GB, free: 15.88 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005602/0.6082, allocations: 93.2 kB / 1.45 GB, free: 15.79 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002686/0.6108, allocations: 1.17 MB / 1.451 GB, free: 14.58 MB / 1.154 GB Notification: Performance of pre-optimization done (n=139): time 3.768e-06/0.6109, allocations: 0 / 1.451 GB, free: 14.58 MB / 1.154 GB Notification: Performance of matching and sorting (n=139): time 0.007851/0.6187, allocations: 2.536 MB / 1.454 GB, free: 12.04 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.6188, allocations: 193.2 kB / 1.454 GB, free: 11.8 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.6204, allocations: 0.9148 MB / 1.455 GB, free: 10.87 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.6205, allocations: 53.7 kB / 1.455 GB, free: 10.81 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006654/0.6212, allocations: 0.658 MB / 1.455 GB, free: 10.14 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004963/0.6217, allocations: 472 kB / 1.456 GB, free: 9.676 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005273/0.6222, allocations: 258.8 kB / 1.456 GB, free: 9.414 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.6224, allocations: 345.9 kB / 1.456 GB, free: 9.07 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/0.6244, allocations: 0.6701 MB / 1.457 GB, free: 8.402 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/0.6267, allocations: 0.9781 MB / 1.458 GB, free: 7.352 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004023/0.6307, allocations: 1.436 MB / 1.459 GB, free: 5.902 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6307, allocations: 0 / 1.459 GB, free: 5.902 MB / 1.154 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005302/0.636, allocations: 1.793 MB / 1.461 GB, free: 4.098 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.636, allocations: 4 kB / 1.461 GB, free: 4.094 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.6361, allocations: 3.938 kB / 1.461 GB, free: 4.09 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000611/0.6367, allocations: 88.83 kB / 1.461 GB, free: 4 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.6385, allocations: 331.5 kB / 1.462 GB, free: 3.676 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.641, allocations: 1.549 MB / 1.463 GB, free: 2.008 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.6428, allocations: 199.1 kB / 1.463 GB, free: 1.812 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.643, allocations: 51.95 kB / 1.463 GB, free: 1.762 MB / 1.154 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.001029/0.644, allocations: 399.2 kB / 1.464 GB, free: 1.363 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004077/0.6444, allocations: 143.1 kB / 1.464 GB, free: 1.223 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006336/0.6508, allocations: 2.202 MB / 1.466 GB, free: 15.01 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.6508, allocations: 23.88 kB / 1.466 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.6508, allocations: 0 / 1.466 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.6508, allocations: 7.969 kB / 1.466 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/0.6534, allocations: 1.464 MB / 1.468 GB, free: 13.47 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.6534, allocations: 0 / 1.468 GB, free: 13.47 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/0.6552, allocations: 319.5 kB / 1.468 GB, free: 13.16 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005012/0.6557, allocations: 64.8 kB / 1.468 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.6559, allocations: 55.94 kB / 1.468 GB, free: 13.04 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.6581, allocations: 1.57 MB / 1.469 GB, free: 11.35 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6581, allocations: 0 / 1.469 GB, free: 11.35 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005607/0.6637, allocations: 1.926 MB / 1.471 GB, free: 9.398 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.6647, allocations: 366.5 kB / 1.472 GB, free: 9.039 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/0.665, allocations: 35.94 kB / 1.472 GB, free: 9.004 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.6665, allocations: 139.8 kB / 1.472 GB, free: 8.867 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/0.6668, allocations: 125 kB / 1.472 GB, free: 8.742 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.667, allocations: 63.95 kB / 1.472 GB, free: 8.68 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001051/0.668, allocations: 0.6665 MB / 1.473 GB, free: 8.004 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/0.668, allocations: 0 / 1.473 GB, free: 8.004 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001415/0.6694, allocations: 0.5142 MB / 1.473 GB, free: 7.488 MB / 1.17 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.007796/0.6772, allocations: 3.058 MB / 1.476 GB, free: 4.613 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005435/0.6827, allocations: 1.728 MB / 1.478 GB, free: 2.871 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6827, allocations: 0 / 1.478 GB, free: 2.871 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002662/0.6853, allocations: 0.9782 MB / 1.479 GB, free: 1.883 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.6871, allocations: 378.4 kB / 1.479 GB, free: 1.535 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02563/0.7127, allocations: 11.21 MB / 1.49 GB, free: 6.168 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008227/0.7135, allocations: 0.6894 MB / 1.491 GB, free: 5.441 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001812/0.7153, allocations: 406.2 kB / 1.491 GB, free: 5.039 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/0.7166, allocations: 0.6749 MB / 1.492 GB, free: 4.363 MB / 1.186 GB Notification: Performance of SimCode: time 1.052e-06/0.7166, allocations: 0 / 1.492 GB, free: 4.363 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08476/0.8014, allocations: 36.86 MB / 1.528 GB, free: 15.99 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/16.86, allocations: 17.2 kB / 1.528 GB, free: 15.98 MB / 1.232 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.808263811981305] Failed to read output from testmodel.py, exit status != 0: 17.666039136005566 17.180303318 16.614231813 Calling exit ...