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.001307/0.001307, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001418/0.001418, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 3.043/3.043, allocations: 0.49 GB / 0.7959 GB, free: 35.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.001926/0.001926, allocations: 66.81 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3118, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.00935/0.3212, allocations: 6.543 MB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.4931, allocations: 133.7 MB / 1.464 GB, free: 4.672 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.4951, allocations: 27.81 kB / 1.464 GB, free: 4.645 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.4971, allocations: 432.7 kB / 1.464 GB, free: 4.219 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003357/0.5005, allocations: 0.7831 MB / 1.465 GB, free: 3.434 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.5038, allocations: 1.159 MB / 1.466 GB, free: 2.281 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003977/0.5078, allocations: 2.482 MB / 1.468 GB, free: 15.79 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.5095, allocations: 0.7745 MB / 1.469 GB, free: 14.96 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.5111, allocations: 0.9463 MB / 1.47 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/0.5128, allocations: 1.004 MB / 1.471 GB, free: 13.01 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006155/0.5134, allocations: 268 kB / 1.471 GB, free: 12.75 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.515, allocations: 0.6636 MB / 1.472 GB, free: 12.08 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006657/0.5157, allocations: 0.5725 MB / 1.472 GB, free: 11.51 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.5168, allocations: 0.8828 MB / 1.473 GB, free: 10.62 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003898/0.5207, allocations: 3.235 MB / 1.476 GB, free: 7.375 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5207, allocations: 0 / 1.476 GB, free: 7.375 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5207, allocations: 0 / 1.476 GB, free: 7.375 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.73e-05/0.5207, allocations: 4 kB / 1.476 GB, free: 7.371 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.004776/0.5255, allocations: 2.301 MB / 1.479 GB, free: 5.027 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.5255, allocations: 8.031 kB / 1.479 GB, free: 5.02 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.563e-05/0.5256, allocations: 43.45 kB / 1.479 GB, free: 4.977 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002965/0.5259, allocations: 236.7 kB / 1.479 GB, free: 4.734 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008186/0.5341, allocations: 1.01 MB / 1.48 GB, free: 3.723 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.5364, allocations: 1.089 MB / 1.481 GB, free: 2.598 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.5365, allocations: 119.3 kB / 1.481 GB, free: 2.48 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.5368, allocations: 156 kB / 1.481 GB, free: 2.328 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004883/0.5417, allocations: 2.343 MB / 1.484 GB, free: 15.86 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.5417, allocations: 0 / 1.484 GB, free: 15.86 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.5419, allocations: 68 kB / 1.484 GB, free: 15.79 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.5419, allocations: 40 kB / 1.484 GB, free: 15.75 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0061/0.548, allocations: 2.456 MB / 1.486 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.5582, allocations: 4.639 MB / 1.491 GB, free: 8.582 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004365/0.5625, allocations: 1.614 MB / 1.492 GB, free: 6.965 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.5646, allocations: 0.7275 MB / 1.493 GB, free: 6.23 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005698/0.5651, allocations: 97.2 kB / 1.493 GB, free: 6.137 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002727/0.5679, allocations: 1.172 MB / 1.494 GB, free: 4.918 MB / 1.186 GB Notification: Performance of pre-optimization done (n=139): time 3.376e-06/0.5679, allocations: 0 / 1.494 GB, free: 4.918 MB / 1.186 GB Notification: Performance of matching and sorting (n=139): time 0.007931/0.5758, allocations: 2.546 MB / 1.497 GB, free: 2.367 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/0.576, allocations: 230.9 kB / 1.497 GB, free: 2.094 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.5774, allocations: 0.9694 MB / 1.498 GB, free: 1.105 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.5776, allocations: 53.7 kB / 1.498 GB, free: 1.047 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006563/0.5782, allocations: 0.6772 MB / 1.499 GB, free: 368 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/0.5787, allocations: 468.2 kB / 1.499 GB, free: 15.89 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004891/0.5792, allocations: 254.8 kB / 1.499 GB, free: 15.64 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.5794, allocations: 357.7 kB / 1.5 GB, free: 15.29 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/0.5813, allocations: 0.674 MB / 1.5 GB, free: 14.61 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/0.5835, allocations: 0.9704 MB / 1.501 GB, free: 13.57 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00391/0.5874, allocations: 1.451 MB / 1.503 GB, free: 12.11 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5874, allocations: 0 / 1.503 GB, free: 12.11 MB / 1.201 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005168/0.5926, allocations: 1.797 MB / 1.504 GB, free: 10.3 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5926, allocations: 4 kB / 1.504 GB, free: 10.3 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5926, allocations: 3.938 kB / 1.504 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006286/0.5932, allocations: 88.83 kB / 1.504 GB, free: 10.2 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.5951, allocations: 335.5 kB / 1.505 GB, free: 9.875 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.5973, allocations: 1.539 MB / 1.506 GB, free: 8.215 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.5991, allocations: 212.6 kB / 1.506 GB, free: 8.008 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.5992, allocations: 51.95 kB / 1.507 GB, free: 7.957 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.0008575/0.6001, allocations: 408.8 kB / 1.507 GB, free: 7.547 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.6004, allocations: 143 kB / 1.507 GB, free: 7.406 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006085/0.6065, allocations: 2.215 MB / 1.509 GB, free: 5.176 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.6065, allocations: 19.94 kB / 1.509 GB, free: 5.156 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6065, allocations: 0 / 1.509 GB, free: 5.156 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.6065, allocations: 7.969 kB / 1.509 GB, free: 5.148 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.6086, allocations: 1.477 MB / 1.511 GB, free: 3.629 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6086, allocations: 3.938 kB / 1.511 GB, free: 3.625 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.6104, allocations: 307.6 kB / 1.511 GB, free: 3.324 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004454/0.6108, allocations: 80.78 kB / 1.511 GB, free: 3.242 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.6109, allocations: 43.95 kB / 1.511 GB, free: 3.199 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.613, allocations: 1.57 MB / 1.513 GB, free: 1.512 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.613, allocations: 4 kB / 1.513 GB, free: 1.508 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005154/0.6181, allocations: 1.922 MB / 1.514 GB, free: 15.57 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007846/0.6189, allocations: 374.5 kB / 1.515 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.6191, allocations: 39.88 kB / 1.515 GB, free: 15.16 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.6207, allocations: 147.8 kB / 1.515 GB, free: 15.02 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.6209, allocations: 125 kB / 1.515 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.6211, allocations: 63.94 kB / 1.515 GB, free: 14.83 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001072/0.6222, allocations: 0.7032 MB / 1.516 GB, free: 14.12 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6222, allocations: 0 / 1.516 GB, free: 14.12 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001431/0.6236, allocations: 0.522 MB / 1.516 GB, free: 13.59 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.007819/0.6314, allocations: 3.059 MB / 1.519 GB, free: 10.72 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004899/0.6363, allocations: 1.728 MB / 1.521 GB, free: 8.977 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6363, allocations: 4.125 kB / 1.521 GB, free: 8.973 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.6389, allocations: 0.982 MB / 1.522 GB, free: 7.98 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.6407, allocations: 407.1 kB / 1.522 GB, free: 7.602 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/0.6663, allocations: 11.48 MB / 1.534 GB, free: 11.97 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009134/0.6672, allocations: 0.7079 MB / 1.534 GB, free: 11.22 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001709/0.6689, allocations: 414.5 kB / 1.535 GB, free: 10.81 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.6702, allocations: 0.6866 MB / 1.535 GB, free: 10.12 MB / 1.232 GB Notification: Performance of SimCode: time 6.41e-07/0.6702, allocations: 0 / 1.535 GB, free: 10.12 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07998/0.7502, allocations: 38.3 MB / 1.573 GB, free: 4.344 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.21, allocations: 14.58 kB / 1.573 GB, free: 4.332 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.82438590505626] Failed to read output from testmodel.py, exit status != 0: 16.5010208489839 16.525258726 16.000017669 Calling exit ...