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.535/1.535, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001052/0.001052, allocations: 166.9 kB / 326.5 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.763/1.763, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0008397/0.0008398, allocations: 87.97 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003104, allocations: 10.41 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1968, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002449/0.1992, allocations: 2.206 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2008, allocations: 1.316 MB / 0.9002 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.201, allocations: 11.94 kB / 0.9002 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.2017, allocations: 299 kB / 0.9005 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.202, allocations: 199.3 kB / 0.9007 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.2024, allocations: 204.6 kB / 0.9009 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.2027, allocations: 366.8 kB / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.2029, allocations: 76.64 kB / 0.9013 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.203, allocations: 127.3 kB / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.2032, allocations: 151.2 kB / 0.9016 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.2032, allocations: 4 kB / 0.9016 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.2033, allocations: 47.92 kB / 0.9016 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.2034, allocations: 119.6 kB / 0.9017 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.2035, allocations: 178.5 kB / 0.9019 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.2038, allocations: 355.2 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2038, allocations: 0 / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2038, allocations: 0 / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2038, allocations: 4 kB / 0.9022 GB, free: 62.54 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.0008078/0.2046, allocations: 0.7445 MB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2047, allocations: 8.031 kB / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.2048, allocations: 60.19 kB / 0.903 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.2051, allocations: 428.6 kB / 0.9034 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.2052, allocations: 16.12 kB / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.2052, allocations: 11.98 kB / 0.9035 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.2054, allocations: 139.3 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.2054, allocations: 0 / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.2055, allocations: 8 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2055, allocations: 0 / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.2056, allocations: 67.91 kB / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.2062, allocations: 0.5745 MB / 0.9042 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.2065, allocations: 134.7 kB / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.2066, allocations: 48.77 kB / 0.9044 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.2066, allocations: 4 kB / 0.9044 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.2068, allocations: 111.3 kB / 0.9045 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.2068, allocations: 0 / 0.9045 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004026/0.2073, allocations: 237 kB / 0.9047 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.2073, allocations: 85.05 kB / 0.9048 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000535/0.2078, allocations: 0.672 MB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2079, allocations: 33.7 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.208, allocations: 264.3 kB / 0.9058 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.208, allocations: 39.53 kB / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.2081, allocations: 29.7 kB / 0.9058 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.2082, allocations: 366.8 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.2083, allocations: 75.97 kB / 0.9062 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.2084, allocations: 117.8 kB / 0.9064 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.2086, allocations: 138.2 kB / 0.9065 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2086, allocations: 0 / 0.9065 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003405/0.209, allocations: 276.7 kB / 0.9067 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.209, allocations: 4 kB / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.209, allocations: 0 / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.209, allocations: 4 kB / 0.9068 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.2092, allocations: 35.92 kB / 0.9068 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2092, allocations: 0 / 0.9068 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2094, allocations: 27.95 kB / 0.9068 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.2094, allocations: 12 kB / 0.9068 GB, free: 57.55 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.0001563/0.2095, allocations: 207.5 kB / 0.907 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.2096, allocations: 55.33 kB / 0.9071 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.568e-05/0.2097, allocations: 61.03 kB / 0.9071 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.2097, allocations: 0 / 0.9071 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2097, allocations: 11.92 kB / 0.9072 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2097, allocations: 0 / 0.9072 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.2099, allocations: 369.4 kB / 0.9075 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2099, allocations: 0 / 0.9075 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.21, allocations: 11.94 kB / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.21, allocations: 4 kB / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.21, allocations: 0 / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.21, allocations: 0 / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.21, allocations: 0 / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.2103, allocations: 225.8 kB / 0.9077 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.2104, allocations: 132.4 kB / 0.9079 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.2104, allocations: 4 kB / 0.9079 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.2106, allocations: 19.98 kB / 0.9079 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.2106, allocations: 23.86 kB / 0.9079 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.2106, allocations: 7.984 kB / 0.9079 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003605/0.211, allocations: 463 kB / 0.9084 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.211, allocations: 0 / 0.9084 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002538/0.2113, allocations: 67.84 kB / 0.9084 GB, free: 55.83 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.0008652/0.2121, allocations: 421.6 kB / 0.9088 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002838/0.2124, allocations: 147.9 kB / 0.909 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2125, allocations: 0 / 0.909 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.2126, allocations: 59.92 kB / 0.909 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.213, allocations: 95.56 kB / 0.9091 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009816/0.214, allocations: 0.9845 MB / 0.9101 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.2142, allocations: 0.8575 MB / 0.9109 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.2143, allocations: 31.42 kB / 0.9109 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2143, allocations: 0 / 0.9109 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.006162/0.2205, allocations: 5.603 MB / 0.9164 GB, free: 47.76 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)