Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.517/2.517, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.001563/0.001563, allocations: 179.3 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 95.78 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004864, allocations: 13.64 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2218, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.342/1.564, allocations: 447.9 MB / 1.416 GB, free: 14.97 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/1.564, allocations: 101.4 kB / 1.416 GB, free: 14.92 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.813/8.377, allocations: 1.137 GB / 2.553 GB, free: 138.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.825e-06/8.377, allocations: 0 / 2.553 GB, free: 138.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004121/8.378, allocations: 56.52 kB / 2.553 GB, free: 138.4 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.01111/8.389, allocations: 2.684 MB / 2.555 GB, free: 137.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/8.389, allocations: 9.625 kB / 2.555 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008147/8.39, allocations: 187.5 kB / 2.555 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/8.393, allocations: 374.3 kB / 2.556 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/8.403, allocations: 2.488 MB / 2.558 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/8.403, allocations: 101.1 kB / 2.558 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004443/8.404, allocations: 133.6 kB / 2.558 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004218/8.408, allocations: 1.427 MB / 2.56 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.234e-05/8.408, allocations: 6.281 kB / 2.56 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/8.408, allocations: 60.03 kB / 2.56 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.715e-05/8.409, allocations: 30.19 kB / 2.56 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003895/8.412, allocations: 1.041 MB / 2.561 GB, free: 136.7 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01429/8.427, allocations: 7.135 MB / 2.568 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/8.43, allocations: 1.308 MB / 2.569 GB, free: 132.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005671/8.436, allocations: 2.242 MB / 2.571 GB, free: 130.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/8.437, allocations: 450 kB / 2.572 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001222/8.438, allocations: 86.23 kB / 2.572 GB, free: 130.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 4.95e-06/8.438, allocations: 0 / 2.572 GB, free: 130.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.004938/8.443, allocations: 1.215 MB / 2.573 GB, free: 130.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/8.443, allocations: 165.1 kB / 2.573 GB, free: 130.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/8.447, allocations: 1.318 MB / 2.575 GB, free: 130.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000313/8.447, allocations: 41.86 kB / 2.575 GB, free: 130.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/8.448, allocations: 0.8953 MB / 2.575 GB, free: 129.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004041/8.448, allocations: 244.8 kB / 2.576 GB, free: 129.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/8.449, allocations: 17.72 kB / 2.576 GB, free: 129.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001309/8.449, allocations: 349.4 kB / 2.576 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/8.45, allocations: 349.4 kB / 2.576 GB, free: 129.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/8.452, allocations: 0.7261 MB / 2.577 GB, free: 129 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/8.453, allocations: 473.1 kB / 2.578 GB, free: 129 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/8.453, allocations: 6.844 kB / 2.578 GB, free: 129 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004193/8.457, allocations: 1.232 MB / 2.579 GB, free: 128.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007951/8.458, allocations: 3.739 MB / 2.582 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/8.458, allocations: 12.05 kB / 2.582 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.841e-05/8.458, allocations: 15.28 kB / 2.582 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/8.46, allocations: 253.3 kB / 2.583 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.25e-05/8.46, allocations: 19.67 kB / 2.583 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/8.463, allocations: 133.3 kB / 2.583 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/8.463, allocations: 58.58 kB / 2.583 GB, free: 124.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/8.463, allocations: 3.156 kB / 2.583 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003699/8.467, allocations: 1.057 MB / 2.584 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.313e-05/8.467, allocations: 15.84 kB / 2.584 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/8.467, allocations: 15.47 kB / 2.584 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/8.469, allocations: 252.8 kB / 2.584 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-05/8.469, allocations: 23.58 kB / 2.584 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/8.472, allocations: 127.3 kB / 2.584 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000261/8.472, allocations: 52.34 kB / 2.584 GB, free: 124.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.001506/8.473, allocations: 0.4894 MB / 2.585 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000589/8.474, allocations: 170.3 kB / 2.585 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004085/8.478, allocations: 1.091 MB / 2.586 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/8.478, allocations: 10.78 kB / 2.586 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/8.478, allocations: 5.141 kB / 2.586 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002723/8.481, allocations: 0.7955 MB / 2.587 GB, free: 124.4 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.007432/8.488, allocations: 2.401 MB / 2.589 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/8.488, allocations: 2.875 kB / 2.589 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/8.49, allocations: 164.1 kB / 2.589 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002574/8.49, allocations: 25.97 kB / 2.589 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/8.49, allocations: 27.61 kB / 2.589 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/8.491, allocations: 1.319 MB / 2.591 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/8.492, allocations: 1.219 kB / 2.591 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004897/8.496, allocations: 1.559 MB / 2.592 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/8.498, allocations: 353.8 kB / 2.593 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004669/8.498, allocations: 14.78 kB / 2.593 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/8.5, allocations: 117 kB / 2.593 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/8.501, allocations: 55.86 kB / 2.593 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/8.501, allocations: 35.98 kB / 2.593 GB, free: 122.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002403/8.503, allocations: 1.01 MB / 2.594 GB, free: 122.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.11e-07/8.503, allocations: 1.156 kB / 2.594 GB, free: 122.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00615/8.509, allocations: 1.132 MB / 2.595 GB, free: 121.9 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 69 * 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.008717/8.518, allocations: 3.317 MB / 2.598 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005222/8.523, allocations: 1.608 MB / 2.6 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/8.523, allocations: 1.156 kB / 2.6 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/8.525, allocations: 0.5359 MB / 2.6 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006469/8.532, allocations: 0.7611 MB / 2.601 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/8.545, allocations: 11.32 MB / 2.612 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/8.546, allocations: 1.446 MB / 2.613 GB, free: 110.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003159/8.549, allocations: 422.5 kB / 2.614 GB, free: 110.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001667/8.551, allocations: 0.7532 MB / 2.615 GB, free: 110.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/8.551, allocations: 0 / 2.615 GB, free: 110.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.143/8.694, allocations: 54.19 MB / 2.667 GB, free: 108.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/8.694, allocations: 254.8 kB / 2.668 GB, free: 108.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.945/13.64, allocations: 3.938 kB / 2.668 GB, free: 108.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)