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.0009081/0.0009081, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008548/0.0008548, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8658/0.8658, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.73/1.73, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.63e-05, allocations: 8.891 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002635/0.002651, allocations: 2.354 MB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.00429, allocations: 1.572 MB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.00441, allocations: 7.938 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.004912, allocations: 227.3 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.005254, allocations: 202.8 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.005478, allocations: 167.4 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.0058, allocations: 370.7 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.00596, allocations: 48.91 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.006136, allocations: 195.5 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.006285, allocations: 135.6 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.006316, allocations: 24 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.964e-05/0.006416, allocations: 63.91 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.315e-05/0.006509, allocations: 131.5 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.915e-05/0.006588, allocations: 103.6 kB / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.006961, allocations: 0.4982 MB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.006964, allocations: 4 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.132e-06/0.006965, allocations: 0 / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.006969, allocations: 0 / 1.006 GB, free: 7.375 MB / 0.9636 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.0007872/0.007757, allocations: 0.7445 MB / 1.006 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.007795, allocations: 8.75 kB / 1.006 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.007834, allocations: 46.73 kB / 1.006 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/0.007894, allocations: 64.52 kB / 1.006 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.008244, allocations: 378.6 kB / 1.007 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.008258, allocations: 8.375 kB / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.008283, allocations: 16.38 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.00848, allocations: 193.1 kB / 1.007 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.008488, allocations: 0 / 1.007 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.008505, allocations: 8 kB / 1.007 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.008511, allocations: 4 kB / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.008634, allocations: 91.94 kB / 1.007 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.00924, allocations: 0.558 MB / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.009442, allocations: 126.6 kB / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.393e-05/0.009506, allocations: 44.84 kB / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.009525, allocations: 3.938 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.009675, allocations: 154.8 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.009676, allocations: 0 / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0002886/0.009965, allocations: 221.1 kB / 1.008 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.009992, allocations: 51.41 kB / 1.008 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/0.01051, allocations: 0.6681 MB / 1.009 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.01053, allocations: 33.7 kB / 1.009 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.01066, allocations: 264.4 kB / 1.009 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.01069, allocations: 39.67 kB / 1.009 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.01075, allocations: 57.69 kB / 1.009 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.01085, allocations: 366.8 kB / 1.01 GB, free: 3.047 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.01094, allocations: 87.89 kB / 1.01 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.01105, allocations: 166.8 kB / 1.01 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.01118, allocations: 124.1 kB / 1.01 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01119, allocations: 0 / 1.01 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002359/0.01142, allocations: 281 kB / 1.01 GB, free: 2.367 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.01143, allocations: 7.938 kB / 1.01 GB, free: 2.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.01144, allocations: 0 / 1.01 GB, free: 2.359 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.01145, allocations: 4 kB / 1.01 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.01157, allocations: 35.98 kB / 1.01 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.01157, allocations: 3.984 kB / 1.01 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.01166, allocations: 31.97 kB / 1.01 GB, free: 2.285 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.01167, allocations: 8 kB / 1.01 GB, free: 2.277 MB / 0.9636 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.0001389/0.01181, allocations: 205.7 kB / 1.011 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.01185, allocations: 59.56 kB / 1.011 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.01206, allocations: 188.9 kB / 1.011 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01206, allocations: 0 / 1.011 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.01206, allocations: 3.984 kB / 1.011 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01207, allocations: 0 / 1.011 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.01226, allocations: 336.5 kB / 1.011 GB, free: 1.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01226, allocations: 3.938 kB / 1.011 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.0123, allocations: 11.94 kB / 1.011 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.0123, allocations: 0 / 1.011 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.01231, allocations: 7.984 kB / 1.011 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.01232, allocations: 0 / 1.011 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01232, allocations: 0 / 1.011 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.01257, allocations: 264.7 kB / 1.011 GB, free: 1.137 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.01263, allocations: 59.53 kB / 1.011 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.01265, allocations: 8 kB / 1.011 GB, free: 1.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.01271, allocations: 27.98 kB / 1.011 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.01276, allocations: 23.95 kB / 1.011 GB, free: 1.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.01277, allocations: 4 kB / 1.011 GB, free: 1.016 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002933/0.01307, allocations: 447 kB / 1.012 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01307, allocations: 0 / 1.012 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001792/0.01324, allocations: 55.94 kB / 1.012 GB, free: 0.5312 MB / 0.9636 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.001014/0.01426, allocations: 1.151 MB / 1.013 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.01447, allocations: 154 kB / 1.013 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01447, allocations: 0 / 1.013 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.01454, allocations: 55.91 kB / 1.013 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.01479, allocations: 81.05 kB / 1.013 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.01758, allocations: 3.801 MB / 1.017 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.01773, allocations: 258.5 kB / 1.017 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.872e-05/0.01781, allocations: 54.86 kB / 1.017 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.01795, allocations: 172.4 kB / 1.018 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of SimCode: time 4.91e-07/0.01795, allocations: 0 / 1.018 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.03809, allocations: 10.3 MB / 1.028 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/6.99, allocations: 6.438 kB / 1.028 GB, free: 0.6797 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.csv --start-time 0 --stop-time 1800 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 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: 11.037825291976333] Failed to read output from testmodel.py, exit status != 0: 7.093129193410277 7.104034915 7.095351691 Calling exit ...