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.001722/0.001722, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002001/0.002001, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.796/2.796, allocations: 0.49 GB / 0.7923 GB, free: 1.332 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.002031/0.002031, allocations: 63.91 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9753/0.9773, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.007241/0.9845, allocations: 7.428 MB / 1.329 GB, free: 19.44 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2063/1.191, allocations: 155.2 MB / 1.48 GB, free: 1.332 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/1.192, allocations: 26.34 kB / 1.48 GB, free: 1.32 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/1.194, allocations: 436.1 kB / 1.481 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002727/1.197, allocations: 0.7861 MB / 1.481 GB, free: 376 kB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/1.2, allocations: 1.15 MB / 1.483 GB, free: 15.46 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004295/1.204, allocations: 2.477 MB / 1.485 GB, free: 13.93 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/1.206, allocations: 0.7829 MB / 1.486 GB, free: 13.34 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/1.208, allocations: 0.9426 MB / 1.487 GB, free: 12.76 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/1.209, allocations: 1 MB / 1.488 GB, free: 12.03 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003505/1.21, allocations: 267.4 kB / 1.488 GB, free: 12.03 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/1.211, allocations: 0.6801 MB / 1.489 GB, free: 11.82 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000585/1.212, allocations: 0.5725 MB / 1.489 GB, free: 11.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001242/1.213, allocations: 1.091 MB / 1.49 GB, free: 10.52 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004645/1.218, allocations: 3.222 MB / 1.493 GB, free: 8.094 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.218, allocations: 1.156 kB / 1.493 GB, free: 8.094 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.924e-06/1.218, allocations: 0 / 1.493 GB, free: 8.094 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.777e-05/1.218, allocations: 0 / 1.493 GB, free: 8.094 MB / 1.17 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.005859/1.224, allocations: 2.378 MB / 1.496 GB, free: 6.312 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.224, allocations: 13.17 kB / 1.496 GB, free: 6.309 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.918e-05/1.224, allocations: 46.36 kB / 1.496 GB, free: 6.301 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003263/1.224, allocations: 236.2 kB / 1.496 GB, free: 6.113 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008118/1.232, allocations: 1.014 MB / 1.497 GB, free: 5.527 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/1.235, allocations: 1.149 MB / 1.498 GB, free: 4.332 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/1.235, allocations: 127.2 kB / 1.498 GB, free: 4.207 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/1.235, allocations: 159.9 kB / 1.498 GB, free: 4.051 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004955/1.24, allocations: 2.06 MB / 1.5 GB, free: 1.938 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/1.24, allocations: 0 / 1.5 GB, free: 1.938 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/1.24, allocations: 68 kB / 1.5 GB, free: 1.871 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/1.24, allocations: 40 kB / 1.5 GB, free: 1.832 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006154/1.247, allocations: 2.452 MB / 1.503 GB, free: 15.38 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/1.257, allocations: 5.942 MB / 1.509 GB, free: 9.195 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004592/1.262, allocations: 1.614 MB / 1.51 GB, free: 7.574 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/1.264, allocations: 0.7256 MB / 1.511 GB, free: 6.848 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007808/1.265, allocations: 499.1 kB / 1.511 GB, free: 6.266 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002656/1.267, allocations: 1.079 MB / 1.512 GB, free: 5.168 MB / 1.186 GB Notification: Performance of pre-optimization done (n=139): time 3.126e-06/1.267, allocations: 0 / 1.512 GB, free: 5.168 MB / 1.186 GB Notification: Performance of matching and sorting (n=139): time 0.008237/1.276, allocations: 2.618 MB / 1.515 GB, free: 2.527 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/1.276, allocations: 222.9 kB / 1.515 GB, free: 2.258 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/1.277, allocations: 0.9732 MB / 1.516 GB, free: 1.266 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001895/1.278, allocations: 61.69 kB / 1.516 GB, free: 1.199 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006512/1.278, allocations: 0.6695 MB / 1.517 GB, free: 0.5195 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004918/1.279, allocations: 472 kB / 1.517 GB, free: 56 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005024/1.279, allocations: 246.8 kB / 1.518 GB, free: 15.81 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.28, allocations: 361.8 kB / 1.518 GB, free: 15.45 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/1.282, allocations: 0.6702 MB / 1.519 GB, free: 14.78 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/1.284, allocations: 0.8197 MB / 1.519 GB, free: 13.93 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004112/1.288, allocations: 1.447 MB / 1.521 GB, free: 12.46 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.288, allocations: 0 / 1.521 GB, free: 12.46 MB / 1.201 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005549/1.293, allocations: 1.805 MB / 1.523 GB, free: 10.65 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/1.293, allocations: 5.875 kB / 1.523 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.293, allocations: 4 kB / 1.523 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/1.294, allocations: 84.78 kB / 1.523 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/1.296, allocations: 331.5 kB / 1.523 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/1.298, allocations: 1.649 MB / 1.525 GB, free: 8.441 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/1.3, allocations: 203.1 kB / 1.525 GB, free: 8.242 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/1.3, allocations: 56.14 kB / 1.525 GB, free: 8.188 MB / 1.201 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.001/1.301, allocations: 399.8 kB / 1.525 GB, free: 7.789 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/1.302, allocations: 143.1 kB / 1.525 GB, free: 7.648 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006219/1.308, allocations: 2.226 MB / 1.528 GB, free: 5.406 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/1.308, allocations: 23.92 kB / 1.528 GB, free: 5.383 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.308, allocations: 0 / 1.528 GB, free: 5.383 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/1.308, allocations: 7.969 kB / 1.528 GB, free: 5.375 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/1.311, allocations: 1.821 MB / 1.529 GB, free: 3.508 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.311, allocations: 4 kB / 1.529 GB, free: 3.504 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/1.313, allocations: 319.5 kB / 1.53 GB, free: 3.191 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004558/1.313, allocations: 72.78 kB / 1.53 GB, free: 3.117 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/1.313, allocations: 43.95 kB / 1.53 GB, free: 3.074 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/1.315, allocations: 1.678 MB / 1.531 GB, free: 1.246 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.315, allocations: 4 kB / 1.531 GB, free: 1.242 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00545/1.321, allocations: 1.93 MB / 1.533 GB, free: 15.29 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008095/1.321, allocations: 451.6 kB / 1.534 GB, free: 14.82 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/1.322, allocations: 39.94 kB / 1.534 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.323, allocations: 135.8 kB / 1.534 GB, free: 14.65 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/1.323, allocations: 125 kB / 1.534 GB, free: 14.53 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/1.324, allocations: 63.94 kB / 1.534 GB, free: 14.47 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001064/1.325, allocations: 0.7072 MB / 1.535 GB, free: 13.75 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/1.325, allocations: 0 / 1.535 GB, free: 13.75 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001509/1.326, allocations: 0.522 MB / 1.535 GB, free: 13.23 MB / 1.217 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.007619/1.334, allocations: 3.026 MB / 1.538 GB, free: 10.36 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004938/1.339, allocations: 1.735 MB / 1.54 GB, free: 8.609 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.339, allocations: 0 / 1.54 GB, free: 8.609 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002486/1.341, allocations: 0.9822 MB / 1.541 GB, free: 7.617 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/1.343, allocations: 398 kB / 1.541 GB, free: 7.25 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/1.368, allocations: 11.49 MB / 1.552 GB, free: 11.59 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/1.369, allocations: 1.286 MB / 1.554 GB, free: 10.28 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001741/1.371, allocations: 402.6 kB / 1.554 GB, free: 9.879 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.372, allocations: 0.6983 MB / 1.555 GB, free: 9.18 MB / 1.232 GB Notification: Performance of SimCode: time 8.02e-07/1.372, allocations: 0 / 1.555 GB, free: 9.18 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07788/1.45, allocations: 36.17 MB / 1.59 GB, free: 5.367 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.89, allocations: 10.44 kB / 1.59 GB, free: 5.359 MB / 1.264 GB " [Timeout remaining time 284] (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: 22.28799340297701] Failed to read output from testmodel.py, exit status != 0: 16.154252530017402 16.169474467 14.948697164 Calling exit ...