Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.609/1.609, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001087/0.001087, allocations: 180.9 kB / 366.7 MB, free: 1.66 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.75/1.75, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0009138/0.0009138, allocations: 94.83 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.987e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7848, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.208/1.993, allocations: 454.8 MB / 1.417 GB, free: 103 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/1.994, allocations: 91.52 kB / 1.417 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.319/6.313, allocations: 1.162 GB / 2.579 GB, free: 123.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.184e-06/6.313, allocations: 0 / 2.579 GB, free: 123.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002502/6.313, allocations: 56.89 kB / 2.579 GB, free: 123.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.004568/6.318, allocations: 2.078 MB / 2.581 GB, free: 122.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/6.318, allocations: 9.719 kB / 2.581 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/6.32, allocations: 458.1 kB / 2.582 GB, free: 122.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005369/6.325, allocations: 2.291 MB / 2.584 GB, free: 120.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/6.326, allocations: 36.53 kB / 2.584 GB, free: 120.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/6.326, allocations: 78.2 kB / 2.584 GB, free: 120.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001475/6.327, allocations: 0.7799 MB / 2.585 GB, free: 120.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/6.329, allocations: 1.087 MB / 2.586 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/6.329, allocations: 0 / 2.586 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/6.329, allocations: 7.953 kB / 2.586 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/6.329, allocations: 28 kB / 2.586 GB, free: 119.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.008072/6.337, allocations: 6.693 MB / 2.592 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/6.338, allocations: 1.138 MB / 2.594 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/6.339, allocations: 305.5 kB / 2.594 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003939/6.343, allocations: 2.877 MB / 2.597 GB, free: 107.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000459/6.343, allocations: 337.4 kB / 2.597 GB, free: 107.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005481/6.344, allocations: 74.69 kB / 2.597 GB, free: 107.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 2.875e-06/6.344, allocations: 0 / 2.597 GB, free: 107.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.004972/6.349, allocations: 1.29 MB / 2.598 GB, free: 105.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/6.349, allocations: 173.4 kB / 2.598 GB, free: 105.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/6.35, allocations: 1.247 MB / 2.6 GB, free: 104.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.398e-05/6.351, allocations: 29.7 kB / 2.6 GB, free: 104.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006782/6.351, allocations: 0.8839 MB / 2.601 GB, free: 103.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/6.351, allocations: 197.1 kB / 2.601 GB, free: 103.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/6.351, allocations: 0 / 2.601 GB, free: 103.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/6.352, allocations: 348.5 kB / 2.601 GB, free: 103 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/6.352, allocations: 258.6 kB / 2.601 GB, free: 102.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006098/6.353, allocations: 0.6853 MB / 2.602 GB, free: 101.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005199/6.358, allocations: 0.9971 MB / 2.603 GB, free: 100.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/6.358, allocations: 4 kB / 2.603 GB, free: 100.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00559/6.363, allocations: 1.637 MB / 2.605 GB, free: 99.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008312/6.364, allocations: 4.538 MB / 2.609 GB, free: 94.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.082e-05/6.364, allocations: 19 kB / 2.609 GB, free: 94.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.918e-05/6.364, allocations: 20 kB / 2.609 GB, free: 94.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008818/6.365, allocations: 247.6 kB / 2.609 GB, free: 94.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/6.365, allocations: 19.94 kB / 2.609 GB, free: 94.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/6.367, allocations: 107.6 kB / 2.609 GB, free: 93.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/6.367, allocations: 59.97 kB / 2.609 GB, free: 93.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/6.367, allocations: 4 kB / 2.609 GB, free: 93.88 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004853/6.372, allocations: 1.422 MB / 2.611 GB, free: 92.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/6.372, allocations: 12 kB / 2.611 GB, free: 92.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/6.372, allocations: 16 kB / 2.611 GB, free: 92.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008307/6.373, allocations: 256.3 kB / 2.611 GB, free: 92.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/6.373, allocations: 19.94 kB / 2.611 GB, free: 92.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/6.374, allocations: 91.84 kB / 2.611 GB, free: 92.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-05/6.374, allocations: 55.98 kB / 2.611 GB, free: 92.01 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.00025/6.375, allocations: 141.6 kB / 2.611 GB, free: 91.87 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/6.375, allocations: 169.8 kB / 2.612 GB, free: 91.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005098/6.38, allocations: 1.491 MB / 2.613 GB, free: 90.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/6.38, allocations: 8 kB / 2.613 GB, free: 90.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/6.38, allocations: 0 / 2.613 GB, free: 90.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004158/6.384, allocations: 1.345 MB / 2.614 GB, free: 88.8 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.006841/6.391, allocations: 2.561 MB / 2.617 GB, free: 86.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/6.391, allocations: 4.031 kB / 2.617 GB, free: 86.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/6.392, allocations: 135.8 kB / 2.617 GB, free: 86.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/6.392, allocations: 24.84 kB / 2.617 GB, free: 86.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/6.392, allocations: 23.92 kB / 2.617 GB, free: 86.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007263/6.393, allocations: 1.265 MB / 2.618 GB, free: 84.63 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/6.393, allocations: 11.69 kB / 2.618 GB, free: 84.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005218/6.398, allocations: 1.861 MB / 2.62 GB, free: 82.73 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000642/6.399, allocations: 330.8 kB / 2.62 GB, free: 82.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/6.399, allocations: 8 kB / 2.62 GB, free: 82.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007981/6.4, allocations: 75.86 kB / 2.621 GB, free: 82.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/6.4, allocations: 52.42 kB / 2.621 GB, free: 82.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/6.4, allocations: 39.16 kB / 2.621 GB, free: 82.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00122/6.401, allocations: 0.9195 MB / 2.622 GB, free: 81.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/6.401, allocations: 0 / 2.622 GB, free: 81.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003459/6.405, allocations: 1.001 MB / 2.622 GB, free: 80.3 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.002379/6.407, allocations: 1.244 MB / 2.624 GB, free: 79.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001807/6.409, allocations: 1.363 MB / 2.625 GB, free: 77.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/6.409, allocations: 0 / 2.625 GB, free: 77.88 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005604/6.409, allocations: 440.9 kB / 2.625 GB, free: 77.44 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/6.412, allocations: 0.6396 MB / 2.626 GB, free: 76.83 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/6.416, allocations: 2.295 MB / 2.628 GB, free: 74.51 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/6.417, allocations: 1.406 MB / 2.63 GB, free: 73.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002319/6.419, allocations: 0.592 MB / 2.63 GB, free: 72.53 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/6.419, allocations: 107.4 kB / 2.63 GB, free: 72.42 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/6.419, allocations: 4 kB / 2.63 GB, free: 72.42 MB / 0.948 GB Notification: Performance of Templates: time 0.04629/6.466, allocations: 32.84 MB / 2.662 GB, free: 40.19 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)