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.586/1.586, allocations: 288.3 MB / 303.2 MB, free: 8.23 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.00101/0.00101, allocations: 176.5 kB / 371.8 MB, free: 10.29 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.372/1.372, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0008538/0.0008539, allocations: 95.56 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003703, allocations: 11.72 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1934, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8339/1.027, allocations: 448 MB / 1.417 GB, free: 13.55 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.028, allocations: 101.8 kB / 1.417 GB, free: 13.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.288/5.316, allocations: 1.137 GB / 2.554 GB, free: 139.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.026e-06/5.316, allocations: 0 / 2.554 GB, free: 139.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003133/5.316, allocations: 59.62 kB / 2.554 GB, free: 139.8 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.008399/5.325, allocations: 2.678 MB / 2.557 GB, free: 139 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/5.325, allocations: 9.625 kB / 2.557 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/5.327, allocations: 374 kB / 2.557 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0068/5.334, allocations: 2.5 MB / 2.559 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/5.334, allocations: 99.42 kB / 2.56 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/5.334, allocations: 138.2 kB / 2.56 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/5.337, allocations: 1.424 MB / 2.561 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/5.337, allocations: 3.094 kB / 2.561 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/5.337, allocations: 58.66 kB / 2.561 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/5.337, allocations: 29.16 kB / 2.561 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/5.339, allocations: 1.036 MB / 2.562 GB, free: 138.2 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.009301/5.348, allocations: 7.151 MB / 2.569 GB, free: 134.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/5.35, allocations: 1.282 MB / 2.57 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003305/5.353, allocations: 2.246 MB / 2.573 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008958/5.354, allocations: 453.2 kB / 2.573 GB, free: 132.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007568/5.355, allocations: 94.77 kB / 2.573 GB, free: 132.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 6.532e-06/5.355, allocations: 1.594 kB / 2.573 GB, free: 132.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.00263/5.358, allocations: 1.214 MB / 2.574 GB, free: 132.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/5.358, allocations: 163.6 kB / 2.574 GB, free: 131.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/5.359, allocations: 1.311 MB / 2.576 GB, free: 131.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.375e-05/5.36, allocations: 45.33 kB / 2.576 GB, free: 131.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006882/5.36, allocations: 0.8963 MB / 2.577 GB, free: 131.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/5.36, allocations: 248.3 kB / 2.577 GB, free: 131.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/5.36, allocations: 20.66 kB / 2.577 GB, free: 131.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.945e-05/5.361, allocations: 342.6 kB / 2.577 GB, free: 131 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006676/5.361, allocations: 346.6 kB / 2.578 GB, free: 131 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008442/5.362, allocations: 0.7368 MB / 2.578 GB, free: 130.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007807/5.363, allocations: 469.5 kB / 2.579 GB, free: 130.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/5.363, allocations: 3.312 kB / 2.579 GB, free: 130.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002358/5.365, allocations: 1.232 MB / 2.58 GB, free: 130.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007156/5.366, allocations: 3.732 MB / 2.584 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/5.366, allocations: 14.73 kB / 2.584 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/5.366, allocations: 13.69 kB / 2.584 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009713/5.367, allocations: 254.9 kB / 2.584 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.7e-05/5.367, allocations: 18.88 kB / 2.584 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/5.369, allocations: 129.4 kB / 2.584 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/5.369, allocations: 60.3 kB / 2.584 GB, free: 126.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/5.369, allocations: 3.531 kB / 2.584 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002126/5.371, allocations: 1.057 MB / 2.585 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/5.371, allocations: 10.09 kB / 2.585 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/5.371, allocations: 18.91 kB / 2.585 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009939/5.372, allocations: 251.1 kB / 2.585 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/5.372, allocations: 22.67 kB / 2.585 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/5.374, allocations: 127.9 kB / 2.586 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/5.374, allocations: 54.08 kB / 2.586 GB, free: 126.3 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.001144/5.375, allocations: 0.4952 MB / 2.586 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/5.375, allocations: 170.5 kB / 2.586 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/5.378, allocations: 1.093 MB / 2.587 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/5.378, allocations: 11.03 kB / 2.587 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/5.378, allocations: 3.75 kB / 2.587 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001514/5.379, allocations: 0.8004 MB / 2.588 GB, free: 125.9 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.005527/5.385, allocations: 2.397 MB / 2.59 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/5.385, allocations: 0.8438 kB / 2.59 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008963/5.386, allocations: 163.7 kB / 2.591 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/5.386, allocations: 25.72 kB / 2.591 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.118e-05/5.386, allocations: 23.23 kB / 2.591 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008658/5.387, allocations: 1.319 MB / 2.592 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/5.387, allocations: 1.031 kB / 2.592 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/5.39, allocations: 1.564 MB / 2.593 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/5.391, allocations: 349.2 kB / 2.594 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005037/5.391, allocations: 18.44 kB / 2.594 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/5.393, allocations: 109.4 kB / 2.594 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/5.393, allocations: 58.59 kB / 2.594 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-05/5.393, allocations: 36.55 kB / 2.594 GB, free: 123.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00226/5.395, allocations: 1.005 MB / 2.595 GB, free: 123.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/5.395, allocations: 0 / 2.595 GB, free: 123.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005511/5.401, allocations: 1.143 MB / 2.596 GB, free: 123.4 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.003241/5.404, allocations: 1.181 MB / 2.597 GB, free: 123.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00375/5.408, allocations: 1.606 MB / 2.599 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/5.408, allocations: 0.5 kB / 2.599 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/5.409, allocations: 0.5405 MB / 2.599 GB, free: 122.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/5.413, allocations: 0.7604 MB / 2.6 GB, free: 122.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007209/5.421, allocations: 3.828 MB / 2.604 GB, free: 121.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/5.422, allocations: 1.444 MB / 2.605 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002535/5.425, allocations: 426.9 kB / 2.606 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005555/5.425, allocations: 136.2 kB / 2.606 GB, free: 120.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.422e-06/5.425, allocations: 5.062 kB / 2.606 GB, free: 120.3 MB / 0.948 GB Notification: Performance of Templates: time 0.06514/5.491, allocations: 37.01 MB / 2.642 GB, free: 118.8 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)