Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.479/2.479, allocations: 287.9 MB / 302.9 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 182.7 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 0.6301 GB, free: 10.45 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 108.8 kB / 0.7434 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004594, allocations: 12.12 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1514, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002316/0.1538, allocations: 1.886 MB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.1557, allocations: 1.231 MB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.1558, allocations: 7.938 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005011/0.1564, allocations: 167.4 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.1567, allocations: 122.3 kB / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.1571, allocations: 111.7 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1573, allocations: 179.5 kB / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1575, allocations: 37 kB / 0.9824 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.1576, allocations: 107.5 kB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.1578, allocations: 95.55 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.1578, allocations: 8 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1579, allocations: 31.97 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-05/0.158, allocations: 91.66 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.1581, allocations: 81.45 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.1584, allocations: 291.3 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.533e-06/0.1584, allocations: 0 / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.897e-06/0.1585, allocations: 7.938 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.1585, allocations: 0 / 0.9831 GB, free: 23.73 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008231/0.1593, allocations: 0.6493 MB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1594, allocations: 8.031 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.1594, allocations: 51.39 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.16, allocations: 383 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.16, allocations: 8 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.16, allocations: 4 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.1603, allocations: 93.64 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1603, allocations: 4 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1603, allocations: 11.94 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.729e-06/0.1603, allocations: 3.953 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.1605, allocations: 59.84 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007751/0.1613, allocations: 0.4887 MB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.1617, allocations: 106.7 kB / 0.9849 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1618, allocations: 4 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.162, allocations: 91.36 kB / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.572e-06/0.162, allocations: 0 / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004283/0.1624, allocations: 173 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.1625, allocations: 59.34 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/0.163, allocations: 0.495 MB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.1631, allocations: 33.7 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1633, allocations: 220 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.1633, allocations: 27.66 kB / 0.986 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.1633, allocations: 8 kB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.1634, allocations: 358.8 kB / 0.9863 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1636, allocations: 48.34 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.1637, allocations: 72.98 kB / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1639, allocations: 54.19 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1639, allocations: 4.031 kB / 0.9865 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004113/0.1643, allocations: 205 kB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1644, allocations: 8 kB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1644, allocations: 0 / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1644, allocations: 0 / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.1646, allocations: 35.97 kB / 0.9867 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.999e-06/0.1647, allocations: 7.938 kB / 0.9867 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.1648, allocations: 15.91 kB / 0.9867 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.1649, allocations: 16.02 kB / 0.9868 GB, free: 19.74 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: 7 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001933/0.1651, allocations: 186.2 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.1652, allocations: 47.39 kB / 0.987 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.705e-05/0.1653, allocations: 47.91 kB / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.252e-06/0.1653, allocations: 0 / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.447e-06/0.1653, allocations: 3.938 kB / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.8e-06/0.1653, allocations: 0 / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.1656, allocations: 321.6 kB / 0.9873 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-06/0.1656, allocations: 0 / 0.9873 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-05/0.1657, allocations: 19.89 kB / 0.9874 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.395e-06/0.1657, allocations: 3.984 kB / 0.9874 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.1658, allocations: 4 kB / 0.9874 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.438e-06/0.1658, allocations: 3.938 kB / 0.9874 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.961e-06/0.1658, allocations: 4 kB / 0.9874 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.1662, allocations: 208.5 kB / 0.9876 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/0.1663, allocations: 116.6 kB / 0.9877 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.1664, allocations: 8 kB / 0.9877 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.1665, allocations: 16 kB / 0.9877 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.1666, allocations: 15.97 kB / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1666, allocations: 4 kB / 0.9877 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004062/0.167, allocations: 346.8 kB / 0.988 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.63e-07/0.1671, allocations: 4 kB / 0.9881 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003496/0.1674, allocations: 47.91 kB / 0.9881 GB, free: 18.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001371/0.1688, allocations: 424.7 kB / 0.9885 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003229/0.1691, allocations: 107.9 kB / 0.9886 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.362e-06/0.1692, allocations: 3.938 kB / 0.9886 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.1693, allocations: 35.98 kB / 0.9886 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1697, allocations: 62.06 kB / 0.9887 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1709, allocations: 0.7747 MB / 0.9895 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1712, allocations: 0.834 MB / 0.9903 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.1713, allocations: 33.94 kB / 0.9903 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.1714, allocations: 31.42 kB / 0.9903 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of SimCode: time 1.413e-06/0.1715, allocations: 4 kB / 0.9903 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of Templates: time 0.009709/0.1812, allocations: 2.817 MB / 0.9931 GB, free: 13.29 MB / 0.6198 GB