Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001542/0.001542, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.00203/0.00203, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.911/2.911, allocations: 0.5003 GB / 0.8026 GB, free: 6.91 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_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.002296/0.002296, allocations: 79.88 kB / 1.165 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9284/0.9307, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.007443/0.9381, allocations: 7.427 MB / 1.347 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2027/1.141, allocations: 155.2 MB / 1.499 GB, free: 5.348 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/1.143, allocations: 26.97 kB / 1.499 GB, free: 5.336 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001958/1.144, allocations: 439.3 kB / 1.499 GB, free: 4.996 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00345/1.148, allocations: 0.7877 MB / 1.5 GB, free: 4.363 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003371/1.151, allocations: 1.144 MB / 1.501 GB, free: 3.227 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00436/1.156, allocations: 2.489 MB / 1.504 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/1.157, allocations: 0.7737 MB / 1.504 GB, free: 15.91 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/1.159, allocations: 0.9502 MB / 1.505 GB, free: 14.95 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/1.161, allocations: 1.004 MB / 1.506 GB, free: 13.95 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006781/1.162, allocations: 268 kB / 1.507 GB, free: 13.68 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/1.164, allocations: 0.6792 MB / 1.507 GB, free: 13 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007425/1.164, allocations: 0.5725 MB / 1.508 GB, free: 12.43 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001499/1.166, allocations: 1.089 MB / 1.509 GB, free: 11.34 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005735/1.171, allocations: 3.215 MB / 1.512 GB, free: 8.109 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/1.171, allocations: 0 / 1.512 GB, free: 8.109 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.437e-06/1.171, allocations: 0 / 1.512 GB, free: 8.109 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001443/1.172, allocations: 0 / 1.512 GB, free: 8.109 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.006531/1.178, allocations: 2.392 MB / 1.514 GB, free: 5.652 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.178, allocations: 8.031 kB / 1.514 GB, free: 5.645 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.394e-05/1.178, allocations: 43.45 kB / 1.514 GB, free: 5.602 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003673/1.179, allocations: 232.7 kB / 1.515 GB, free: 5.363 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01761/1.196, allocations: 2.54 MB / 1.517 GB, free: 2.82 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/1.199, allocations: 1.212 MB / 1.518 GB, free: 1.566 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/1.199, allocations: 123.3 kB / 1.518 GB, free: 1.445 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004195/1.2, allocations: 156 kB / 1.519 GB, free: 1.293 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009882/1.209, allocations: 2.969 MB / 1.521 GB, free: 14.27 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/1.209, allocations: 0 / 1.521 GB, free: 14.27 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002308/1.21, allocations: 72 kB / 1.522 GB, free: 14.2 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/1.21, allocations: 40 kB / 1.522 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/1.225, allocations: 4.157 MB / 1.526 GB, free: 9.996 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01864/1.244, allocations: 8.596 MB / 1.534 GB, free: 0.543 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/1.254, allocations: 2.464 MB / 1.536 GB, free: 14.08 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006312/1.26, allocations: 1.578 MB / 1.538 GB, free: 12.5 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/1.26, allocations: 53.53 kB / 1.538 GB, free: 12.45 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007285/1.268, allocations: 1.959 MB / 1.54 GB, free: 10.46 MB / 1.217 GB Notification: Performance of pre-optimization done (n=139): time 3.226e-06/1.268, allocations: 0 / 1.54 GB, free: 10.46 MB / 1.217 GB Notification: Performance of matching and sorting (n=139): time 0.02082/1.288, allocations: 5.03 MB / 1.545 GB, free: 5.41 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/1.289, allocations: 222.9 kB / 1.545 GB, free: 5.145 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/1.29, allocations: 0.9694 MB / 1.546 GB, free: 4.156 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002997/1.29, allocations: 53.7 kB / 1.546 GB, free: 4.098 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006325/1.291, allocations: 0.6734 MB / 1.547 GB, free: 3.414 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005341/1.292, allocations: 472 kB / 1.547 GB, free: 2.949 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005921/1.292, allocations: 262.7 kB / 1.547 GB, free: 2.684 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.292, allocations: 361.9 kB / 1.548 GB, free: 2.324 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006164/1.298, allocations: 1.517 MB / 1.549 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00663/1.305, allocations: 1.678 MB / 1.551 GB, free: 15.09 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/1.317, allocations: 2.841 MB / 1.554 GB, free: 12.23 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/1.317, allocations: 0 / 1.554 GB, free: 12.23 MB / 1.232 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.01412/1.331, allocations: 3.362 MB / 1.557 GB, free: 8.859 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.332, allocations: 8 kB / 1.557 GB, free: 8.852 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.332, allocations: 0 / 1.557 GB, free: 8.852 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/1.332, allocations: 96.62 kB / 1.557 GB, free: 8.758 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003918/1.336, allocations: 0.6398 MB / 1.558 GB, free: 8.117 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/1.339, allocations: 1.643 MB / 1.559 GB, free: 6.328 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/1.342, allocations: 0.5067 MB / 1.56 GB, free: 5.82 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/1.343, allocations: 60 kB / 1.56 GB, free: 5.762 MB / 1.232 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.001056/1.344, allocations: 403.7 kB / 1.56 GB, free: 5.359 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/1.344, allocations: 143.1 kB / 1.56 GB, free: 5.219 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/1.359, allocations: 3.834 MB / 1.564 GB, free: 1.371 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/1.359, allocations: 23.94 kB / 1.564 GB, free: 1.348 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.359, allocations: 0 / 1.564 GB, free: 1.348 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/1.359, allocations: 7.969 kB / 1.564 GB, free: 1.34 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/1.363, allocations: 2.841 MB / 1.567 GB, free: 14.14 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.363, allocations: 0 / 1.567 GB, free: 14.14 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004035/1.367, allocations: 0.6281 MB / 1.568 GB, free: 13.51 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/1.368, allocations: 76.78 kB / 1.568 GB, free: 13.43 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000261/1.368, allocations: 43.95 kB / 1.568 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/1.37, allocations: 1.678 MB / 1.569 GB, free: 11.57 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.37, allocations: 0 / 1.569 GB, free: 11.57 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/1.384, allocations: 3.495 MB / 1.573 GB, free: 8.043 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.385, allocations: 499.6 kB / 1.573 GB, free: 7.535 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003161/1.386, allocations: 43.89 kB / 1.573 GB, free: 7.492 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003469/1.389, allocations: 464.8 kB / 1.574 GB, free: 7.039 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/1.39, allocations: 113.1 kB / 1.574 GB, free: 6.93 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/1.39, allocations: 63.94 kB / 1.574 GB, free: 6.867 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001138/1.391, allocations: 0.711 MB / 1.575 GB, free: 6.148 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.391, allocations: 4 kB / 1.575 GB, free: 6.145 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001498/1.392, allocations: 0.53 MB / 1.575 GB, free: 5.613 MB / 1.248 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.01676/1.409, allocations: 4.583 MB / 1.58 GB, free: 1.18 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01409/1.423, allocations: 3.426 MB / 1.583 GB, free: 13.73 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.423, allocations: 0 / 1.583 GB, free: 13.73 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.007179/1.43, allocations: 1.841 MB / 1.585 GB, free: 11.88 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/1.432, allocations: 401.8 kB / 1.585 GB, free: 11.51 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05255/1.485, allocations: 16.53 MB / 1.601 GB, free: 10.83 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/1.486, allocations: 1.288 MB / 1.602 GB, free: 9.508 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002134/1.488, allocations: 442.5 kB / 1.603 GB, free: 9.07 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/1.489, allocations: 0.7022 MB / 1.604 GB, free: 8.367 MB / 1.279 GB Notification: Performance of SimCode: time 8.42e-07/1.489, allocations: 0 / 1.604 GB, free: 8.367 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08236/1.572, allocations: 38.75 MB / 1.641 GB, free: 1.977 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/16.13, allocations: 4.938 kB / 1.641 GB, free: 1.973 MB / 1.311 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 22.612520901020616] Failed to read output from testmodel.py, exit status != 0: 16.395847637963016 16.410244609 15.235556045 Calling exit ...