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.001837/0.001837, allocations: 116.8 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.002437/0.002437, allocations: 209.5 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.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 3.019/3.019, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 GB " [Timeout remaining time 176] 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.002138/0.002138, allocations: 63.91 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01029/1.029, allocations: 7.449 MB / 1.286 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2132/1.242, allocations: 155.1 MB / 1.438 GB, free: 9.402 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003626/1.246, allocations: 27.81 kB / 1.438 GB, free: 9.375 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/1.247, allocations: 309.1 kB / 1.438 GB, free: 9.07 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004161/1.251, allocations: 0.8351 MB / 1.439 GB, free: 8.234 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/1.255, allocations: 1.155 MB / 1.44 GB, free: 7.086 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003869/1.259, allocations: 2.373 MB / 1.442 GB, free: 4.707 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/1.26, allocations: 0.7853 MB / 1.443 GB, free: 3.867 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/1.262, allocations: 0.9463 MB / 1.444 GB, free: 2.918 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/1.263, allocations: 0.996 MB / 1.445 GB, free: 1.918 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003694/1.264, allocations: 264 kB / 1.445 GB, free: 1.66 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/1.265, allocations: 0.6753 MB / 1.446 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005448/1.266, allocations: 0.5608 MB / 1.446 GB, free: 432 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/1.267, allocations: 1.065 MB / 1.447 GB, free: 15.35 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004444/1.271, allocations: 3.165 MB / 1.451 GB, free: 12.18 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.271, allocations: 0 / 1.451 GB, free: 12.18 MB / 1.139 GB Notification: Performance of FrontEnd: time 5.39e-06/1.271, allocations: 4 kB / 1.451 GB, free: 12.17 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.397e-05/1.271, allocations: 11.88 kB / 1.451 GB, free: 12.16 MB / 1.139 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.005501/1.277, allocations: 2.322 MB / 1.453 GB, free: 9.781 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.277, allocations: 8.031 kB / 1.453 GB, free: 9.773 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.161e-05/1.277, allocations: 47.39 kB / 1.453 GB, free: 9.727 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003047/1.277, allocations: 236.7 kB / 1.453 GB, free: 9.484 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008142/1.285, allocations: 0.9984 MB / 1.454 GB, free: 8.484 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/1.288, allocations: 1.126 MB / 1.455 GB, free: 7.312 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/1.288, allocations: 127.2 kB / 1.455 GB, free: 7.188 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003194/1.288, allocations: 160 kB / 1.455 GB, free: 7.031 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005621/1.294, allocations: 2.055 MB / 1.457 GB, free: 4.926 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.313e-05/1.294, allocations: 3.984 kB / 1.457 GB, free: 4.922 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/1.294, allocations: 68 kB / 1.458 GB, free: 4.855 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.646e-05/1.294, allocations: 40 kB / 1.458 GB, free: 4.816 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006659/1.301, allocations: 2.448 MB / 1.46 GB, free: 2.363 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.01122/1.312, allocations: 5.662 MB / 1.465 GB, free: 12.53 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004553/1.317, allocations: 1.608 MB / 1.467 GB, free: 10.91 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/1.319, allocations: 0.7313 MB / 1.468 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007993/1.32, allocations: 491.1 kB / 1.468 GB, free: 9.602 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002697/1.322, allocations: 1.082 MB / 1.469 GB, free: 8.504 MB / 1.154 GB Notification: Performance of pre-optimization done (n=139): time 3.266e-06/1.322, allocations: 4 kB / 1.469 GB, free: 8.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=139): time 0.008431/1.331, allocations: 2.604 MB / 1.472 GB, free: 5.871 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/1.331, allocations: 201.2 kB / 1.472 GB, free: 5.629 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/1.332, allocations: 0.9109 MB / 1.473 GB, free: 4.695 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001959/1.333, allocations: 53.7 kB / 1.473 GB, free: 4.637 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007405/1.333, allocations: 0.6537 MB / 1.474 GB, free: 3.973 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005712/1.334, allocations: 476 kB / 1.474 GB, free: 3.504 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005463/1.335, allocations: 246.8 kB / 1.474 GB, free: 3.258 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002119/1.335, allocations: 353.9 kB / 1.475 GB, free: 2.906 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/1.337, allocations: 0.6779 MB / 1.475 GB, free: 2.227 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/1.339, allocations: 0.8197 MB / 1.476 GB, free: 1.379 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004341/1.343, allocations: 1.439 MB / 1.478 GB, free: 15.92 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.343, allocations: 0 / 1.478 GB, free: 15.92 MB / 1.17 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005809/1.349, allocations: 1.793 MB / 1.479 GB, free: 14.12 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/1.349, allocations: 8 kB / 1.479 GB, free: 14.11 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.349, allocations: 3.938 kB / 1.479 GB, free: 14.11 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006954/1.35, allocations: 88.77 kB / 1.479 GB, free: 14.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/1.352, allocations: 327.5 kB / 1.48 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/1.354, allocations: 1.664 MB / 1.481 GB, free: 11.89 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.356, allocations: 199.1 kB / 1.481 GB, free: 11.69 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/1.357, allocations: 51.95 kB / 1.482 GB, free: 11.64 MB / 1.17 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.001091/1.358, allocations: 394.2 kB / 1.482 GB, free: 11.25 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/1.358, allocations: 139.1 kB / 1.482 GB, free: 11.11 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006381/1.364, allocations: 2.21 MB / 1.484 GB, free: 8.887 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/1.364, allocations: 15.94 kB / 1.484 GB, free: 8.871 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.364, allocations: 4 kB / 1.484 GB, free: 8.867 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/1.364, allocations: 11.97 kB / 1.484 GB, free: 8.855 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/1.367, allocations: 1.808 MB / 1.486 GB, free: 7.004 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.367, allocations: 0 / 1.486 GB, free: 7.004 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/1.369, allocations: 311.5 kB / 1.486 GB, free: 6.699 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005045/1.369, allocations: 84.78 kB / 1.486 GB, free: 6.613 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/1.37, allocations: 43.95 kB / 1.486 GB, free: 6.57 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/1.372, allocations: 1.674 MB / 1.488 GB, free: 4.75 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.372, allocations: 0 / 1.488 GB, free: 4.75 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005819/1.378, allocations: 1.922 MB / 1.49 GB, free: 2.805 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.379, allocations: 451.5 kB / 1.49 GB, free: 2.344 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/1.379, allocations: 36 kB / 1.49 GB, free: 2.309 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/1.38, allocations: 139.8 kB / 1.491 GB, free: 2.172 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/1.381, allocations: 125 kB / 1.491 GB, free: 2.051 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/1.381, allocations: 63.94 kB / 1.491 GB, free: 1.988 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001072/1.382, allocations: 0.6626 MB / 1.491 GB, free: 1.316 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.382, allocations: 0 / 1.491 GB, free: 1.316 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00167/1.384, allocations: 0.5142 MB / 1.492 GB, free: 0.8008 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.007932/1.392, allocations: 3.029 MB / 1.495 GB, free: 13.93 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005347/1.397, allocations: 1.728 MB / 1.496 GB, free: 12.19 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.397, allocations: 0 / 1.496 GB, free: 12.19 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002888/1.4, allocations: 0.9783 MB / 1.497 GB, free: 11.2 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/1.402, allocations: 381.1 kB / 1.498 GB, free: 10.85 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02747/1.429, allocations: 11.22 MB / 1.509 GB, free: 15.46 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.43, allocations: 1.268 MB / 1.51 GB, free: 14.16 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001733/1.432, allocations: 394.3 kB / 1.51 GB, free: 13.77 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/1.433, allocations: 0.6746 MB / 1.511 GB, free: 13.1 MB / 1.201 GB Notification: Performance of SimCode: time 1.313e-06/1.433, allocations: 0 / 1.511 GB, free: 13.1 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08077/1.514, allocations: 34.9 MB / 1.545 GB, free: 10.57 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/16.69, allocations: 4.062 kB / 1.545 GB, free: 10.57 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.519859289983287] Failed to read output from testmodel.py, exit status != 0: 16.972555743006524 17.000874662 15.723338695 Calling exit ...