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.0008724/0.0008724, 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.0008512/0.0008512, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.889/0.889, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.666/1.666, allocations: 377.9 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.663e-05, allocations: 2.281 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002745/0.002762, allocations: 2.369 MB / 0.9833 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.00451, allocations: 1.575 MB / 0.9848 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.004657, allocations: 7.938 kB / 0.9848 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.005151, allocations: 214.9 kB / 0.985 GB, free: 14.39 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.00551, allocations: 198.9 kB / 0.9852 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.005785, allocations: 167.4 kB / 0.9854 GB, free: 14.04 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.006086, allocations: 366.7 kB / 0.9857 GB, free: 13.68 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.006236, allocations: 60.88 kB / 0.9858 GB, free: 13.62 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.006461, allocations: 195.4 kB / 0.986 GB, free: 13.43 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.006605, allocations: 131.7 kB / 0.9861 GB, free: 13.3 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.006635, allocations: 27.94 kB / 0.9861 GB, free: 13.27 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.006742, allocations: 63.91 kB / 0.9862 GB, free: 13.21 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.703e-05/0.006839, allocations: 127.5 kB / 0.9863 GB, free: 13.08 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/0.006914, allocations: 103.6 kB / 0.9864 GB, free: 12.98 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.007299, allocations: 0.5021 MB / 0.9869 GB, free: 12.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.007301, allocations: 0 / 0.9869 GB, free: 12.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.007302, allocations: 0 / 0.9869 GB, free: 12.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.007308, allocations: 0 / 0.9869 GB, free: 12.48 MB / 0.948 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.0007792/0.008087, allocations: 0.7484 MB / 0.9876 GB, free: 11.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.00812, allocations: 8.031 kB / 0.9877 GB, free: 11.69 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.008155, allocations: 46.73 kB / 0.9877 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/0.008219, allocations: 68.52 kB / 0.9878 GB, free: 11.57 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.008558, allocations: 366.7 kB / 0.9881 GB, free: 11.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.008572, allocations: 8.375 kB / 0.9881 GB, free: 11.17 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.008595, allocations: 16.38 kB / 0.9881 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.00879, allocations: 198.2 kB / 0.9883 GB, free: 10.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.008798, allocations: 3.938 kB / 0.9883 GB, free: 10.94 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.00881, allocations: 4 kB / 0.9883 GB, free: 10.94 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.008815, allocations: 4 kB / 0.9883 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.008937, allocations: 83.95 kB / 0.9884 GB, free: 10.85 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.009543, allocations: 0.5658 MB / 0.989 GB, free: 10.24 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.009734, allocations: 122.7 kB / 0.9891 GB, free: 10.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.009787, allocations: 44.84 kB / 0.9891 GB, free: 10.07 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.009806, allocations: 3.938 kB / 0.9891 GB, free: 10.06 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.009959, allocations: 158.7 kB / 0.9893 GB, free: 9.883 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.00996, allocations: 7.938 kB / 0.9893 GB, free: 9.875 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.0002796/0.01024, allocations: 217.1 kB / 0.9895 GB, free: 9.656 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.01026, allocations: 51.41 kB / 0.9895 GB, free: 9.594 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.0107, allocations: 0.6681 MB / 0.9902 GB, free: 8.918 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.01072, allocations: 33.7 kB / 0.9902 GB, free: 8.879 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.01085, allocations: 264.4 kB / 0.9905 GB, free: 8.617 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.01088, allocations: 35.7 kB / 0.9905 GB, free: 8.582 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.01094, allocations: 57.69 kB / 0.9906 GB, free: 8.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.01104, allocations: 370.8 kB / 0.9909 GB, free: 8.148 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.01113, allocations: 75.97 kB / 0.991 GB, free: 8.074 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.01125, allocations: 173 kB / 0.9912 GB, free: 7.883 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.01139, allocations: 132.1 kB / 0.9913 GB, free: 7.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01139, allocations: 0 / 0.9913 GB, free: 7.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000242/0.01163, allocations: 275.9 kB / 0.9916 GB, free: 7.477 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01165, allocations: 6.969 kB / 0.9916 GB, free: 7.473 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.01165, allocations: 0 / 0.9916 GB, free: 7.473 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.01166, allocations: 7.938 kB / 0.9916 GB, free: 7.465 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.01178, allocations: 31.98 kB / 0.9916 GB, free: 7.434 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.01178, allocations: 4.062 kB / 0.9916 GB, free: 7.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.01187, allocations: 31.86 kB / 0.9916 GB, free: 7.398 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.01189, allocations: 15.94 kB / 0.9916 GB, free: 7.383 MB / 0.948 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.0003052/0.01219, allocations: 206.2 kB / 0.9918 GB, free: 7.172 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.01223, allocations: 59.56 kB / 0.9919 GB, free: 7.113 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.01245, allocations: 186.5 kB / 0.9921 GB, free: 6.926 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01245, allocations: 0 / 0.9921 GB, free: 6.926 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01246, allocations: 0 / 0.9921 GB, free: 6.926 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01246, allocations: 4 kB / 0.9921 GB, free: 6.922 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.01267, allocations: 332.5 kB / 0.9924 GB, free: 6.555 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.01267, allocations: 7.938 kB / 0.9924 GB, free: 6.547 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.01271, allocations: 11.94 kB / 0.9924 GB, free: 6.535 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01271, allocations: 0 / 0.9924 GB, free: 6.535 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01272, allocations: 11.98 kB / 0.9924 GB, free: 6.523 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01272, allocations: 0 / 0.9924 GB, free: 6.523 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01272, allocations: 0 / 0.9924 GB, free: 6.523 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.01298, allocations: 260.7 kB / 0.9927 GB, free: 6.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.01303, allocations: 59.53 kB / 0.9927 GB, free: 6.191 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.01306, allocations: 16.05 kB / 0.9928 GB, free: 6.176 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.858e-05/0.01312, allocations: 11.98 kB / 0.9928 GB, free: 6.164 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.01317, allocations: 27.91 kB / 0.9928 GB, free: 6.137 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01317, allocations: 7.984 kB / 0.9928 GB, free: 6.129 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002798/0.01345, allocations: 439 kB / 0.9932 GB, free: 5.707 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01345, allocations: 0 / 0.9932 GB, free: 5.707 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001802/0.01363, allocations: 67.83 kB / 0.9933 GB, free: 5.641 MB / 0.948 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.001028/0.01466, allocations: 1.153 MB / 0.9944 GB, free: 4.648 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.01487, allocations: 143.9 kB / 0.9945 GB, free: 4.508 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01487, allocations: 0 / 0.9945 GB, free: 4.508 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.735e-05/0.01493, allocations: 56.41 kB / 0.9946 GB, free: 4.453 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.01519, allocations: 85.64 kB / 0.9947 GB, free: 4.375 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.01793, allocations: 3.81 MB / 0.9984 GB, free: 476 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.01809, allocations: 259.2 kB / 0.9986 GB, free: 192 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.17e-05/0.01817, allocations: 46.95 kB / 0.9987 GB, free: 144 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.01832, allocations: 168.4 kB / 0.9989 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.01832, allocations: 4 kB / 0.9989 GB, free: 15.97 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.03862, allocations: 10.32 MB / 1.009 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/7.23, allocations: 11.12 kB / 1.009 GB, free: 5.789 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_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: 11.248853656463325] Failed to read output from testmodel.py, exit status != 0: 7.332436403259635 7.344661616 7.335139495 Calling exit ...