Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002003/0.002003, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002881/0.002881, allocations: 215 kB / 20.13 MB, free: 2.949 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.58/1.58, 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 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 2.981/2.981, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 176] 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.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_12_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.002081/0.002081, allocations: 71.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9304/0.9325, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003134/0.9356, allocations: 2.474 MB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.9377, allocations: 1.676 MB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.9378, allocations: 6.812 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.9384, allocations: 224.6 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.9388, allocations: 203.3 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.9391, allocations: 152.7 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.9394, allocations: 364.6 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.9396, allocations: 64.11 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.9397, allocations: 148.8 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.9399, allocations: 173 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.9399, allocations: 21.25 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.94, allocations: 65.62 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.9401, allocations: 130.2 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.9403, allocations: 189.6 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005226/0.9408, allocations: 0.5172 MB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.9408, allocations: 0.625 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9408, allocations: 0 / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.9408, allocations: 0.5625 kB / 1.328 GB, free: 20.79 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.001173/0.942, allocations: 0.8261 MB / 1.329 GB, free: 20.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.942, allocations: 14.17 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.095e-05/0.942, allocations: 3.594 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.9421, allocations: 45.53 kB / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.853e-05/0.9422, allocations: 60.62 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.9426, allocations: 450 kB / 1.329 GB, free: 19.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.9427, allocations: 14 kB / 1.329 GB, free: 19.67 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.9427, allocations: 13.06 kB / 1.329 GB, free: 19.67 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.943, allocations: 136.7 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.943, allocations: 0 / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.943, allocations: 5.844 kB / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.943, allocations: 2.938 kB / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.9432, allocations: 80.97 kB / 1.329 GB, free: 19.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009756/0.9442, allocations: 0.6435 MB / 1.33 GB, free: 19.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.9446, allocations: 126 kB / 1.33 GB, free: 19.08 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.9447, allocations: 49.64 kB / 1.33 GB, free: 19.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.9447, allocations: 1.562 kB / 1.33 GB, free: 19.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.9449, allocations: 106.4 kB / 1.33 GB, free: 18.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.9449, allocations: 0 / 1.33 GB, free: 18.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0005345/0.9455, allocations: 218.6 kB / 1.33 GB, free: 18.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.9455, allocations: 53.3 kB / 1.33 GB, free: 18.81 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008203/0.9463, allocations: 0.6635 MB / 1.331 GB, free: 18.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.9464, allocations: 36.86 kB / 1.331 GB, free: 18.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.9465, allocations: 261.9 kB / 1.331 GB, free: 18.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.9466, allocations: 37.38 kB / 1.331 GB, free: 18.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/0.9467, allocations: 58 kB / 1.331 GB, free: 18.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.9468, allocations: 373.2 kB / 1.332 GB, free: 17.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.9469, allocations: 78.75 kB / 1.332 GB, free: 17.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.9471, allocations: 115.6 kB / 1.332 GB, free: 17.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.9473, allocations: 127.3 kB / 1.332 GB, free: 17.74 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.9473, allocations: 1.438 kB / 1.332 GB, free: 17.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004452/0.9478, allocations: 275 kB / 1.332 GB, free: 17.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.9478, allocations: 5.016 kB / 1.332 GB, free: 17.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.9478, allocations: 1.375 kB / 1.332 GB, free: 17.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.9478, allocations: 5.328 kB / 1.332 GB, free: 17.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.948, allocations: 39.95 kB / 1.332 GB, free: 17.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.948, allocations: 1.438 kB / 1.332 GB, free: 17.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.9483, allocations: 30 kB / 1.332 GB, free: 17.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.9483, allocations: 13.14 kB / 1.333 GB, free: 17.59 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.0002143/0.9485, allocations: 211.4 kB / 1.333 GB, free: 17.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.9486, allocations: 59.09 kB / 1.333 GB, free: 17.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.9487, allocations: 57.91 kB / 1.333 GB, free: 17.37 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.9487, allocations: 5.125 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9487, allocations: 3.938 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9487, allocations: 1.781 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.9491, allocations: 377 kB / 1.333 GB, free: 17.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9491, allocations: 0.5625 kB / 1.333 GB, free: 17.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.442e-05/0.9492, allocations: 8.391 kB / 1.333 GB, free: 17.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.9492, allocations: 1.344 kB / 1.333 GB, free: 17.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.9492, allocations: 3.812 kB / 1.333 GB, free: 17.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.9492, allocations: 0 / 1.333 GB, free: 17.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9492, allocations: 5.406 kB / 1.333 GB, free: 17.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.9496, allocations: 268.8 kB / 1.333 GB, free: 16.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.9497, allocations: 126.4 kB / 1.334 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/0.9498, allocations: 7.922 kB / 1.334 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.9499, allocations: 18.64 kB / 1.334 GB, free: 16.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.95, allocations: 21.62 kB / 1.334 GB, free: 16.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.95, allocations: 5.5 kB / 1.334 GB, free: 16.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000565/0.9506, allocations: 443.4 kB / 1.334 GB, free: 16.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9506, allocations: 0.5625 kB / 1.334 GB, free: 16.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003881/0.951, allocations: 66.03 kB / 1.334 GB, free: 16.59 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.002181/0.9532, allocations: 1.119 MB / 1.335 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000472/0.9536, allocations: 152.6 kB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9536, allocations: 0.5 kB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.9538, allocations: 53.92 kB / 1.335 GB, free: 15.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.9543, allocations: 67.95 kB / 1.335 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.9593, allocations: 3.86 MB / 1.339 GB, free: 13.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.9596, allocations: 0.8608 MB / 1.34 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001571/0.9597, allocations: 48.2 kB / 1.34 GB, free: 12.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.9599, allocations: 161.7 kB / 1.34 GB, free: 12.76 MB / 1.061 GB Notification: Performance of SimCode: time 9.31e-07/0.9599, allocations: 0 / 1.34 GB, free: 12.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03393/0.9939, allocations: 9.384 MB / 1.349 GB, free: 11.31 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.245/10.24, allocations: 11.7 kB / 1.349 GB, free: 11.3 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.886130321014207] Failed to read output from testmodel.py, exit status != 0: 10.427191033028066 10.44010234 9.496580782 Calling exit ...