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.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.0008191/0.0008191, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008308/0.0008308, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8994/0.8994, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.691/1.691, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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 1.773e-06/1.773e-06, allocations: 0 / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.477e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003204/0.003229, allocations: 2.372 MB / 0.9528 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.004985, allocations: 1.567 MB / 0.9544 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.005153, allocations: 7.938 kB / 0.9544 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005712/0.005724, allocations: 214.8 kB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.006114, allocations: 202.9 kB / 0.9548 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.006398, allocations: 163.5 kB / 0.9549 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.006728, allocations: 366.7 kB / 0.9553 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.006886, allocations: 56.89 kB / 0.9553 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.00706, allocations: 199.4 kB / 0.9555 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.007211, allocations: 139.6 kB / 0.9556 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.007242, allocations: 20 kB / 0.9557 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.007359, allocations: 63.92 kB / 0.9557 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.955e-05/0.007459, allocations: 127.5 kB / 0.9558 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.569e-05/0.007545, allocations: 99.58 kB / 0.9559 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.00798, allocations: 0.506 MB / 0.9564 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.007984, allocations: 0 / 0.9564 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.744e-06/0.007986, allocations: 0 / 0.9564 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.007992, allocations: 3.938 kB / 0.9564 GB, free: 13.35 MB / 0.9167 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.0008914/0.008884, allocations: 0.7483 MB / 0.9572 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.008925, allocations: 12.03 kB / 0.9572 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.008965, allocations: 46.73 kB / 0.9572 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.009035, allocations: 60.56 kB / 0.9573 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.009413, allocations: 374.6 kB / 0.9576 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.009428, allocations: 12.38 kB / 0.9577 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.009451, allocations: 16.38 kB / 0.9577 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.009673, allocations: 193.1 kB / 0.9579 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.009681, allocations: 0 / 0.9579 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.009694, allocations: 8 kB / 0.9579 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.009698, allocations: 0 / 0.9579 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.009827, allocations: 91.94 kB / 0.958 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009144/0.01074, allocations: 0.554 MB / 0.9585 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.01095, allocations: 126.8 kB / 0.9586 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.01101, allocations: 44.83 kB / 0.9587 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.01103, allocations: 3.938 kB / 0.9587 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.01119, allocations: 162.7 kB / 0.9588 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.01119, allocations: 0 / 0.9588 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.0003234/0.01152, allocations: 213.2 kB / 0.959 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.01155, allocations: 51.41 kB / 0.9591 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.01202, allocations: 0.6797 MB / 0.9597 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.01204, allocations: 33.7 kB / 0.9598 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.01217, allocations: 252.5 kB / 0.96 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.0122, allocations: 35.69 kB / 0.96 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.01227, allocations: 53.69 kB / 0.9601 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.01238, allocations: 370.8 kB / 0.9604 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.449e-05/0.01247, allocations: 79.97 kB / 0.9605 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.01259, allocations: 170.7 kB / 0.9607 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.01273, allocations: 124.3 kB / 0.9608 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01273, allocations: 32 / 0.9608 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002616/0.01299, allocations: 289 kB / 0.9611 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01301, allocations: 10.44 kB / 0.9611 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01301, allocations: 0 / 0.9611 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.01303, allocations: 4 kB / 0.9611 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.01315, allocations: 31.98 kB / 0.9611 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.01316, allocations: 3.938 kB / 0.9611 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.294e-05/0.01325, allocations: 31.86 kB / 0.9612 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.01327, allocations: 4 kB / 0.9612 GB, free: 8.266 MB / 0.9167 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.0001596/0.01343, allocations: 211.8 kB / 0.9614 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.01347, allocations: 67.48 kB / 0.9614 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.0137, allocations: 194.4 kB / 0.9616 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.0137, allocations: 0 / 0.9616 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01371, allocations: 0 / 0.9616 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01371, allocations: 0 / 0.9616 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.01393, allocations: 324.6 kB / 0.9619 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01393, allocations: 3.938 kB / 0.9619 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.01398, allocations: 12 kB / 0.9619 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01398, allocations: 4 kB / 0.9619 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01399, allocations: 3.984 kB / 0.9619 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01399, allocations: 0 / 0.9619 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.014, allocations: 4 kB / 0.9619 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.01427, allocations: 268.6 kB / 0.9622 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.01433, allocations: 59.53 kB / 0.9623 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.01436, allocations: 8 kB / 0.9623 GB, free: 7.051 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.01443, allocations: 11.98 kB / 0.9623 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.01448, allocations: 23.95 kB / 0.9623 GB, free: 7.016 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.0145, allocations: 8.062 kB / 0.9623 GB, free: 7.008 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003131/0.01481, allocations: 443 kB / 0.9627 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01481, allocations: 0 / 0.9627 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002134/0.01502, allocations: 67.88 kB / 0.9628 GB, free: 6.516 MB / 0.9167 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 (13): * Single equations (assignments): 11 * 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.001134/0.01616, allocations: 1.15 MB / 0.9639 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.01639, allocations: 147.9 kB / 0.9641 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01639, allocations: 0 / 0.9641 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.356e-05/0.01647, allocations: 59.97 kB / 0.9641 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.01677, allocations: 81.62 kB / 0.9642 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.02018, allocations: 3.807 MB / 0.9679 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.02035, allocations: 262.5 kB / 0.9682 GB, free: 1.055 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.02046, allocations: 50.94 kB / 0.9682 GB, free: 1.008 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.02061, allocations: 164.4 kB / 0.9684 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of SimCode: time 8.81e-07/0.02061, allocations: 0 / 0.9684 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.05046, allocations: 10.31 MB / 0.9784 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.272/7.323, allocations: 8.344 kB / 0.9784 GB, free: 6.656 MB / 0.9323 GB " [Timeout remaining time 293] (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: 11.470582912676036] Failed to read output from testmodel.py, exit status != 0: 7.42855341732502 7.444459534 7.433506573 Calling exit ...