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.392/1.392, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.001214/0.001214, allocations: 174.1 kB / 326.5 MB, free: 2.723 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.685/1.685, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0007933/0.0007932, allocations: 98.53 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 11.19 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.176, allocations: 105.4 MB / 0.8968 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002575/0.1786, allocations: 2.194 MB / 0.8989 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.1804, allocations: 1.327 MB / 0.9002 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.1806, allocations: 7.938 kB / 0.9002 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008297/0.1815, allocations: 299 kB / 0.9005 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003861/0.1819, allocations: 199.3 kB / 0.9007 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.1823, allocations: 204.6 kB / 0.9009 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.1827, allocations: 366.8 kB / 0.9012 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1829, allocations: 64.7 kB / 0.9013 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.1831, allocations: 135.3 kB / 0.9014 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.1832, allocations: 155.2 kB / 0.9016 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.1833, allocations: 4 kB / 0.9016 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.1834, allocations: 51.91 kB / 0.9016 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1836, allocations: 115.6 kB / 0.9017 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.1837, allocations: 174.5 kB / 0.9019 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.184, allocations: 450.2 kB / 0.9023 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.184, allocations: 0 / 0.9023 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.184, allocations: 0 / 0.9023 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.1841, allocations: 0 / 0.9023 GB, free: 62.49 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.0009073/0.185, allocations: 0.7578 MB / 0.9031 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.185, allocations: 8.031 kB / 0.9031 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.789e-05/0.1851, allocations: 60.19 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.1855, allocations: 424.6 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.1856, allocations: 12.12 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.1856, allocations: 16 kB / 0.9036 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.1859, allocations: 131.3 kB / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1859, allocations: 3.938 kB / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.1859, allocations: 11.98 kB / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1859, allocations: 0 / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.1861, allocations: 71.84 kB / 0.9038 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.1867, allocations: 0.5745 MB / 0.9043 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.187, allocations: 126.7 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.1871, allocations: 48.78 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1871, allocations: 7.984 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.1873, allocations: 111.3 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.1873, allocations: 0 / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004196/0.1878, allocations: 233 kB / 0.9048 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.1878, allocations: 85.09 kB / 0.9049 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.1884, allocations: 0.6758 MB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1884, allocations: 33.7 kB / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1885, allocations: 268.3 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1886, allocations: 35.55 kB / 0.9059 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1886, allocations: 29.7 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.672e-05/0.1887, allocations: 366.8 kB / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1888, allocations: 75.97 kB / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1889, allocations: 117.8 kB / 0.9065 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.1892, allocations: 137.9 kB / 0.9066 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1892, allocations: 4 kB / 0.9066 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003624/0.1896, allocations: 268.8 kB / 0.9069 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1896, allocations: 7.938 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1896, allocations: 0 / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1896, allocations: 4 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1897, allocations: 39.92 kB / 0.9069 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1898, allocations: 3.938 kB / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.1899, allocations: 23.95 kB / 0.9069 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.19, allocations: 12 kB / 0.9069 GB, free: 57.49 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.0001582/0.1901, allocations: 215.5 kB / 0.9071 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.1902, allocations: 55.28 kB / 0.9072 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.227e-05/0.1903, allocations: 57.05 kB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1903, allocations: 3.984 kB / 0.9073 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1903, allocations: 0 / 0.9073 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.1903, allocations: 120.5 kB / 0.9074 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.1904, allocations: 12 kB / 0.9074 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.1905, allocations: 11.98 kB / 0.9074 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.1906, allocations: 23.91 kB / 0.9074 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002774/0.1909, allocations: 225.9 kB / 0.9076 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002857/0.1912, allocations: 378.7 kB / 0.908 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.44e-05/0.1913, allocations: 56.91 kB / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003565/0.1916, allocations: 467 kB / 0.9085 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of Backend: time 2.41e-07/0.1916, allocations: 0 / 0.9085 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.1929, allocations: 0.5226 MB / 0.909 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001207/0.1942, allocations: 1.415 MB / 0.9104 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.007262/0.2014, allocations: 3.976 MB / 0.9143 GB, free: 50.07 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)