Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.623/1.623, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 172 kB / 325.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007944/0.0007944, allocations: 89.81 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 9.719 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1632, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002231/0.1655, allocations: 2.206 MB / 0.8984 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1669, allocations: 1.316 MB / 0.8996 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.167, allocations: 3.938 kB / 0.8997 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006462/0.1677, allocations: 303 kB / 0.8999 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.168, allocations: 195.3 kB / 0.9001 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.1684, allocations: 209.4 kB / 0.9003 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.1686, allocations: 366.7 kB / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1687, allocations: 72.64 kB / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1689, allocations: 127.3 kB / 0.9009 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.169, allocations: 159.2 kB / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.169, allocations: 8 kB / 0.901 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1691, allocations: 43.98 kB / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.1692, allocations: 119.6 kB / 0.9012 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.282e-05/0.1693, allocations: 170.5 kB / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1696, allocations: 454.2 kB / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1696, allocations: 0 / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1696, allocations: 0 / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1696, allocations: 4 kB / 0.9018 GB, free: 62.35 MB / 0.6042 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.0007629/0.1704, allocations: 0.7561 MB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1704, allocations: 8.031 kB / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.1705, allocations: 38.75 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.1705, allocations: 60.19 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.1709, allocations: 424.7 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1709, allocations: 7.938 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1709, allocations: 12 kB / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.1711, allocations: 144.4 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1712, allocations: 0 / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1712, allocations: 7.984 kB / 0.9032 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1712, allocations: 11.86 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.1713, allocations: 67.97 kB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.1719, allocations: 0.5706 MB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.1722, allocations: 126.7 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.242e-05/0.1723, allocations: 56.83 kB / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1723, allocations: 0 / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.1725, allocations: 111.2 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.1725, allocations: 0 / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0003827/0.1729, allocations: 241 kB / 0.9043 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.1729, allocations: 77.11 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.1734, allocations: 0.6797 MB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1734, allocations: 33.7 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1736, allocations: 264.4 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.1736, allocations: 31.55 kB / 0.9054 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.1737, allocations: 33.7 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.1737, allocations: 370.8 kB / 0.9058 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1739, allocations: 63.97 kB / 0.9058 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.174, allocations: 129.7 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.1742, allocations: 133.1 kB / 0.9061 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.1742, allocations: 3.938 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003103/0.1745, allocations: 276.8 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1745, allocations: 4 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1745, allocations: 4 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.1745, allocations: 3.938 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1747, allocations: 35.92 kB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1747, allocations: 0 / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.1748, allocations: 23.89 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1749, allocations: 8 kB / 0.9064 GB, free: 57.31 MB / 0.6042 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 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.175, allocations: 219.5 kB / 0.9066 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.1751, allocations: 55.28 kB / 0.9067 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.1751, allocations: 57.05 kB / 0.9067 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1752, allocations: 4 kB / 0.9068 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1752, allocations: 0 / 0.9068 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.1752, allocations: 3.984 kB / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.1754, allocations: 365.3 kB / 0.9071 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1754, allocations: 7.922 kB / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.1754, allocations: 12 kB / 0.9071 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1754, allocations: 0 / 0.9071 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1755, allocations: 4 kB / 0.9071 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1755, allocations: 0 / 0.9071 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1755, allocations: 4 kB / 0.9071 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1757, allocations: 217.4 kB / 0.9073 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.1758, allocations: 136.4 kB / 0.9075 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.1759, allocations: 8 kB / 0.9075 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.176, allocations: 15.98 kB / 0.9075 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.176, allocations: 19.98 kB / 0.9075 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.1761, allocations: 7.984 kB / 0.9075 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003356/0.1764, allocations: 459 kB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1764, allocations: 0 / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002417/0.1766, allocations: 67.83 kB / 0.908 GB, free: 55.59 MB / 0.6042 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 (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.001124/0.1778, allocations: 1.079 MB / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002626/0.178, allocations: 151.4 kB / 0.9092 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1781, allocations: 0 / 0.9092 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.1782, allocations: 60.03 kB / 0.9093 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1786, allocations: 89.12 kB / 0.9094 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.1819, allocations: 4.067 MB / 0.9133 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.1821, allocations: 0.8656 MB / 0.9142 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.1823, allocations: 46.27 kB / 0.9142 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.1824, allocations: 163.4 kB / 0.9144 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.1824, allocations: 3.938 kB / 0.9144 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4159/0.5983, allocations: 8.958 MB / 0.9231 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.5985, allocations: 257 kB / 0.9234 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/2.8, allocations: 0 / 0.9234 GB, free: 39.89 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)