Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 195.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.104/1.104, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.459/1.459, allocations: 292.3 MB / 0.5486 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 75.81 kB / 0.6711 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1581, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003043/0.1612, allocations: 2.314 MB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1628, allocations: 1.336 MB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.163, allocations: 4 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.1635, allocations: 183.7 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.1638, allocations: 123.5 kB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.1641, allocations: 123.7 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.1644, allocations: 275 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1645, allocations: 56.69 kB / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1647, allocations: 107.5 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1648, allocations: 111.5 kB / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.1648, allocations: 16 kB / 0.7875 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.165, allocations: 59.91 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.361e-05/0.165, allocations: 95.61 kB / 0.7876 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1652, allocations: 150.9 kB / 0.7878 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.1655, allocations: 394.5 kB / 0.7882 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1655, allocations: 0 / 0.7882 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1655, allocations: 0 / 0.7882 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.1655, allocations: 0 / 0.7882 GB, free: 8.484 MB / 0.6075 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.0007996/0.1663, allocations: 0.7035 MB / 0.7888 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.1664, allocations: 12.03 kB / 0.7889 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.1664, allocations: 34.75 kB / 0.7889 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.1665, allocations: 52.28 kB / 0.7889 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.1669, allocations: 408.1 kB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1669, allocations: 12.12 kB / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1669, allocations: 7.984 kB / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1671, allocations: 92.55 kB / 0.7894 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1671, allocations: 0 / 0.7894 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1672, allocations: 11.98 kB / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.1672, allocations: 0 / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1673, allocations: 51.97 kB / 0.7895 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.1679, allocations: 0.4886 MB / 0.79 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.1682, allocations: 110.7 kB / 0.7901 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.881e-05/0.1683, allocations: 36.84 kB / 0.7901 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1683, allocations: 4 kB / 0.7901 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.1685, allocations: 87.3 kB / 0.7902 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1685, allocations: 0 / 0.7902 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003217/0.1688, allocations: 181 kB / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1688, allocations: 55.41 kB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/0.1693, allocations: 0.4988 MB / 0.7909 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1693, allocations: 29.7 kB / 0.7909 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.1694, allocations: 216 kB / 0.7912 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1695, allocations: 31.77 kB / 0.7912 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.1695, allocations: 57.59 kB / 0.7912 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1696, allocations: 354.8 kB / 0.7916 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/0.1697, allocations: 55.91 kB / 0.7916 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1699, allocations: 79.3 kB / 0.7917 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.17, allocations: 104.2 kB / 0.7918 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.17, allocations: 3.938 kB / 0.7918 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002882/0.1703, allocations: 205 kB / 0.792 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1704, allocations: 4 kB / 0.792 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1704, allocations: 3.938 kB / 0.792 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.1704, allocations: 4.062 kB / 0.792 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1705, allocations: 47.91 kB / 0.7921 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1705, allocations: 0 / 0.7921 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.1707, allocations: 15.94 kB / 0.7921 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.1707, allocations: 7.984 kB / 0.7921 GB, free: 4.215 MB / 0.6075 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 ($PRE.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.1708, allocations: 188.8 kB / 0.7923 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.1709, allocations: 43.44 kB / 0.7923 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.432e-05/0.171, allocations: 51.91 kB / 0.7924 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.171, allocations: 4 kB / 0.7924 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.171, allocations: 4 kB / 0.7924 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.171, allocations: 0 / 0.7924 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.1712, allocations: 317.3 kB / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1712, allocations: 0 / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.873e-05/0.1713, allocations: 12.31 kB / 0.7927 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1713, allocations: 0 / 0.7927 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1713, allocations: 4 kB / 0.7927 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1713, allocations: 0 / 0.7927 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1713, allocations: 3.938 kB / 0.7927 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.1716, allocations: 224.4 kB / 0.7929 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.1717, allocations: 112.6 kB / 0.793 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.1717, allocations: 4 kB / 0.793 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.1718, allocations: 7.984 kB / 0.793 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.1719, allocations: 7.984 kB / 0.793 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1719, allocations: 8 kB / 0.793 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002953/0.1722, allocations: 354.8 kB / 0.7934 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1722, allocations: 4.062 kB / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002314/0.1724, allocations: 51.92 kB / 0.7934 GB, free: 2.75 MB / 0.6075 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 (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.001243/0.1737, allocations: 1.07 MB / 0.7945 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.1739, allocations: 126.5 kB / 0.7946 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1739, allocations: 0 / 0.7946 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.174, allocations: 39.98 kB / 0.7946 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.1744, allocations: 68.06 kB / 0.7947 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.1775, allocations: 3.259 MB / 0.7979 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1778, allocations: 0.8221 MB / 0.7987 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000108/0.1779, allocations: 41.92 kB / 0.7987 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.1781, allocations: 131.4 kB / 0.7988 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.1781, allocations: 0 / 0.7988 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.612/4.79, allocations: 7.414 MB / 0.8061 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003421/4.79, allocations: 250.8 kB / 0.8063 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/7.398, allocations: 0 / 0.8063 GB, free: 5.73 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)