Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.AssertWaterTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.459/1.459, allocations: 288.4 MB / 303.6 MB, free: 8.113 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.0008889/0.0008889, allocations: 178.2 kB / 372.3 MB, free: 10.13 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.174/1.174, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0006976/0.0006977, allocations: 86.92 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 17.66 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1571, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.001913/0.159, allocations: 1.836 MB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1603, allocations: 1.192 MB / 0.9832 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.1604, allocations: 0 / 0.9832 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004249/0.1608, allocations: 175.2 kB / 0.9833 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.161, allocations: 107.6 kB / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.1613, allocations: 105.9 kB / 0.9835 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.1615, allocations: 191.2 kB / 0.9837 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1616, allocations: 40.61 kB / 0.9838 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.71e-05/0.1617, allocations: 95.5 kB / 0.9838 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1618, allocations: 91.5 kB / 0.9839 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1619, allocations: 4 kB / 0.9839 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.162, allocations: 43.97 kB / 0.984 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.162, allocations: 87.66 kB / 0.9841 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.1621, allocations: 136.8 kB / 0.9842 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1623, allocations: 263.4 kB / 0.9844 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1624, allocations: 0 / 0.9844 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1624, allocations: 0 / 0.9844 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.1624, allocations: 0 / 0.9844 GB, free: 22.87 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006868/0.1631, allocations: 0.6261 MB / 0.9851 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1631, allocations: 8.031 kB / 0.9851 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.1632, allocations: 38.69 kB / 0.9851 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.1632, allocations: 44.38 kB / 0.9851 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.1635, allocations: 360.2 kB / 0.9855 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1636, allocations: 8.125 kB / 0.9855 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.1636, allocations: 8 kB / 0.9855 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1637, allocations: 73.66 kB / 0.9856 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1637, allocations: 4 kB / 0.9856 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1638, allocations: 0 / 0.9856 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1638, allocations: 0 / 0.9856 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.391e-05/0.1639, allocations: 39.92 kB / 0.9856 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.1644, allocations: 460.5 kB / 0.986 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1645, allocations: 74.59 kB / 0.9861 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.1646, allocations: 24.84 kB / 0.9861 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1646, allocations: 0 / 0.9861 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.1648, allocations: 79.38 kB / 0.9862 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1648, allocations: 0 / 0.9862 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002638/0.165, allocations: 149 kB / 0.9864 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.1651, allocations: 51.41 kB / 0.9864 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.1655, allocations: 0.5294 MB / 0.9869 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1655, allocations: 25.7 kB / 0.987 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1656, allocations: 220.1 kB / 0.9872 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.1656, allocations: 31.66 kB / 0.9872 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.1656, allocations: 4 kB / 0.9872 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.1657, allocations: 354.8 kB / 0.9875 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.1658, allocations: 51.97 kB / 0.9876 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.96e-05/0.1659, allocations: 72.11 kB / 0.9877 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.166, allocations: 89.67 kB / 0.9877 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.166, allocations: 0 / 0.9877 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002349/0.1663, allocations: 194.9 kB / 0.9879 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.1663, allocations: 4 kB / 0.9879 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1663, allocations: 0 / 0.9879 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1663, allocations: 11.88 kB / 0.9879 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1664, allocations: 27.92 kB / 0.988 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1664, allocations: 0 / 0.988 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1665, allocations: 20.27 kB / 0.988 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.1666, allocations: 4 kB / 0.988 GB, free: 18.99 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.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001173/0.1667, allocations: 177.8 kB / 0.9882 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.1667, allocations: 47.44 kB / 0.9882 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.1668, allocations: 47.8 kB / 0.9882 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1668, allocations: 7.875 kB / 0.9883 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1668, allocations: 0 / 0.9883 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1668, allocations: 0 / 0.9883 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.167, allocations: 293.5 kB / 0.9885 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.167, allocations: 4 kB / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.167, allocations: 4 kB / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.167, allocations: 0 / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.167, allocations: 7.984 kB / 0.9886 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.167, allocations: 7.938 kB / 0.9886 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.167, allocations: 0 / 0.9886 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.1672, allocations: 144.5 kB / 0.9887 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.1673, allocations: 120.5 kB / 0.9888 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.1673, allocations: 7.984 kB / 0.9888 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.1674, allocations: 7.938 kB / 0.9888 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1675, allocations: 15.98 kB / 0.9888 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1675, allocations: 3.984 kB / 0.9888 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002689/0.1677, allocations: 362.8 kB / 0.9892 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.51e-07/0.1678, allocations: 0 / 0.9892 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002183/0.168, allocations: 43.94 kB / 0.9892 GB, free: 17.62 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001038/0.169, allocations: 1.01 MB / 0.9902 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1692, allocations: 91.91 kB / 0.9903 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1692, allocations: 0 / 0.9903 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/0.1693, allocations: 27.98 kB / 0.9903 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1696, allocations: 60.97 kB / 0.9904 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.1717, allocations: 2.201 MB / 0.9925 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.1719, allocations: 0.8177 MB / 0.9933 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.635e-05/0.172, allocations: 29.52 kB / 0.9934 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.1721, allocations: 115.4 kB / 0.9935 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.1721, allocations: 0 / 0.9935 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5448/0.7169, allocations: 6.991 MB / 1 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/0.7172, allocations: 256.4 kB / 1.001 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.147, allocations: 0 / 1.001 GB, free: 6.121 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)