Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.411/2.411, allocations: 285 MB / 292.5 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 184.8 kB / 360.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001081, allocations: 91.73 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.83e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8011/0.8011, allocations: 115.2 MB / 0.9634 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2474/1.049, allocations: 143.4 MB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/1.049, allocations: 92.53 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05898/1.108, allocations: 13.66 MB / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.473e-06/1.108, allocations: 0 / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.791e-05/1.108, allocations: 15.94 kB / 1.117 GB, free: 15.31 MB / 0.7292 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.001202/1.109, allocations: 0.6871 MB / 1.118 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.109, allocations: 8.031 kB / 1.118 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/1.11, allocations: 60.45 kB / 1.118 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/1.111, allocations: 447.8 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/1.111, allocations: 4 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/1.111, allocations: 9.25 kB / 1.118 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00022/1.111, allocations: 61.95 kB / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/1.111, allocations: 133.7 kB / 1.118 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.111, allocations: 0 / 1.118 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/1.111, allocations: 0 / 1.118 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.111, allocations: 4 kB / 1.118 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/1.113, allocations: 0.5561 MB / 1.119 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/1.113, allocations: 110.8 kB / 1.119 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/1.113, allocations: 48.84 kB / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/1.113, allocations: 0 / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/1.113, allocations: 112 kB / 1.119 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/1.113, allocations: 0 / 1.119 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.000512/1.114, allocations: 181.5 kB / 1.119 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/1.114, allocations: 77.11 kB / 1.119 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/1.115, allocations: 0.5815 MB / 1.12 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/1.115, allocations: 27.02 kB / 1.12 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/1.115, allocations: 268.3 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.178e-05/1.116, allocations: 27.61 kB / 1.12 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/1.116, allocations: 4 kB / 1.12 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002057/1.116, allocations: 367 kB / 1.121 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/1.116, allocations: 77.28 kB / 1.121 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/1.116, allocations: 130.9 kB / 1.121 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/1.117, allocations: 88.86 kB / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.117, allocations: 0 / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007695/1.117, allocations: 280.7 kB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.118, allocations: 4 kB / 1.121 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.118, allocations: 2.125 kB / 1.121 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/1.118, allocations: 7.953 kB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/1.118, allocations: 39.91 kB / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/1.118, allocations: 9.406 kB / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/1.118, allocations: 23.83 kB / 1.121 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/1.118, allocations: 8 kB / 1.121 GB, free: 10.7 MB / 0.7292 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 () * 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.0001402/1.118, allocations: 118.6 kB / 1.121 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.119, allocations: 59.33 kB / 1.121 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/1.119, allocations: 199.7 kB / 1.122 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/1.119, allocations: 8 kB / 1.122 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.119, allocations: 3.984 kB / 1.122 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.119, allocations: 0 / 1.122 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/1.12, allocations: 349.9 kB / 1.122 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.12, allocations: 5.438 kB / 1.122 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.682e-05/1.12, allocations: 12 kB / 1.122 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.12, allocations: 0 / 1.122 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/1.12, allocations: 3.984 kB / 1.122 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.12, allocations: 4 kB / 1.122 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.12, allocations: 0 / 1.122 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/1.12, allocations: 221.4 kB / 1.122 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/1.121, allocations: 140.3 kB / 1.122 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.787e-05/1.121, allocations: 4 kB / 1.122 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/1.121, allocations: 15.98 kB / 1.122 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/1.121, allocations: 23.72 kB / 1.122 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/1.121, allocations: 4 kB / 1.122 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007655/1.122, allocations: 435.1 kB / 1.123 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/1.122, allocations: 0 / 1.123 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005489/1.122, allocations: 83.83 kB / 1.123 GB, free: 8.965 MB / 0.7292 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) * 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.001212/1.124, allocations: 401.8 kB / 1.123 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004555/1.124, allocations: 151.8 kB / 1.123 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.124, allocations: 0 / 1.123 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/1.124, allocations: 59.92 kB / 1.123 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006928/1.125, allocations: 81.97 kB / 1.123 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/1.127, allocations: 0.592 MB / 1.124 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/1.127, allocations: 0.8768 MB / 1.125 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002925/1.128, allocations: 47.36 kB / 1.125 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/1.128, allocations: 27.44 kB / 1.125 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of SimCode: time 1.082e-06/1.128, allocations: 0 / 1.125 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of Templates: time 0.01508/1.143, allocations: 4.018 MB / 1.129 GB, free: 2.926 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)