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.699/1.699, allocations: 288.4 MB / 303.7 MB, free: 8.84 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.0009703/0.0009705, allocations: 174.5 kB / 372.3 MB, free: 6.43 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.48/1.48, allocations: 205.4 MB / 0.631 GB, free: 14.47 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.000723/0.0007229, allocations: 91.81 kB / 0.7444 GB, free: 63.69 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005409/0.000541, allocations: 12 kB / 0.8675 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2612, allocations: 115.3 MB / 0.9801 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.4446/0.7058, allocations: 61.82 MB / 1.04 GB, free: 64.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0283/0.7342, allocations: 18.16 MB / 1.058 GB, free: 63.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003883/0.7381, allocations: 80.88 kB / 1.058 GB, free: 63.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003432/0.7416, allocations: 0.8949 MB / 1.059 GB, free: 63.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007021/0.7486, allocations: 2.227 MB / 1.061 GB, free: 62.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.008978/0.7576, allocations: 2.824 MB / 1.064 GB, free: 61.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006592/0.7642, allocations: 6.025 MB / 1.07 GB, free: 59.35 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.7666, allocations: 1.565 MB / 1.072 GB, free: 58.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003487/0.7701, allocations: 1.724 MB / 1.073 GB, free: 58.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002815/0.7729, allocations: 1.377 MB / 1.075 GB, free: 57.65 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003215/0.7733, allocations: 74.41 kB / 1.075 GB, free: 57.65 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005563/0.7788, allocations: 1.87 MB / 1.076 GB, free: 57.16 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0007567/0.7796, allocations: 428.3 kB / 1.077 GB, free: 56.99 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.7815, allocations: 0.9906 MB / 1.078 GB, free: 56.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004328/0.7858, allocations: 2.798 MB / 1.081 GB, free: 55.88 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.7859, allocations: 0 / 1.081 GB, free: 55.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7859, allocations: 0 / 1.081 GB, free: 55.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.526e-05/0.786, allocations: 0 / 1.081 GB, free: 55.88 MB / 0.7448 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.004522/0.7905, allocations: 2.337 MB / 1.083 GB, free: 54.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.7905, allocations: 10.41 kB / 1.083 GB, free: 54.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.792, allocations: 389.8 kB / 1.083 GB, free: 54.26 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/0.7952, allocations: 1.805 MB / 1.085 GB, free: 53.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003505/0.7956, allocations: 165.6 kB / 1.085 GB, free: 53.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.7958, allocations: 143.3 kB / 1.085 GB, free: 53.19 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.7982, allocations: 1.462 MB / 1.087 GB, free: 52.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.7982, allocations: 7.406 kB / 1.087 GB, free: 52.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.7983, allocations: 60.62 kB / 1.087 GB, free: 52.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.7984, allocations: 32.16 kB / 1.087 GB, free: 52.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.8006, allocations: 1.13 MB / 1.088 GB, free: 52.04 MB / 0.7448 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.007623/0.8082, allocations: 7.4 MB / 1.095 GB, free: 46.47 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.8101, allocations: 1.365 MB / 1.096 GB, free: 45.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/0.811, allocations: 463.6 kB / 1.097 GB, free: 45.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003468/0.8145, allocations: 2.591 MB / 1.099 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009128/0.8154, allocations: 0.5005 MB / 1.1 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005311/0.8159, allocations: 87.7 kB / 1.1 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=63): time 2.956e-06/0.8159, allocations: 0 / 1.1 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=63): time 0.002668/0.8186, allocations: 1.285 MB / 1.101 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.8187, allocations: 200.9 kB / 1.101 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.8203, allocations: 1.498 MB / 1.103 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.567e-05/0.8204, allocations: 44.58 kB / 1.103 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005152/0.8209, allocations: 0.904 MB / 1.104 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.8211, allocations: 219.5 kB / 1.104 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.8211, allocations: 26.88 kB / 1.104 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.049e-05/0.8212, allocations: 342.6 kB / 1.104 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007874/0.822, allocations: 391.8 kB / 1.105 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009199/0.8229, allocations: 0.767 MB / 1.106 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.8246, allocations: 1.12 MB / 1.107 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.8246, allocations: 3.094 kB / 1.107 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002302/0.8269, allocations: 1.326 MB / 1.108 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.827, allocations: 404.5 kB / 1.108 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.8271, allocations: 12.92 kB / 1.108 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.8271, allocations: 19.38 kB / 1.108 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000936/0.828, allocations: 255.3 kB / 1.109 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.8281, allocations: 24.09 kB / 1.109 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.8294, allocations: 139.6 kB / 1.109 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-05/0.8295, allocations: 52.94 kB / 1.109 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.8295, allocations: 6.375 kB / 1.109 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001961/0.8314, allocations: 1.15 MB / 1.11 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.8315, allocations: 9.938 kB / 1.11 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.8315, allocations: 15.69 kB / 1.11 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008745/0.8324, allocations: 261.5 kB / 1.11 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.8324, allocations: 20.19 kB / 1.11 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.8337, allocations: 137.9 kB / 1.11 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/0.8338, allocations: 56.95 kB / 1.11 GB, free: 37.54 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (123): * Single equations (assignments): 119 * 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.0007401/0.8345, allocations: 494.1 kB / 1.111 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.8347, allocations: 169.8 kB / 1.111 GB, free: 37.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.8369, allocations: 1.116 MB / 1.112 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.8369, allocations: 5.875 kB / 1.112 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.8369, allocations: 3.125 kB / 1.112 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001529/0.8385, allocations: 0.8207 MB / 1.113 GB, free: 36.36 MB / 0.7448 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.004039/0.8425, allocations: 2.714 MB / 1.116 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8425, allocations: 0 / 1.116 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000694/0.8432, allocations: 166.2 kB / 1.116 GB, free: 35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001678/0.8434, allocations: 32.95 kB / 1.116 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.8435, allocations: 26.11 kB / 1.116 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008174/0.8443, allocations: 1.375 MB / 1.117 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8443, allocations: 3.125 kB / 1.117 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.8472, allocations: 1.638 MB / 1.119 GB, free: 32.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007551/0.848, allocations: 368.7 kB / 1.119 GB, free: 32.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.8483, allocations: 22.08 kB / 1.119 GB, free: 32.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.8493, allocations: 126.7 kB / 1.119 GB, free: 32.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.8494, allocations: 69.94 kB / 1.119 GB, free: 32.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.8495, allocations: 36.78 kB / 1.119 GB, free: 32.53 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001385/0.8509, allocations: 1.082 MB / 1.12 GB, free: 32.08 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8509, allocations: 0 / 1.12 GB, free: 32.08 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002887/0.8538, allocations: 0.993 MB / 1.121 GB, free: 31.88 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (74): * Single equations (assignments): 66 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/0.8549, allocations: 0.545 MB / 1.122 GB, free: 31.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003111/0.858, allocations: 1.712 MB / 1.124 GB, free: 30.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.8581, allocations: 4.188 kB / 1.124 GB, free: 30.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.8591, allocations: 0.5696 MB / 1.124 GB, free: 30.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004411/0.8636, allocations: 0.8652 MB / 1.125 GB, free: 30.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/0.8686, allocations: 3.911 MB / 1.129 GB, free: 28.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007015/0.8693, allocations: 1.413 MB / 1.13 GB, free: 27.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001889/0.8712, allocations: 432.1 kB / 1.131 GB, free: 27.36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.8715, allocations: 141.1 kB / 1.131 GB, free: 27.34 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.8715, allocations: 3.219 kB / 1.131 GB, free: 27.34 MB / 0.7448 GB Notification: Performance of Templates: time 0.05967/0.9312, allocations: 34.69 MB / 1.165 GB, free: 21 MB / 0.7448 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)