Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.366/2.366, allocations: 284.8 MB / 297.3 MB, free: 6.344 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.001528/0.001527, allocations: 192.7 kB / 365.7 MB, free: 2.578 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.989/1.989, allocations: 205.2 MB / 0.6241 GB, free: 8.199 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.001092/0.001091, allocations: 99.48 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.582e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8375/0.8375, allocations: 115.2 MB / 0.97 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/2.164, allocations: 454.3 MB / 1.414 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/2.164, allocations: 98.44 kB / 1.414 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.851/8.016, allocations: 1.167 GB / 2.581 GB, free: 100.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/8.016, allocations: 6.094 kB / 2.581 GB, free: 100.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003624/8.016, allocations: 49.7 kB / 2.581 GB, free: 100.9 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006631/8.023, allocations: 2.079 MB / 2.583 GB, free: 98.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/8.023, allocations: 12.03 kB / 2.583 GB, free: 98.72 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003801/8.027, allocations: 459.3 kB / 2.584 GB, free: 98.29 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/8.038, allocations: 2.29 MB / 2.586 GB, free: 96.01 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/8.038, allocations: 91.08 kB / 2.586 GB, free: 95.92 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004921/8.038, allocations: 120 kB / 2.586 GB, free: 95.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00332/8.042, allocations: 1.248 MB / 2.587 GB, free: 94.45 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.293e-05/8.042, allocations: 3.938 kB / 2.587 GB, free: 94.45 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/8.042, allocations: 48 kB / 2.587 GB, free: 94.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/8.042, allocations: 28 kB / 2.587 GB, free: 94.38 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/8.045, allocations: 0.8386 MB / 2.588 GB, free: 93.53 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.01342/8.058, allocations: 6.89 MB / 2.595 GB, free: 86.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/8.06, allocations: 1.124 MB / 2.596 GB, free: 84.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007867/8.061, allocations: 310.9 kB / 2.596 GB, free: 84.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006783/8.068, allocations: 2.912 MB / 2.599 GB, free: 81.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008408/8.069, allocations: 358.9 kB / 2.6 GB, free: 81.04 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009821/8.07, allocations: 84.98 kB / 2.6 GB, free: 80.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.227e-06/8.07, allocations: 0 / 2.6 GB, free: 80.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002162/8.072, allocations: 0.6812 MB / 2.6 GB, free: 80.27 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/8.072, allocations: 158.8 kB / 2.6 GB, free: 80.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003035/8.075, allocations: 1.343 MB / 2.602 GB, free: 78.74 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002615/8.075, allocations: 41.7 kB / 2.602 GB, free: 78.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009808/8.076, allocations: 0.8936 MB / 2.603 GB, free: 77.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000321/8.077, allocations: 213.7 kB / 2.603 GB, free: 77.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/8.077, allocations: 20 kB / 2.603 GB, free: 77.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.908e-05/8.077, allocations: 345.9 kB / 2.603 GB, free: 77.23 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007287/8.078, allocations: 277.9 kB / 2.603 GB, free: 76.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009908/8.079, allocations: 0.7054 MB / 2.604 GB, free: 76.05 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009211/8.08, allocations: 393.9 kB / 2.605 GB, free: 75.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/8.08, allocations: 8 kB / 2.605 GB, free: 75.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002888/8.083, allocations: 1.106 MB / 2.606 GB, free: 74.53 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009321/8.084, allocations: 4.553 MB / 2.61 GB, free: 69.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.694e-05/8.084, allocations: 12 kB / 2.61 GB, free: 69.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-05/8.084, allocations: 23.5 kB / 2.61 GB, free: 69.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/8.086, allocations: 243.6 kB / 2.61 GB, free: 69.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.138e-05/8.086, allocations: 27.86 kB / 2.61 GB, free: 69.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/8.088, allocations: 127.6 kB / 2.61 GB, free: 69.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/8.088, allocations: 59.98 kB / 2.611 GB, free: 69.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/8.088, allocations: 4 kB / 2.611 GB, free: 69.11 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002371/8.091, allocations: 0.9286 MB / 2.611 GB, free: 68.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/8.091, allocations: 12 kB / 2.611 GB, free: 68.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/8.091, allocations: 20 kB / 2.611 GB, free: 68.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/8.092, allocations: 243.6 kB / 2.612 GB, free: 67.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.447e-05/8.093, allocations: 19.94 kB / 2.612 GB, free: 67.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/8.095, allocations: 119.9 kB / 2.612 GB, free: 67.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/8.095, allocations: 55.98 kB / 2.612 GB, free: 67.71 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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.0003364/8.095, allocations: 172.6 kB / 2.612 GB, free: 67.54 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004255/8.096, allocations: 169.8 kB / 2.612 GB, free: 67.37 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/8.099, allocations: 0.9454 MB / 2.613 GB, free: 66.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/8.099, allocations: 8 kB / 2.613 GB, free: 66.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/8.099, allocations: 3.938 kB / 2.613 GB, free: 66.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001497/8.1, allocations: 0.7847 MB / 2.614 GB, free: 65.56 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.005596/8.106, allocations: 2.156 MB / 2.616 GB, free: 63.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/8.106, allocations: 0 / 2.616 GB, free: 63.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/8.107, allocations: 131.8 kB / 2.616 GB, free: 63.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002475/8.107, allocations: 24.84 kB / 2.616 GB, free: 63.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/8.108, allocations: 24.05 kB / 2.616 GB, free: 63.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/8.109, allocations: 1.307 MB / 2.617 GB, free: 61.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/8.109, allocations: 8.094 kB / 2.618 GB, free: 61.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/8.112, allocations: 1.304 MB / 2.619 GB, free: 60.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/8.113, allocations: 346.7 kB / 2.619 GB, free: 60.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005591/8.114, allocations: 19.95 kB / 2.619 GB, free: 60 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/8.116, allocations: 99.75 kB / 2.619 GB, free: 59.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/8.116, allocations: 56.48 kB / 2.619 GB, free: 59.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/8.116, allocations: 31.97 kB / 2.619 GB, free: 59.81 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002454/8.118, allocations: 1.083 MB / 2.62 GB, free: 58.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.62e-07/8.119, allocations: 0 / 2.62 GB, free: 58.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004642/8.123, allocations: 1.029 MB / 2.621 GB, free: 57.67 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.outCon.T) * 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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003361/8.127, allocations: 1.29 MB / 2.623 GB, free: 56.64 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003189/8.13, allocations: 1.448 MB / 2.624 GB, free: 55.16 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/8.13, allocations: 3.938 kB / 2.624 GB, free: 55.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/8.131, allocations: 459.5 kB / 2.624 GB, free: 54.69 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005776/8.137, allocations: 0.7387 MB / 2.625 GB, free: 53.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006405/8.143, allocations: 2.334 MB / 2.627 GB, free: 51.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009784/8.144, allocations: 1.41 MB / 2.629 GB, free: 50.19 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004227/8.148, allocations: 0.6013 MB / 2.629 GB, free: 49.62 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/8.149, allocations: 111.4 kB / 2.63 GB, free: 49.51 MB / 0.948 GB Notification: Performance of SimCode: time 1.954e-06/8.149, allocations: 0 / 2.63 GB, free: 49.51 MB / 0.948 GB Notification: Performance of Templates: time 0.0963/8.245, allocations: 40.62 MB / 2.669 GB, free: 9.266 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)