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.001176/0.001177, allocations: 106.4 kB / 16.4 MB, free: 6.023 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.001135/0.001135, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6657/0.6657, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 65.78 kB / 0.5577 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1132, allocations: 76.18 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.05805/0.1713, allocations: 67.41 MB / 0.6979 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03336/0.2047, allocations: 18.59 MB / 0.7161 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003877/0.2086, allocations: 99.44 kB / 0.7162 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.007397/0.2161, allocations: 1.967 MB / 0.7181 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006718/0.2228, allocations: 2.821 MB / 0.7208 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004779/0.2276, allocations: 2.446 MB / 0.7232 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009337/0.237, allocations: 8.275 MB / 0.7313 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/0.2393, allocations: 1.938 MB / 0.7332 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003614/0.2429, allocations: 2.145 MB / 0.7353 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.2446, allocations: 1.564 MB / 0.7368 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002823/0.2449, allocations: 200 kB / 0.737 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.2484, allocations: 2.156 MB / 0.7391 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000558/0.2489, allocations: 0.6929 MB / 0.7398 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.2501, allocations: 1.329 MB / 0.7411 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004674/0.2548, allocations: 4.245 MB / 0.7452 GB, free: 160 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2548, allocations: 4 kB / 0.7453 GB, free: 156 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2548, allocations: 3.938 kB / 0.7453 GB, free: 152 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.652e-05/0.2548, allocations: 0 / 0.7453 GB, free: 152 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.2589/0.5138, allocations: 3.094 MB / 0.7483 GB, free: 109 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5138, allocations: 9.625 kB / 0.7483 GB, free: 109 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.5159, allocations: 480.6 kB / 0.7487 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004274/0.5202, allocations: 2.881 MB / 0.7516 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/0.5203, allocations: 97.94 kB / 0.7517 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.5205, allocations: 137.7 kB / 0.7518 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.523, allocations: 1.445 MB / 0.7532 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.5231, allocations: 9.469 kB / 0.7532 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.5232, allocations: 52.92 kB / 0.7533 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-05/0.5232, allocations: 52.59 kB / 0.7533 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.5256, allocations: 1.118 MB / 0.7544 GB, free: 106.4 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.008621/0.5342, allocations: 7.732 MB / 0.7619 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.5363, allocations: 1.281 MB / 0.7632 GB, free: 99.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008707/0.5372, allocations: 449.5 kB / 0.7636 GB, free: 99.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004276/0.5415, allocations: 2.706 MB / 0.7663 GB, free: 97.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.5425, allocations: 480.3 kB / 0.7667 GB, free: 97.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.334e-06/0.5425, allocations: 0 / 0.7667 GB, free: 97.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.002748/0.5453, allocations: 1.237 MB / 0.7679 GB, free: 96.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.5453, allocations: 114 kB / 0.768 GB, free: 96.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.5476, allocations: 2.074 MB / 0.7701 GB, free: 95.22 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/0.5477, allocations: 44.33 kB / 0.7701 GB, free: 95.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005856/0.5483, allocations: 1.032 MB / 0.7711 GB, free: 94.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.5485, allocations: 229.5 kB / 0.7713 GB, free: 94.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003568/0.5488, allocations: 313.2 kB / 0.7716 GB, free: 93.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.5489, allocations: 302.4 kB / 0.7719 GB, free: 93.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009617/0.5498, allocations: 0.5442 MB / 0.7725 GB, free: 93.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.5509, allocations: 0.9668 MB / 0.7734 GB, free: 92.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.5528, allocations: 1.421 MB / 0.7748 GB, free: 91.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.5528, allocations: 7.344 kB / 0.7748 GB, free: 91.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.002767/0.5556, allocations: 1.747 MB / 0.7765 GB, free: 90.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.5556, allocations: 41.31 kB / 0.7765 GB, free: 90.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.5556, allocations: 18.02 kB / 0.7766 GB, free: 90.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.5557, allocations: 25.69 kB / 0.7766 GB, free: 90.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009451/0.5566, allocations: 304.9 kB / 0.7769 GB, free: 90.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.5566, allocations: 20.81 kB / 0.7769 GB, free: 90.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.5579, allocations: 181.7 kB / 0.7771 GB, free: 90.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.057e-05/0.558, allocations: 59.33 kB / 0.7771 GB, free: 90.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001345/0.5593, allocations: 0.9776 MB / 0.7781 GB, free: 89.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001002/0.5604, allocations: 0.9635 MB / 0.779 GB, free: 89.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00178/0.5621, allocations: 1.43 MB / 0.7804 GB, free: 88.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.5622, allocations: 3.969 kB / 0.7804 GB, free: 88.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.00387/0.566, allocations: 1.745 MB / 0.7821 GB, free: 86.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.5661, allocations: 33.7 kB / 0.7822 GB, free: 86.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.5661, allocations: 16.03 kB / 0.7822 GB, free: 86.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5661, allocations: 16 kB / 0.7822 GB, free: 86.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.5678, allocations: 299.5 kB / 0.7825 GB, free: 86.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/0.5678, allocations: 23.88 kB / 0.7825 GB, free: 86.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.5699, allocations: 159 kB / 0.7826 GB, free: 86.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.57, allocations: 57.78 kB / 0.7827 GB, free: 85.98 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.0003103/0.5703, allocations: 259.8 kB / 0.7829 GB, free: 85.72 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/0.5708, allocations: 205.5 kB / 0.7831 GB, free: 85.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003212/0.574, allocations: 1.076 MB / 0.7842 GB, free: 84.44 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.574, allocations: 8 kB / 0.7842 GB, free: 84.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.574, allocations: 4 kB / 0.7842 GB, free: 84.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002266/0.5763, allocations: 0.7773 MB / 0.785 GB, free: 83.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006648/0.583, allocations: 2.894 MB / 0.7878 GB, free: 80.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.583, allocations: 4 kB / 0.7878 GB, free: 80.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000784/0.5838, allocations: 164 kB / 0.788 GB, free: 80.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001397/0.584, allocations: 29.36 kB / 0.788 GB, free: 80.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.584, allocations: 23.92 kB / 0.788 GB, free: 80.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008998/0.5849, allocations: 1.422 MB / 0.7894 GB, free: 78.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5849, allocations: 4.156 kB / 0.7894 GB, free: 78.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/0.5886, allocations: 1.603 MB / 0.791 GB, free: 77.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009663/0.5896, allocations: 414 kB / 0.7914 GB, free: 76.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/0.5899, allocations: 23.88 kB / 0.7914 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.5914, allocations: 67.94 kB / 0.7914 GB, free: 76.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.5916, allocations: 61.59 kB / 0.7915 GB, free: 76.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-05/0.5917, allocations: 35.97 kB / 0.7915 GB, free: 76.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002532/0.5942, allocations: 1.458 MB / 0.793 GB, free: 75.17 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5942, allocations: 0 / 0.793 GB, free: 75.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003925/0.5982, allocations: 1.111 MB / 0.794 GB, free: 74.05 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.00169/0.5999, allocations: 0.6516 MB / 0.7947 GB, free: 73.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004442/0.6043, allocations: 2.082 MB / 0.7967 GB, free: 71.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.6043, allocations: 4.438 kB / 0.7967 GB, free: 71.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.6054, allocations: 0.5489 MB / 0.7973 GB, free: 70.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003855/0.6092, allocations: 1.096 MB / 0.7983 GB, free: 69.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.6136, allocations: 3.708 MB / 0.8019 GB, free: 66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.6143, allocations: 1.566 MB / 0.8035 GB, free: 64.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001442/0.6158, allocations: 0.5257 MB / 0.804 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.6161, allocations: 174.9 kB / 0.8042 GB, free: 63.73 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.6161, allocations: 7.938 kB / 0.8042 GB, free: 63.72 MB / 0.5762 GB Notification: Performance of Templates: time 0.04869/0.6648, allocations: 42.66 MB / 0.8458 GB, free: 21.59 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)