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.437/1.437, allocations: 252 MB / 267.6 MB, free: 10.96 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: 185.5 kB / 327.3 MB, free: 2.23 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.92/1.92, allocations: 205.4 MB / 0.5783 GB, free: 20.52 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.0008056/0.0008054, allocations: 86.36 kB / 0.6829 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.000431, allocations: 9.125 kB / 0.797 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 106.3 MB / 0.9008 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002714/0.2478, allocations: 2.116 MB / 0.9029 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.2495, allocations: 1.246 MB / 0.9041 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.2497, allocations: 7.938 kB / 0.9041 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007438/0.2504, allocations: 283 kB / 0.9044 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.2507, allocations: 179.3 kB / 0.9046 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.2512, allocations: 191.9 kB / 0.9047 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.2515, allocations: 338.8 kB / 0.9051 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.2516, allocations: 56.91 kB / 0.9051 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.2518, allocations: 139.3 kB / 0.9053 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.252, allocations: 143.4 kB / 0.9054 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.252, allocations: 8 kB / 0.9054 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.2521, allocations: 39.92 kB / 0.9054 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.396e-05/0.2522, allocations: 111.6 kB / 0.9055 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.2523, allocations: 97.45 kB / 0.9056 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.2526, allocations: 367.3 kB / 0.906 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2526, allocations: 4 kB / 0.906 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2526, allocations: 0 / 0.906 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2526, allocations: 0 / 0.906 GB, free: 59.13 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.0009325/0.2536, allocations: 0.7521 MB / 0.9067 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2536, allocations: 12.03 kB / 0.9067 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.78e-05/0.2537, allocations: 63.2 kB / 0.9068 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.2541, allocations: 396 kB / 0.9072 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.2541, allocations: 8.188 kB / 0.9072 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.2542, allocations: 12 kB / 0.9072 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.2545, allocations: 140.2 kB / 0.9073 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2545, allocations: 4 kB / 0.9073 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.2545, allocations: 0 / 0.9073 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.2545, allocations: 0 / 0.9073 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.2547, allocations: 84.41 kB / 0.9074 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000762/0.2555, allocations: 0.5821 MB / 0.908 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.2558, allocations: 122.8 kB / 0.9081 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.161e-05/0.2559, allocations: 44.84 kB / 0.9081 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.2559, allocations: 4 kB / 0.9081 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.2561, allocations: 118.5 kB / 0.9083 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.905e-06/0.2561, allocations: 0 / 0.9083 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.000455/0.2566, allocations: 228.9 kB / 0.9085 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.2566, allocations: 81.11 kB / 0.9085 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006029/0.2573, allocations: 0.672 MB / 0.9092 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2573, allocations: 29.7 kB / 0.9092 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.2575, allocations: 272.2 kB / 0.9095 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.2575, allocations: 31.64 kB / 0.9095 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.2575, allocations: 8 kB / 0.9095 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2577, allocations: 370.8 kB / 0.9099 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.2578, allocations: 71.91 kB / 0.91 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.2579, allocations: 117.8 kB / 0.9101 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.2581, allocations: 75.94 kB / 0.9101 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2581, allocations: 0 / 0.9101 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003536/0.2585, allocations: 272.3 kB / 0.9104 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2585, allocations: 8 kB / 0.9104 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.2585, allocations: 0 / 0.9104 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.2585, allocations: 0 / 0.9104 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.2587, allocations: 35.92 kB / 0.9104 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.2587, allocations: 0 / 0.9104 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.2589, allocations: 31.95 kB / 0.9105 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.2589, allocations: 8 kB / 0.9105 GB, free: 54.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002148/0.2591, allocations: 219.4 kB / 0.9107 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.2592, allocations: 51.34 kB / 0.9107 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.615e-05/0.2593, allocations: 57.05 kB / 0.9108 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2593, allocations: 4 kB / 0.9108 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.2593, allocations: 7.984 kB / 0.9108 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2593, allocations: 0 / 0.9108 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.2596, allocations: 365.3 kB / 0.9111 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.2596, allocations: 11.94 kB / 0.9112 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.2597, allocations: 8 kB / 0.9112 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2597, allocations: 0 / 0.9112 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2597, allocations: 0 / 0.9112 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2597, allocations: 4 kB / 0.9112 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2597, allocations: 0 / 0.9112 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.2601, allocations: 228.3 kB / 0.9114 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/0.2602, allocations: 136.3 kB / 0.9115 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.2602, allocations: 4 kB / 0.9115 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2604, allocations: 19.92 kB / 0.9115 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.2604, allocations: 15.97 kB / 0.9116 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.2605, allocations: 8 kB / 0.9116 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004562/0.2609, allocations: 459 kB / 0.912 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.2609, allocations: 4 kB / 0.912 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002966/0.2612, allocations: 63.92 kB / 0.9121 GB, free: 52.55 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 (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.001188/0.2624, allocations: 415.2 kB / 0.9125 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.2628, allocations: 153.8 kB / 0.9126 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2628, allocations: 0 / 0.9126 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.263, allocations: 59.98 kB / 0.9127 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.2635, allocations: 84.36 kB / 0.9127 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.2649, allocations: 0.963 MB / 0.9137 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.2653, allocations: 0.8575 MB / 0.9145 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.45e-05/0.2654, allocations: 31.42 kB / 0.9146 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2654, allocations: 0 / 0.9146 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.008154/0.2736, allocations: 5.626 MB / 0.92 GB, free: 44.49 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)