Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 114 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 186.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 225.6 MB / 249.4 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.834/2.834, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002797/0.002797, allocations: 67.89 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.177, allocations: 168.7 MB / 1.272 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003926/1.181, allocations: 2.472 MB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00226/1.183, allocations: 1.539 MB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/1.183, allocations: 8 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007251/1.184, allocations: 214.6 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000417/1.184, allocations: 165.8 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/1.185, allocations: 192.7 kB / 1.276 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000452/1.185, allocations: 350.2 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/1.185, allocations: 59.55 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/1.186, allocations: 143.2 kB / 1.277 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/1.186, allocations: 166.8 kB / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/1.186, allocations: 21.5 kB / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/1.186, allocations: 62.56 kB / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/1.186, allocations: 134.5 kB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/1.186, allocations: 187.2 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006803/1.187, allocations: 0.511 MB / 1.278 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.187, allocations: 0 / 1.278 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/1.187, allocations: 1 kB / 1.278 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.676e-06/1.187, allocations: 0 / 1.278 GB, free: 3.898 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001275/1.188, allocations: 0.8189 MB / 1.278 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.188, allocations: 13.78 kB / 1.278 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.793e-05/1.188, allocations: 46.08 kB / 1.278 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/1.188, allocations: 59.41 kB / 1.278 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/1.189, allocations: 424.6 kB / 1.279 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/1.189, allocations: 17.91 kB / 1.279 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/1.189, allocations: 13.75 kB / 1.279 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/1.189, allocations: 141.6 kB / 1.279 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.189, allocations: 0.8438 kB / 1.279 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/1.189, allocations: 8.969 kB / 1.279 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.189, allocations: 3.688 kB / 1.279 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/1.19, allocations: 80.84 kB / 1.279 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009973/1.191, allocations: 0.6435 MB / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/1.191, allocations: 126.4 kB / 1.28 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/1.191, allocations: 44.23 kB / 1.28 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/1.191, allocations: 2.516 kB / 1.28 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/1.191, allocations: 110.5 kB / 1.28 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/1.191, allocations: 4 kB / 1.28 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0005226/1.192, allocations: 217.9 kB / 1.28 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/1.192, allocations: 53.41 kB / 1.28 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009115/1.193, allocations: 0.6532 MB / 1.281 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/1.193, allocations: 31.83 kB / 1.281 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/1.193, allocations: 257.5 kB / 1.281 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/1.193, allocations: 37.12 kB / 1.281 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/1.193, allocations: 55.56 kB / 1.281 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.322e-05/1.193, allocations: 374.5 kB / 1.282 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/1.193, allocations: 80.91 kB / 1.282 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/1.193, allocations: 115.4 kB / 1.282 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/1.194, allocations: 124.7 kB / 1.282 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.194, allocations: 0 / 1.282 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003719/1.194, allocations: 280.3 kB / 1.282 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.194, allocations: 7.938 kB / 1.282 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.194, allocations: 0.7031 kB / 1.282 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.194, allocations: 3.688 kB / 1.282 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/1.194, allocations: 44.34 kB / 1.282 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.194, allocations: 2.859 kB / 1.282 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/1.194, allocations: 29.83 kB / 1.282 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/1.194, allocations: 5.484 kB / 1.282 GB, free: 0.7148 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000193/1.195, allocations: 214.6 kB / 1.283 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/1.195, allocations: 55.47 kB / 1.283 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/1.195, allocations: 188.4 kB / 1.283 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.195, allocations: 0 / 1.283 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.195, allocations: 1.844 kB / 1.283 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.195, allocations: 0.5625 kB / 1.283 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/1.195, allocations: 374.2 kB / 1.283 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/1.195, allocations: 0 / 1.283 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/1.196, allocations: 11.11 kB / 1.283 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.196, allocations: 5.906 kB / 1.283 GB, free: 168 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/1.196, allocations: 5.312 kB / 1.283 GB, free: 164 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.196, allocations: 1.719 kB / 1.283 GB, free: 164 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.196, allocations: 0.5625 kB / 1.283 GB, free: 164 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/1.196, allocations: 266.6 kB / 1.283 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/1.196, allocations: 132.5 kB / 1.284 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/1.196, allocations: 6.891 kB / 1.284 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/1.196, allocations: 15.98 kB / 1.284 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/1.196, allocations: 24.86 kB / 1.284 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/1.196, allocations: 3.844 kB / 1.284 GB, free: 15.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000494/1.197, allocations: 431.6 kB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.197, allocations: 0 / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003059/1.197, allocations: 57.72 kB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002158/1.199, allocations: 1.128 MB / 1.285 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003588/1.2, allocations: 148.8 kB / 1.285 GB, free: 14.83 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.2, allocations: 0 / 1.285 GB, free: 14.83 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/1.2, allocations: 56.16 kB / 1.285 GB, free: 14.81 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/1.2, allocations: 73.03 kB / 1.285 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/1.205, allocations: 3.814 MB / 1.289 GB, free: 12.71 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/1.206, allocations: 0.8614 MB / 1.29 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001651/1.206, allocations: 41.83 kB / 1.29 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/1.206, allocations: 155.7 kB / 1.29 GB, free: 11.86 MB / 1.014 GB Notification: Performance of SimCode: time 6.81e-07/1.206, allocations: 0 / 1.29 GB, free: 11.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03981/1.246, allocations: 9.274 MB / 1.299 GB, free: 10.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.586/9.832, allocations: 1.438 kB / 1.299 GB, free: 10.4 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.csv --start-time 0 --stop-time 1800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.211492752016056] Failed to read output from testmodel.py, exit status != 0: 9.962936611002078 9.986351351 8.794728924 Calling exit ...