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.372/1.372, allocations: 252 MB / 267.9 MB, free: 10.75 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.0009271/0.0009271, allocations: 183.1 kB / 327.5 MB, free: 2.145 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.604/1.604, allocations: 205.4 MB / 0.5785 GB, free: 20.14 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.0007521/0.000752, allocations: 97.53 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004008, allocations: 17.44 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2194, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.3943, allocations: 138 MB / 1.036 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.3947, allocations: 91.94 kB / 1.036 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03566/0.4304, allocations: 13.66 MB / 1.049 GB, free: 7.656 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.375e-06/0.4304, allocations: 0 / 1.049 GB, free: 7.656 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.661e-05/0.4305, allocations: 19.94 kB / 1.049 GB, free: 7.637 MB / 0.698 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.001356/0.4319, allocations: 0.7915 MB / 1.05 GB, free: 6.785 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4319, allocations: 8.031 kB / 1.05 GB, free: 6.777 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.4321, allocations: 60.19 kB / 1.05 GB, free: 6.719 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007667/0.4329, allocations: 444.7 kB / 1.051 GB, free: 6.246 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.4329, allocations: 8.562 kB / 1.051 GB, free: 6.238 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.4329, allocations: 12.38 kB / 1.051 GB, free: 6.227 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.4333, allocations: 146.1 kB / 1.051 GB, free: 6.074 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4333, allocations: 0 / 1.051 GB, free: 6.074 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.4333, allocations: 8 kB / 1.051 GB, free: 6.066 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.4333, allocations: 0 / 1.051 GB, free: 6.066 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.4335, allocations: 79.89 kB / 1.051 GB, free: 5.988 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009599/0.4345, allocations: 0.594 MB / 1.051 GB, free: 5.344 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.4348, allocations: 130.7 kB / 1.052 GB, free: 5.207 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.4349, allocations: 52.84 kB / 1.052 GB, free: 5.152 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.435, allocations: 3.984 kB / 1.052 GB, free: 5.148 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.4352, allocations: 115.3 kB / 1.052 GB, free: 5.023 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.4352, allocations: 0 / 1.052 GB, free: 5.023 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0005163/0.4357, allocations: 234.8 kB / 1.052 GB, free: 4.789 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.4358, allocations: 85.11 kB / 1.052 GB, free: 4.688 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/0.4366, allocations: 0.6797 MB / 1.053 GB, free: 3.996 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.4367, allocations: 33.7 kB / 1.053 GB, free: 3.957 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.4369, allocations: 264.3 kB / 1.053 GB, free: 3.691 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.4369, allocations: 35.55 kB / 1.053 GB, free: 3.656 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.4369, allocations: 8 kB / 1.053 GB, free: 3.648 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4371, allocations: 370.8 kB / 1.053 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.4373, allocations: 83.89 kB / 1.054 GB, free: 3.195 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.4375, allocations: 141.2 kB / 1.054 GB, free: 3.043 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.4378, allocations: 142.3 kB / 1.054 GB, free: 2.898 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4378, allocations: 3.938 kB / 1.054 GB, free: 2.895 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004658/0.4383, allocations: 288.8 kB / 1.054 GB, free: 2.605 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4383, allocations: 10.75 kB / 1.054 GB, free: 2.598 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4383, allocations: 0 / 1.054 GB, free: 2.598 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4383, allocations: 7.938 kB / 1.054 GB, free: 2.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.4385, allocations: 35.98 kB / 1.054 GB, free: 2.555 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4385, allocations: 3.984 kB / 1.054 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.4387, allocations: 19.89 kB / 1.054 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.4388, allocations: 12.06 kB / 1.054 GB, free: 2.52 MB / 0.698 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.runSig,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,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.0002353/0.439, allocations: 223.4 kB / 1.054 GB, free: 2.293 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.4391, allocations: 55.28 kB / 1.054 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.4395, allocations: 215.9 kB / 1.055 GB, free: 2.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4395, allocations: 7.938 kB / 1.055 GB, free: 2.012 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4395, allocations: 0 / 1.055 GB, free: 2.012 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4395, allocations: 0 / 1.055 GB, free: 2.012 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.4399, allocations: 389.2 kB / 1.055 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4399, allocations: 8 kB / 1.055 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.44, allocations: 8 kB / 1.055 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.44, allocations: 0 / 1.055 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.44, allocations: 8 kB / 1.055 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.44, allocations: 3.938 kB / 1.055 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.44, allocations: 0 / 1.055 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.4404, allocations: 235.2 kB / 1.055 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.4405, allocations: 144.3 kB / 1.055 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.4406, allocations: 4 kB / 1.055 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.4407, allocations: 19.92 kB / 1.055 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.4408, allocations: 19.97 kB / 1.055 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.4408, allocations: 4 kB / 1.055 GB, free: 1.102 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005757/0.4414, allocations: 467 kB / 1.056 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4414, allocations: 0 / 1.056 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003636/0.4418, allocations: 75.94 kB / 1.056 GB, free: 0.5742 MB / 0.698 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.runSig,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001072/0.4428, allocations: 453.7 kB / 1.056 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.4432, allocations: 167.9 kB / 1.057 GB, free: 120 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4433, allocations: 4.062 kB / 1.057 GB, free: 116 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.4434, allocations: 63.91 kB / 1.057 GB, free: 52 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3727/0.8161, allocations: 81.08 kB / 1.057 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.8177, allocations: 0.9312 MB / 1.058 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.818, allocations: 0.8663 MB / 1.058 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001688/0.8182, allocations: 45.05 kB / 1.058 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.8183, allocations: 31.22 kB / 1.059 GB, free: 146.2 MB / 0.698 GB Notification: Performance of SimCode: time 6.32e-07/0.8183, allocations: 0 / 1.059 GB, free: 146.2 MB / 0.698 GB Notification: Performance of Templates: time 0.009462/0.8277, allocations: 4.474 MB / 1.063 GB, free: 146.1 MB / 0.698 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)