Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.AssertFuelFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",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.418/1.418, allocations: 288.4 MB / 303.6 MB, free: 8.082 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.0009063/0.0009063, allocations: 189.3 kB / 372.3 MB, free: 10.11 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.141/1.141, 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.0006283/0.0006283, allocations: 94.22 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 12.59 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1548, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.001852/0.1567, allocations: 1.91 MB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.158, allocations: 1.254 MB / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1582, allocations: 7.938 kB / 0.9833 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004299/0.1586, allocations: 167.3 kB / 0.9834 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.1589, allocations: 107.5 kB / 0.9835 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1592, allocations: 118 kB / 0.9837 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.1594, allocations: 235.1 kB / 0.9839 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1595, allocations: 56.59 kB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1596, allocations: 91.52 kB / 0.984 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1597, allocations: 103.5 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.1598, allocations: 4 kB / 0.9841 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.1599, allocations: 35.98 kB / 0.9842 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.754e-05/0.16, allocations: 91.66 kB / 0.9842 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.171e-05/0.16, allocations: 148.7 kB / 0.9844 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1602, allocations: 291.3 kB / 0.9847 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1603, allocations: 0 / 0.9847 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1603, allocations: 4 kB / 0.9847 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.1603, allocations: 3.938 kB / 0.9847 GB, free: 22.62 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.0006843/0.161, allocations: 0.6572 MB / 0.9853 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.161, allocations: 8.031 kB / 0.9853 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.161, allocations: 42.73 kB / 0.9854 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.1611, allocations: 48.36 kB / 0.9854 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.1615, allocations: 412.1 kB / 0.9858 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1615, allocations: 12.12 kB / 0.9858 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1615, allocations: 4 kB / 0.9858 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1617, allocations: 97.58 kB / 0.9859 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1617, allocations: 0 / 0.9859 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1617, allocations: 0 / 0.9859 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1617, allocations: 4 kB / 0.9859 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1618, allocations: 51.91 kB / 0.986 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.1624, allocations: 0.4925 MB / 0.9864 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.1627, allocations: 114.6 kB / 0.9866 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.407e-05/0.1628, allocations: 36.84 kB / 0.9866 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1628, allocations: 4 kB / 0.9866 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.1629, allocations: 79.38 kB / 0.9867 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1629, allocations: 0 / 0.9867 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002877/0.1632, allocations: 185 kB / 0.9868 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.1633, allocations: 59.34 kB / 0.9869 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.1636, allocations: 0.4911 MB / 0.9874 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1636, allocations: 29.7 kB / 0.9874 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.939e-05/0.1637, allocations: 224 kB / 0.9876 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.1638, allocations: 31.69 kB / 0.9877 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.1638, allocations: 0 / 0.9877 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.1638, allocations: 362.8 kB / 0.988 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/0.1639, allocations: 51.98 kB / 0.9881 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.443e-05/0.164, allocations: 74.86 kB / 0.9881 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.1642, allocations: 104.9 kB / 0.9882 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1642, allocations: 0 / 0.9882 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000254/0.1645, allocations: 205 kB / 0.9884 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.1645, allocations: 12 kB / 0.9884 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1645, allocations: 0 / 0.9884 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1645, allocations: 4 kB / 0.9884 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1647, allocations: 39.92 kB / 0.9885 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1647, allocations: 0 / 0.9885 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.1648, allocations: 19.89 kB / 0.9885 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.1648, allocations: 8 kB / 0.9885 GB, free: 18.46 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.0001238/0.165, allocations: 200.3 kB / 0.9887 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.165, allocations: 47.42 kB / 0.9887 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.1651, allocations: 43.92 kB / 0.9888 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1651, allocations: 3.938 kB / 0.9888 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1651, allocations: 0 / 0.9888 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1651, allocations: 7.984 kB / 0.9888 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.1653, allocations: 317.4 kB / 0.9891 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1653, allocations: 0 / 0.9891 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.1653, allocations: 12 kB / 0.9891 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1653, allocations: 3.984 kB / 0.9891 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1654, allocations: 4 kB / 0.9891 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1654, allocations: 4 kB / 0.9891 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1654, allocations: 0 / 0.9891 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1656, allocations: 216.4 kB / 0.9893 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.1657, allocations: 112.6 kB / 0.9894 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.1657, allocations: 7.984 kB / 0.9894 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.1658, allocations: 11.98 kB / 0.9894 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.1659, allocations: 16.05 kB / 0.9895 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.1659, allocations: 0 / 0.9895 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002447/0.1661, allocations: 354.8 kB / 0.9898 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1661, allocations: 0 / 0.9898 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002361/0.1664, allocations: 44 kB / 0.9898 GB, free: 16.99 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.001046/0.1674, allocations: 1.077 MB / 0.9909 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1676, allocations: 115.8 kB / 0.991 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1677, allocations: 0 / 0.991 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.207e-05/0.1677, allocations: 35.98 kB / 0.991 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1681, allocations: 55.47 kB / 0.9911 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.1703, allocations: 2.284 MB / 0.9933 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.1705, allocations: 0.8356 MB / 0.9941 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.837e-05/0.1706, allocations: 33.94 kB / 0.9942 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1707, allocations: 127.4 kB / 0.9943 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.1707, allocations: 0 / 0.9943 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/0.2898, allocations: 7.464 MB / 1.002 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/0.2899, allocations: 251 kB / 1.002 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.631, allocations: 0 / 1.002 GB, free: 4.887 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)