Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.AssertWaterFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",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.438/1.438, allocations: 288.4 MB / 303.6 MB, free: 8.016 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.0009372/0.0009372, allocations: 190.7 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.93 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.0007317/0.0007317, allocations: 103.2 kB / 0.7444 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 13.97 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1616, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002428/0.1641, allocations: 2.091 MB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1658, allocations: 1.383 MB / 0.9836 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.166, allocations: 3.938 kB / 0.9836 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007153/0.1667, allocations: 287 kB / 0.9839 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.1671, allocations: 187.3 kB / 0.984 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.1675, allocations: 193.3 kB / 0.9842 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.1678, allocations: 346.7 kB / 0.9845 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.168, allocations: 84.91 kB / 0.9846 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1681, allocations: 131.4 kB / 0.9848 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.1682, allocations: 151.3 kB / 0.9849 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.1683, allocations: 8 kB / 0.9849 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.1684, allocations: 51.91 kB / 0.985 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.1685, allocations: 123.6 kB / 0.9851 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1686, allocations: 180.5 kB / 0.9852 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.1689, allocations: 375.1 kB / 0.9856 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1689, allocations: 0 / 0.9856 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1689, allocations: 0 / 0.9856 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1689, allocations: 0 / 0.9856 GB, free: 21.69 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000778/0.1697, allocations: 0.7639 MB / 0.9863 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1697, allocations: 16.02 kB / 0.9864 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.1698, allocations: 46.69 kB / 0.9864 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.1698, allocations: 56.19 kB / 0.9865 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.1702, allocations: 432.6 kB / 0.9869 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1702, allocations: 8 kB / 0.9869 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1703, allocations: 12 kB / 0.9869 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.1705, allocations: 145 kB / 0.987 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.1705, allocations: 4 kB / 0.987 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1705, allocations: 0 / 0.987 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1705, allocations: 3.938 kB / 0.987 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.1707, allocations: 67.97 kB / 0.9871 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.1713, allocations: 0.5745 MB / 0.9877 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.1716, allocations: 130.7 kB / 0.9878 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.1716, allocations: 40.84 kB / 0.9878 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1717, allocations: 4 kB / 0.9878 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.1719, allocations: 115.4 kB / 0.9879 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.825e-06/0.1719, allocations: 0 / 0.9879 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0003832/0.1723, allocations: 240.8 kB / 0.9882 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.1723, allocations: 77.11 kB / 0.9882 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.1728, allocations: 0.6837 MB / 0.9889 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1729, allocations: 33.7 kB / 0.9889 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.173, allocations: 268.3 kB / 0.9892 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.173, allocations: 31.55 kB / 0.9892 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/0.173, allocations: 4 kB / 0.9892 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.1731, allocations: 374.8 kB / 0.9896 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1732, allocations: 67.97 kB / 0.9897 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1734, allocations: 126.4 kB / 0.9898 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.1736, allocations: 141.4 kB / 0.9899 GB, free: 17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1736, allocations: 0 / 0.9899 GB, free: 17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003259/0.1739, allocations: 260.8 kB / 0.9902 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1739, allocations: 8.062 kB / 0.9902 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1739, allocations: 4 kB / 0.9902 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.174, allocations: 0 / 0.9902 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.1741, allocations: 43.91 kB / 0.9902 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1741, allocations: 0 / 0.9902 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.1743, allocations: 27.89 kB / 0.9902 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.1743, allocations: 4 kB / 0.9902 GB, free: 16.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001592/0.1745, allocations: 227.5 kB / 0.9905 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.1745, allocations: 59.28 kB / 0.9905 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.319e-05/0.1746, allocations: 57.05 kB / 0.9906 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1746, allocations: 3.938 kB / 0.9906 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1746, allocations: 0 / 0.9906 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1746, allocations: 0 / 0.9906 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.1748, allocations: 377.2 kB / 0.9909 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1748, allocations: 4 kB / 0.9909 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.1749, allocations: 7.984 kB / 0.9909 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1749, allocations: 0 / 0.9909 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1749, allocations: 12 kB / 0.991 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1749, allocations: 0 / 0.991 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1749, allocations: 3.938 kB / 0.991 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.1752, allocations: 221.8 kB / 0.9912 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.552e-05/0.1753, allocations: 132.3 kB / 0.9913 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.1753, allocations: 4 kB / 0.9913 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1754, allocations: 19.98 kB / 0.9913 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.1755, allocations: 19.97 kB / 0.9913 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1755, allocations: 4 kB / 0.9913 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003627/0.1759, allocations: 467 kB / 0.9918 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1759, allocations: 0 / 0.9918 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002648/0.1762, allocations: 67.94 kB / 0.9919 GB, free: 14.9 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: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001212/0.1774, allocations: 1.097 MB / 0.9929 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.1777, allocations: 150.7 kB / 0.9931 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1777, allocations: 0 / 0.9931 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1778, allocations: 55.92 kB / 0.9931 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.1782, allocations: 83.42 kB / 0.9932 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.1811, allocations: 2.914 MB / 0.9961 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.1814, allocations: 0.8687 MB / 0.9969 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.1815, allocations: 54.92 kB / 0.997 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.1817, allocations: 167.4 kB / 0.9971 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.1817, allocations: 0 / 0.9971 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.318/0.4997, allocations: 9.416 MB / 1.006 GB, free: 288 kB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.4999, allocations: 245.4 kB / 1.007 GB, free: 0 / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.868, allocations: 128 / 1.007 GB, free: 16 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)