Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 114 kB / 17.08 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 193.9 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6966/0.6966, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 64.53 kB / 0.5584 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1321, allocations: 76.19 MB / 0.6328 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.06792/0.2, allocations: 67.41 MB / 0.6986 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02746/0.2275, allocations: 18.58 MB / 0.7167 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003265/0.2308, allocations: 95.5 kB / 0.7168 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005839/0.2367, allocations: 1.974 MB / 0.7188 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007697/0.2444, allocations: 2.834 MB / 0.7215 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006122/0.2506, allocations: 2.434 MB / 0.7239 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0118/0.2624, allocations: 8.277 MB / 0.732 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003583/0.266, allocations: 1.93 MB / 0.7339 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005451/0.2715, allocations: 2.158 MB / 0.736 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002988/0.2745, allocations: 1.563 MB / 0.7375 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000806/0.2753, allocations: 200 kB / 0.7377 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005068/0.2804, allocations: 2.152 MB / 0.7398 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.2816, allocations: 0.6929 MB / 0.7405 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.2842, allocations: 1.325 MB / 0.7418 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007842/0.292, allocations: 4.249 MB / 0.7459 GB, free: 144 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2921, allocations: 0 / 0.7459 GB, free: 144 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2921, allocations: 4 kB / 0.7459 GB, free: 140 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001377/0.2922, allocations: 0 / 0.7459 GB, free: 140 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.3092/0.6015, allocations: 3.092 MB / 0.7489 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.6015, allocations: 9.781 kB / 0.7489 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.6037, allocations: 484.1 kB / 0.7494 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005392/0.6091, allocations: 2.877 MB / 0.7522 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.265e-05/0.6092, allocations: 102.6 kB / 0.7523 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.6094, allocations: 139.2 kB / 0.7524 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/0.6122, allocations: 1.442 MB / 0.7539 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.6123, allocations: 5.625 kB / 0.7539 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.6124, allocations: 56.66 kB / 0.7539 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.326e-05/0.6125, allocations: 50.83 kB / 0.754 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.6149, allocations: 1.119 MB / 0.7551 GB, free: 106.5 MB / 0.5762 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.009778/0.6247, allocations: 7.734 MB / 0.7626 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.6268, allocations: 1.28 MB / 0.7639 GB, free: 99.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008712/0.6277, allocations: 449.6 kB / 0.7643 GB, free: 99.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004769/0.6325, allocations: 2.707 MB / 0.7669 GB, free: 97.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009922/0.6335, allocations: 479.3 kB / 0.7674 GB, free: 97.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 1.893e-06/0.6335, allocations: 0 / 0.7674 GB, free: 97.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.002908/0.6364, allocations: 1.242 MB / 0.7686 GB, free: 96.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.6365, allocations: 111.6 kB / 0.7687 GB, free: 96.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002491/0.639, allocations: 2.07 MB / 0.7707 GB, free: 95.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.808e-05/0.6391, allocations: 48.28 kB / 0.7708 GB, free: 95.22 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006407/0.6397, allocations: 1.031 MB / 0.7718 GB, free: 94.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.6399, allocations: 228 kB / 0.772 GB, free: 94.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/0.6402, allocations: 312.6 kB / 0.7723 GB, free: 93.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.836e-05/0.6403, allocations: 306.2 kB / 0.7726 GB, free: 93.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009146/0.6412, allocations: 0.5434 MB / 0.7731 GB, free: 93.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.6423, allocations: 0.9632 MB / 0.7741 GB, free: 92.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.6443, allocations: 1.425 MB / 0.7755 GB, free: 91.63 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.6443, allocations: 3.875 kB / 0.7755 GB, free: 91.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.002807/0.6471, allocations: 1.747 MB / 0.7772 GB, free: 90.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.6471, allocations: 42.11 kB / 0.7772 GB, free: 90.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.6472, allocations: 11.72 kB / 0.7772 GB, free: 90.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.6472, allocations: 24.3 kB / 0.7772 GB, free: 90.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009669/0.6482, allocations: 304.5 kB / 0.7775 GB, free: 90.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/0.6482, allocations: 23.77 kB / 0.7775 GB, free: 90.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.6497, allocations: 173.8 kB / 0.7777 GB, free: 90.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.344e-05/0.6498, allocations: 56.02 kB / 0.7778 GB, free: 90.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001506/0.6513, allocations: 0.9807 MB / 0.7787 GB, free: 89.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001077/0.6524, allocations: 0.9683 MB / 0.7797 GB, free: 89.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001726/0.6541, allocations: 1.432 MB / 0.7811 GB, free: 88.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.711e-06/0.6542, allocations: 3.875 kB / 0.7811 GB, free: 88.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.002694/0.6569, allocations: 1.744 MB / 0.7828 GB, free: 86.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.6569, allocations: 41.69 kB / 0.7828 GB, free: 86.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6569, allocations: 8 kB / 0.7828 GB, free: 86.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.6569, allocations: 20 kB / 0.7828 GB, free: 86.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009405/0.6579, allocations: 300.2 kB / 0.7831 GB, free: 86.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.6579, allocations: 27.86 kB / 0.7832 GB, free: 86.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.6594, allocations: 157.3 kB / 0.7833 GB, free: 86.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.16e-05/0.6595, allocations: 55.98 kB / 0.7834 GB, free: 86.02 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003047/0.6598, allocations: 263.3 kB / 0.7836 GB, free: 85.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.6601, allocations: 197.5 kB / 0.7838 GB, free: 85.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.6622, allocations: 1.079 MB / 0.7849 GB, free: 84.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.6622, allocations: 11.98 kB / 0.7849 GB, free: 84.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.6622, allocations: 4 kB / 0.7849 GB, free: 84.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001352/0.6636, allocations: 0.7725 MB / 0.7856 GB, free: 83.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004221/0.6678, allocations: 2.903 MB / 0.7885 GB, free: 80.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.6679, allocations: 2.562 kB / 0.7885 GB, free: 80.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/0.6685, allocations: 160 kB / 0.7886 GB, free: 80.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/0.6687, allocations: 34.77 kB / 0.7886 GB, free: 80.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.6687, allocations: 23.92 kB / 0.7887 GB, free: 80.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007218/0.6695, allocations: 1.421 MB / 0.7901 GB, free: 78.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6695, allocations: 0 / 0.7901 GB, free: 78.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.6721, allocations: 1.603 MB / 0.7916 GB, free: 77.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007397/0.6729, allocations: 414 kB / 0.792 GB, free: 76.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/0.6731, allocations: 20 kB / 0.792 GB, free: 76.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009489/0.6741, allocations: 73.83 kB / 0.7921 GB, free: 76.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.6742, allocations: 60.36 kB / 0.7922 GB, free: 76.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/0.6743, allocations: 35.97 kB / 0.7922 GB, free: 76.67 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00165/0.6759, allocations: 1.454 MB / 0.7936 GB, free: 75.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.676, allocations: 0 / 0.7936 GB, free: 75.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002493/0.6785, allocations: 1.115 MB / 0.7947 GB, free: 74.09 MB / 0.5762 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.s[1],mov.filter.s[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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/0.6797, allocations: 0.6641 MB / 0.7954 GB, free: 73.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003141/0.6828, allocations: 2.077 MB / 0.7974 GB, free: 71.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6829, allocations: 0 / 0.7974 GB, free: 71.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008964/0.6838, allocations: 0.5466 MB / 0.7979 GB, free: 70.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/0.6875, allocations: 1.089 MB / 0.799 GB, free: 69.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/0.6924, allocations: 3.792 MB / 0.8027 GB, free: 65.94 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007357/0.6932, allocations: 1.566 MB / 0.8042 GB, free: 64.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005017/0.6937, allocations: 183.3 kB / 0.8044 GB, free: 64.17 MB / 0.5762 GB Notification: Performance of SimCode: time 4.4e-07/0.6937, allocations: 4 kB / 0.8044 GB, free: 64.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.04824/0.742, allocations: 42.73 MB / 0.8461 GB, free: 21.71 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)