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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 252 MB / 268 MB, free: 10.86 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.001019/0.001019, allocations: 173 kB / 327.6 MB, free: 2.098 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.62/1.62, allocations: 205.4 MB / 0.5786 GB, free: 20.19 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.0008536/0.0008538, allocations: 87.92 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 16.66 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1715, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002255/0.1738, allocations: 2.173 MB / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1753, allocations: 1.308 MB / 0.9048 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1754, allocations: 7.938 kB / 0.9049 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007182/0.1761, allocations: 304.7 kB / 0.9051 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.1764, allocations: 191.3 kB / 0.9053 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.1768, allocations: 200.2 kB / 0.9055 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.1771, allocations: 366.7 kB / 0.9059 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1773, allocations: 76.7 kB / 0.9059 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.1774, allocations: 135.2 kB / 0.9061 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.1775, allocations: 151.2 kB / 0.9062 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.1776, allocations: 4 kB / 0.9062 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1777, allocations: 51.98 kB / 0.9063 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.1778, allocations: 107.6 kB / 0.9064 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.1779, allocations: 204.2 kB / 0.9066 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.1782, allocations: 359.4 kB / 0.9069 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1782, allocations: 0 / 0.9069 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1782, allocations: 0 / 0.9069 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1782, allocations: 0 / 0.9069 GB, free: 57.9 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.0008017/0.179, allocations: 0.7523 MB / 0.9076 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1791, allocations: 8.031 kB / 0.9077 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.129e-05/0.1792, allocations: 64.19 kB / 0.9077 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.1795, allocations: 428.6 kB / 0.9081 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1796, allocations: 12.12 kB / 0.9081 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1796, allocations: 8 kB / 0.9081 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.1798, allocations: 139.3 kB / 0.9083 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.1798, allocations: 0 / 0.9083 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1799, allocations: 8 kB / 0.9083 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1799, allocations: 0 / 0.9083 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.18, allocations: 79.83 kB / 0.9084 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.1807, allocations: 0.5628 MB / 0.9089 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.1809, allocations: 130.7 kB / 0.909 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/0.181, allocations: 40.84 kB / 0.9091 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.1811, allocations: 4 kB / 0.9091 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.1813, allocations: 115.3 kB / 0.9092 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.1813, allocations: 0 / 0.9092 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004118/0.1817, allocations: 241.7 kB / 0.9094 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.1817, allocations: 85.09 kB / 0.9095 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.1823, allocations: 0.6758 MB / 0.9102 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1823, allocations: 33.7 kB / 0.9102 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.1825, allocations: 260.4 kB / 0.9104 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.1825, allocations: 35.55 kB / 0.9105 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.1825, allocations: 4 kB / 0.9105 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.025e-05/0.1826, allocations: 370.8 kB / 0.9108 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1827, allocations: 71.97 kB / 0.9109 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1829, allocations: 117.8 kB / 0.911 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.1831, allocations: 139.2 kB / 0.9111 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1831, allocations: 0 / 0.9111 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003395/0.1834, allocations: 271.7 kB / 0.9114 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1834, allocations: 4 kB / 0.9114 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1834, allocations: 3.984 kB / 0.9114 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1835, allocations: 8.031 kB / 0.9114 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1836, allocations: 43.86 kB / 0.9115 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1836, allocations: 4.062 kB / 0.9115 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.1838, allocations: 27.83 kB / 0.9115 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.1838, allocations: 8 kB / 0.9115 GB, free: 52.93 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 ($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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.184, allocations: 211.5 kB / 0.9117 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.1841, allocations: 55.28 kB / 0.9118 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.617e-05/0.1841, allocations: 57.05 kB / 0.9118 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1841, allocations: 4 kB / 0.9118 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1842, allocations: 4 kB / 0.9118 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1842, allocations: 0 / 0.9118 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.1844, allocations: 369.4 kB / 0.9122 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1844, allocations: 0 / 0.9122 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.1844, allocations: 11.92 kB / 0.9122 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1844, allocations: 4 kB / 0.9122 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1845, allocations: 4 kB / 0.9122 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1845, allocations: 0 / 0.9122 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1845, allocations: 0 / 0.9122 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.1848, allocations: 225.3 kB / 0.9124 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.1848, allocations: 136.3 kB / 0.9125 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.1849, allocations: 8 kB / 0.9125 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.185, allocations: 11.98 kB / 0.9125 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.1851, allocations: 19.97 kB / 0.9126 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.1851, allocations: 4 kB / 0.9126 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000376/0.1855, allocations: 467 kB / 0.913 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1855, allocations: 3.938 kB / 0.913 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002625/0.1858, allocations: 63.91 kB / 0.9131 GB, free: 51.21 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.0008537/0.1866, allocations: 421.8 kB / 0.9135 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002923/0.1869, allocations: 151.9 kB / 0.9136 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1869, allocations: 128 / 0.9136 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.187, allocations: 60.92 kB / 0.9137 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1875, allocations: 87.08 kB / 0.9138 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009927/0.1885, allocations: 1.014 MB / 0.9148 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.1887, allocations: 0.8614 MB / 0.9156 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.1888, allocations: 27.42 kB / 0.9156 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.1888, allocations: 4 kB / 0.9156 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.006107/0.1949, allocations: 5.587 MB / 0.9211 GB, free: 43.12 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)