Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 285.4 MB / 298 MB, free: 6.004 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 180.3 kB / 366.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.1 MB / 0.6248 GB, free: 7.746 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008893/0.0008894, allocations: 91.45 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.747e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8402/0.8403, allocations: 115.3 MB / 0.9709 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.237/2.078, allocations: 448 MB / 1.408 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/2.078, allocations: 90.95 kB / 1.408 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.368/6.446, allocations: 1.133 GB / 2.542 GB, free: 136.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.074e-06/6.446, allocations: 3.125 kB / 2.542 GB, free: 136.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004437/6.447, allocations: 59.72 kB / 2.542 GB, free: 136.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.006973/6.454, allocations: 2.177 MB / 2.544 GB, free: 134.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/6.454, allocations: 12.03 kB / 2.544 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/6.456, allocations: 375.6 kB / 2.544 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007191/6.463, allocations: 2.464 MB / 2.547 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/6.463, allocations: 95.8 kB / 2.547 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004524/6.464, allocations: 141.3 kB / 2.547 GB, free: 132.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/6.467, allocations: 1.357 MB / 2.548 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/6.467, allocations: 1.938 kB / 2.548 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/6.467, allocations: 51.72 kB / 2.548 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/6.467, allocations: 42.09 kB / 2.548 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/6.469, allocations: 0.9183 MB / 2.549 GB, free: 131.4 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009524/6.478, allocations: 7.156 MB / 2.556 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/6.48, allocations: 1.169 MB / 2.558 GB, free: 123.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/6.48, allocations: 352.1 kB / 2.558 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003678/6.484, allocations: 2.275 MB / 2.56 GB, free: 120.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005734/6.485, allocations: 398.9 kB / 2.56 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008188/6.485, allocations: 91 kB / 2.561 GB, free: 120.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 6.111e-06/6.485, allocations: 0 / 2.561 GB, free: 120.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.001456/6.487, allocations: 0.7367 MB / 2.561 GB, free: 119.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/6.487, allocations: 162.8 kB / 2.561 GB, free: 119.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/6.489, allocations: 1.295 MB / 2.563 GB, free: 117.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.748e-05/6.489, allocations: 45.7 kB / 2.563 GB, free: 117.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006527/6.49, allocations: 0.9024 MB / 2.564 GB, free: 116.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/6.49, allocations: 235.9 kB / 2.564 GB, free: 116.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/6.49, allocations: 22.22 kB / 2.564 GB, free: 116.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/6.49, allocations: 341.9 kB / 2.564 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/6.49, allocations: 293.9 kB / 2.564 GB, free: 116 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/6.491, allocations: 0.6714 MB / 2.565 GB, free: 115.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/6.492, allocations: 423.5 kB / 2.566 GB, free: 114.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/6.492, allocations: 0 / 2.566 GB, free: 114.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001568/6.493, allocations: 1.119 MB / 2.567 GB, free: 113.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007121/6.494, allocations: 3.735 MB / 2.57 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/6.494, allocations: 12 kB / 2.57 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/6.494, allocations: 16 kB / 2.57 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000902/6.495, allocations: 254.3 kB / 2.571 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/6.495, allocations: 19.94 kB / 2.571 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/6.496, allocations: 130.5 kB / 2.571 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/6.496, allocations: 55.2 kB / 2.571 GB, free: 109.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/6.496, allocations: 4 kB / 2.571 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001294/6.498, allocations: 0.9429 MB / 2.572 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/6.498, allocations: 15.98 kB / 2.572 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/6.498, allocations: 15.84 kB / 2.572 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008318/6.499, allocations: 250.5 kB / 2.572 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/6.499, allocations: 19.94 kB / 2.572 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/6.5, allocations: 128.3 kB / 2.572 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/6.5, allocations: 55.94 kB / 2.572 GB, free: 107.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0002605/6.5, allocations: 179.6 kB / 2.572 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/6.5, allocations: 169.8 kB / 2.572 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/6.502, allocations: 0.9803 MB / 2.573 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/6.502, allocations: 11.98 kB / 2.573 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/6.502, allocations: 3.953 kB / 2.573 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008879/6.503, allocations: 0.6813 MB / 2.574 GB, free: 105.7 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/6.506, allocations: 2.282 MB / 2.576 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/6.506, allocations: 7.312 kB / 2.576 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/6.507, allocations: 162.1 kB / 2.576 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/6.507, allocations: 28.84 kB / 2.576 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/6.507, allocations: 26.61 kB / 2.577 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008033/6.508, allocations: 1.306 MB / 2.578 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/6.508, allocations: 3.938 kB / 2.578 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/6.51, allocations: 1.395 MB / 2.579 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006664/6.51, allocations: 350.8 kB / 2.579 GB, free: 99.96 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/6.511, allocations: 18.67 kB / 2.58 GB, free: 99.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009187/6.512, allocations: 116.2 kB / 2.58 GB, free: 99.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/6.512, allocations: 56.7 kB / 2.58 GB, free: 99.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/6.512, allocations: 31.97 kB / 2.58 GB, free: 99.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001401/6.513, allocations: 0.9936 MB / 2.581 GB, free: 98.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.01e-07/6.513, allocations: 0 / 2.581 GB, free: 98.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003735/6.517, allocations: 1.129 MB / 2.582 GB, free: 97.64 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002405/6.519, allocations: 1.19 MB / 2.583 GB, free: 96.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002338/6.522, allocations: 1.5 MB / 2.584 GB, free: 95.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/6.522, allocations: 0 / 2.584 GB, free: 95.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007157/6.522, allocations: 495 kB / 2.585 GB, free: 94.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/6.526, allocations: 0.7566 MB / 2.586 GB, free: 93.81 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/6.53, allocations: 2.384 MB / 2.588 GB, free: 91.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007389/6.531, allocations: 1.443 MB / 2.589 GB, free: 89.93 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002223/6.533, allocations: 0.5578 MB / 2.59 GB, free: 89.41 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/6.533, allocations: 115.3 kB / 2.59 GB, free: 89.3 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/6.533, allocations: 0 / 2.59 GB, free: 89.3 MB / 0.948 GB Notification: Performance of Templates: time 0.06065/6.594, allocations: 41.6 MB / 2.631 GB, free: 48.37 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)