Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.001852/0.001852, 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.002008/0.002008, 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.568/1.568, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.176/3.176, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 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.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",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.002029/0.002029, allocations: 75.88 kB / 1.165 GB, free: 468 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003674/1.026, allocations: 2.47 MB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002236/1.029, allocations: 1.68 MB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/1.029, allocations: 7.75 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006033/1.029, allocations: 223 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004255/1.03, allocations: 194 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/1.03, allocations: 155.9 kB / 1.345 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003704/1.031, allocations: 365.6 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/1.031, allocations: 67.06 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/1.031, allocations: 153.8 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/1.031, allocations: 159.5 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/1.031, allocations: 21.84 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/1.031, allocations: 68.98 kB / 1.346 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/1.031, allocations: 133.1 kB / 1.346 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/1.032, allocations: 189.4 kB / 1.346 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000585/1.032, allocations: 0.5114 MB / 1.346 GB, free: 12.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.032, allocations: 0 / 1.346 GB, free: 12.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/1.032, allocations: 5.375 kB / 1.346 GB, free: 12.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.388e-05/1.032, allocations: 0 / 1.346 GB, free: 12.27 MB / 1.061 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.001093/1.033, allocations: 0.8278 MB / 1.347 GB, free: 11.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/1.033, allocations: 9.625 kB / 1.347 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.58e-05/1.033, allocations: 6.938 kB / 1.347 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/1.033, allocations: 41.84 kB / 1.347 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.356e-05/1.033, allocations: 68.86 kB / 1.347 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/1.034, allocations: 437.3 kB / 1.348 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/1.034, allocations: 13.92 kB / 1.348 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/1.034, allocations: 14.62 kB / 1.348 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/1.034, allocations: 138.8 kB / 1.348 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.034, allocations: 0 / 1.348 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/1.034, allocations: 9.922 kB / 1.348 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/1.034, allocations: 6.703 kB / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/1.034, allocations: 90.38 kB / 1.348 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009477/1.035, allocations: 0.6403 MB / 1.349 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/1.036, allocations: 134.2 kB / 1.349 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.115e-05/1.036, allocations: 46.06 kB / 1.349 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/1.036, allocations: 1.969 kB / 1.349 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/1.036, allocations: 101.4 kB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/1.036, allocations: 0 / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0004427/1.036, allocations: 222.5 kB / 1.349 GB, free: 10.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/1.036, allocations: 53.23 kB / 1.349 GB, free: 10.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/1.037, allocations: 0.6675 MB / 1.35 GB, free: 10.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/1.037, allocations: 32.48 kB / 1.35 GB, free: 9.977 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/1.037, allocations: 258.4 kB / 1.35 GB, free: 9.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/1.037, allocations: 41.97 kB / 1.35 GB, free: 9.738 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.714e-05/1.038, allocations: 56.77 kB / 1.35 GB, free: 9.703 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/1.038, allocations: 373.7 kB / 1.351 GB, free: 9.363 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/1.038, allocations: 79.22 kB / 1.351 GB, free: 9.336 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/1.038, allocations: 116.1 kB / 1.351 GB, free: 9.273 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/1.038, allocations: 130.4 kB / 1.351 GB, free: 9.211 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.038, allocations: 0 / 1.351 GB, free: 9.211 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004075/1.039, allocations: 278.9 kB / 1.351 GB, free: 9.082 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.039, allocations: 10.38 kB / 1.351 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.039, allocations: 0 / 1.351 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.039, allocations: 2.188 kB / 1.351 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/1.039, allocations: 34.69 kB / 1.351 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/1.039, allocations: 5.781 kB / 1.351 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/1.039, allocations: 29.91 kB / 1.351 GB, free: 9.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/1.039, allocations: 5.953 kB / 1.351 GB, free: 9.062 MB / 1.061 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.0002108/1.039, allocations: 214.7 kB / 1.351 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/1.039, allocations: 55.84 kB / 1.351 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/1.039, allocations: 56.94 kB / 1.351 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/1.039, allocations: 2.156 kB / 1.351 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.039, allocations: 0 / 1.351 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.039, allocations: 0.7031 kB / 1.351 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/1.04, allocations: 377.9 kB / 1.352 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.04, allocations: 0 / 1.352 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/1.04, allocations: 14.03 kB / 1.352 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.04, allocations: 0 / 1.352 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.04, allocations: 7.688 kB / 1.352 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.04, allocations: 7.938 kB / 1.352 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.04, allocations: 1.969 kB / 1.352 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/1.04, allocations: 260.8 kB / 1.352 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.453e-05/1.04, allocations: 130.2 kB / 1.352 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/1.04, allocations: 8.406 kB / 1.352 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/1.041, allocations: 10.64 kB / 1.352 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/1.041, allocations: 29.91 kB / 1.352 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/1.041, allocations: 9.719 kB / 1.352 GB, free: 8.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005247/1.041, allocations: 443.5 kB / 1.353 GB, free: 8.086 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.041, allocations: 0 / 1.353 GB, free: 8.086 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003332/1.041, allocations: 69.69 kB / 1.353 GB, free: 8.066 MB / 1.061 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 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * 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.002003/1.043, allocations: 1.114 MB / 1.354 GB, free: 7.273 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003638/1.044, allocations: 148.8 kB / 1.354 GB, free: 7.227 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.044, allocations: 0.75 kB / 1.354 GB, free: 7.227 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/1.044, allocations: 51.14 kB / 1.354 GB, free: 7.211 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/1.044, allocations: 73.81 kB / 1.354 GB, free: 7.184 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005348/1.05, allocations: 3.853 MB / 1.358 GB, free: 5.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/1.05, allocations: 0.8515 MB / 1.359 GB, free: 4.383 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000165/1.05, allocations: 43.88 kB / 1.359 GB, free: 4.375 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/1.051, allocations: 163.7 kB / 1.359 GB, free: 4.25 MB / 1.061 GB Notification: Performance of SimCode: time 7.41e-07/1.051, allocations: 0 / 1.359 GB, free: 4.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/1.086, allocations: 9.398 MB / 1.368 GB, free: 2.777 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.093/10.18, allocations: 5.406 kB / 1.368 GB, free: 2.777 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.09478845295962] Failed to read output from testmodel.py, exit status != 0: 10.367062024015468 10.380377324 9.345028697 Calling exit ...