Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.482/1.482, allocations: 288.4 MB / 303.6 MB, free: 8.062 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008321/0.0008321, allocations: 175 kB / 372.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.4 MB / 0.631 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007495/0.0007493, allocations: 98.34 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 12.56 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.161, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002044/0.1631, allocations: 2.054 MB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1645, allocations: 1.317 MB / 0.9835 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1646, allocations: 7.938 kB / 0.9835 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.1651, allocations: 215.1 kB / 0.9837 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.1653, allocations: 123.5 kB / 0.9838 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1656, allocations: 125 kB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.1659, allocations: 306.9 kB / 0.9842 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.166, allocations: 88.94 kB / 0.9843 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1662, allocations: 115.4 kB / 0.9844 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1663, allocations: 131.3 kB / 0.9845 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.1663, allocations: 8 kB / 0.9846 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1664, allocations: 47.95 kB / 0.9846 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.1665, allocations: 103.6 kB / 0.9847 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1666, allocations: 184.5 kB / 0.9849 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.1669, allocations: 383.1 kB / 0.9852 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1669, allocations: 4 kB / 0.9852 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1669, allocations: 0 / 0.9852 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.1669, allocations: 0 / 0.9852 GB, free: 22.04 MB / 0.6198 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.0007878/0.1677, allocations: 0.7234 MB / 0.9859 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1677, allocations: 8.031 kB / 0.986 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.1678, allocations: 50.67 kB / 0.986 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.1678, allocations: 60.19 kB / 0.9861 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.1682, allocations: 424.1 kB / 0.9865 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1682, allocations: 16.3 kB / 0.9865 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.1683, allocations: 12 kB / 0.9865 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.1685, allocations: 135.9 kB / 0.9866 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1685, allocations: 3.984 kB / 0.9866 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1685, allocations: 8 kB / 0.9866 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1685, allocations: 4 kB / 0.9866 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.1687, allocations: 83.95 kB / 0.9867 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007393/0.1694, allocations: 0.6523 MB / 0.9874 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.1697, allocations: 134.7 kB / 0.9875 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.1698, allocations: 48.84 kB / 0.9875 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1699, allocations: 0 / 0.9875 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.17, allocations: 111.2 kB / 0.9876 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.17, allocations: 0 / 0.9876 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0003248/0.1704, allocations: 208.9 kB / 0.9878 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.1704, allocations: 59.41 kB / 0.9879 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.1709, allocations: 0.6436 MB / 0.9885 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1709, allocations: 33.7 kB / 0.9886 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.171, allocations: 256.4 kB / 0.9888 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.1711, allocations: 35.55 kB / 0.9888 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.1711, allocations: 4 kB / 0.9888 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.1712, allocations: 370.7 kB / 0.9892 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1713, allocations: 75.97 kB / 0.9893 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1714, allocations: 119.3 kB / 0.9894 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.1716, allocations: 128.7 kB / 0.9895 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1716, allocations: 0 / 0.9895 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003047/0.1719, allocations: 275.7 kB / 0.9898 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1719, allocations: 4 kB / 0.9898 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1719, allocations: 4.062 kB / 0.9898 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1719, allocations: 4 kB / 0.9898 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.1721, allocations: 35.97 kB / 0.9898 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1721, allocations: 0 / 0.9898 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1723, allocations: 39.8 kB / 0.9898 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.1723, allocations: 8 kB / 0.9899 GB, free: 17.07 MB / 0.6198 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 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.1725, allocations: 214.1 kB / 0.9901 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.1725, allocations: 47.34 kB / 0.9901 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/0.1726, allocations: 60.66 kB / 0.9902 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1726, allocations: 4 kB / 0.9902 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1726, allocations: 0 / 0.9902 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1726, allocations: 3.984 kB / 0.9902 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1728, allocations: 377.2 kB / 0.9905 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1729, allocations: 0 / 0.9905 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.1729, allocations: 19.92 kB / 0.9905 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1729, allocations: 4 kB / 0.9905 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1729, allocations: 4 kB / 0.9906 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1729, allocations: 0 / 0.9906 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.173, allocations: 4 kB / 0.9906 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.1733, allocations: 260.3 kB / 0.9908 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.1734, allocations: 128.4 kB / 0.9909 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.1734, allocations: 4 kB / 0.9909 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.1735, allocations: 24.03 kB / 0.991 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.1736, allocations: 27.95 kB / 0.991 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1736, allocations: 4 kB / 0.991 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003275/0.174, allocations: 426.8 kB / 0.9914 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.91e-07/0.174, allocations: 3.938 kB / 0.9914 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002358/0.1742, allocations: 67.77 kB / 0.9915 GB, free: 15.33 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00113/0.1754, allocations: 1.109 MB / 0.9925 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.1756, allocations: 151.9 kB / 0.9927 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1756, allocations: 0 / 0.9927 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.864e-05/0.1757, allocations: 63.84 kB / 0.9927 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.1761, allocations: 74.89 kB / 0.9928 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.1789, allocations: 2.898 MB / 0.9957 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.1791, allocations: 0.861 MB / 0.9965 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.1792, allocations: 42.27 kB / 0.9965 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.1794, allocations: 159.4 kB / 0.9967 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.1794, allocations: 0 / 0.9967 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3755/0.5549, allocations: 8.958 MB / 1.005 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.5551, allocations: 235.7 kB / 1.006 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/2.978, allocations: 3.938 kB / 1.006 GB, free: 0.9375 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)