Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.294/1.294, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009374/0.0009374, allocations: 182.2 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205 MB / 0.5767 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007006/0.0007007, allocations: 82.25 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002677, allocations: 9.312 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01746/0.1541, allocations: 28.12 MB / 0.9242 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006979/0.1611, allocations: 7.897 MB / 0.9319 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005373/0.1616, allocations: 27.81 kB / 0.932 GB, free: 32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006756/0.1623, allocations: 326.1 kB / 0.9323 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.1637, allocations: 0.9317 MB / 0.9332 GB, free: 30.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.1653, allocations: 0.9079 MB / 0.9341 GB, free: 29.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003083/0.1684, allocations: 6.047 MB / 0.94 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.1697, allocations: 1.764 MB / 0.9417 GB, free: 21.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.1709, allocations: 1.342 MB / 0.943 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009137/0.1718, allocations: 1.291 MB / 0.9443 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.172, allocations: 80 kB / 0.9443 GB, free: 19.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.1735, allocations: 1.127 MB / 0.9454 GB, free: 18.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.1737, allocations: 370.3 kB / 0.9458 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006062/0.1743, allocations: 0.9444 MB / 0.9467 GB, free: 16.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.1763, allocations: 3.423 MB / 0.9501 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1763, allocations: 0 / 0.9501 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1763, allocations: 3.938 kB / 0.9501 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.161e-05/0.1764, allocations: 0 / 0.9501 GB, free: 13.38 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.002959/0.1793, allocations: 2.129 MB / 0.9521 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1794, allocations: 8.031 kB / 0.9521 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.1799, allocations: 230.5 kB / 0.9524 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.1819, allocations: 1.735 MB / 0.9541 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.182, allocations: 114.7 kB / 0.9542 GB, free: 9.062 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.1821, allocations: 156 kB / 0.9543 GB, free: 8.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.1843, allocations: 1.978 MB / 0.9563 GB, free: 6.867 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.1843, allocations: 3.906 kB / 0.9563 GB, free: 6.863 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.1845, allocations: 52 kB / 0.9563 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.1845, allocations: 43.94 kB / 0.9563 GB, free: 6.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.1865, allocations: 1.798 MB / 0.9581 GB, free: 4.965 MB / 0.6042 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.008209/0.1947, allocations: 7.601 MB / 0.9655 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.1964, allocations: 1.449 MB / 0.9669 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008172/0.1973, allocations: 0.6564 MB / 0.9676 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005427/0.2027, allocations: 3.835 MB / 0.9713 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.2027, allocations: 43.56 kB / 0.9714 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=88): time 2.134e-06/0.2028, allocations: 0 / 0.9714 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88): time 0.002142/0.2049, allocations: 1.517 MB / 0.9729 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.2049, allocations: 60.41 kB / 0.9729 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.2067, allocations: 1.585 MB / 0.9745 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.842e-05/0.2068, allocations: 45.7 kB / 0.9745 GB, free: 3.473 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005331/0.2073, allocations: 0.7534 MB / 0.9752 GB, free: 2.711 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.2076, allocations: 307.6 kB / 0.9755 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.2077, allocations: 137.6 kB / 0.9757 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2079, allocations: 361.9 kB / 0.976 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009329/0.2088, allocations: 0.6831 MB / 0.9767 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.21, allocations: 1.024 MB / 0.9777 GB, free: 68 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.212, allocations: 1.62 MB / 0.9793 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.212, allocations: 4 kB / 0.9793 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002688/0.2147, allocations: 1.951 MB / 0.9812 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.2149, allocations: 361.2 kB / 0.9815 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2149, allocations: 12 kB / 0.9815 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.2149, allocations: 12 kB / 0.9815 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.2161, allocations: 339.5 kB / 0.9819 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.2161, allocations: 19.92 kB / 0.9819 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.2171, allocations: 222 kB / 0.9821 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.2172, allocations: 59.98 kB / 0.9821 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-06/0.2173, allocations: 4 kB / 0.9821 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00247/0.2197, allocations: 1.803 MB / 0.9839 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2198, allocations: 11.94 kB / 0.9839 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2198, allocations: 19.98 kB / 0.9839 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.2209, allocations: 327.5 kB / 0.9843 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.2209, allocations: 23.92 kB / 0.9843 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009233/0.2219, allocations: 186.7 kB / 0.9845 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.222, allocations: 63.98 kB / 0.9845 GB, free: 8.797 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0007993/0.2228, allocations: 0.7463 MB / 0.9852 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.223, allocations: 146.2 kB / 0.9854 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.2248, allocations: 1.285 MB / 0.9866 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001387/0.2262, allocations: 1.288 MB / 0.9879 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2263, allocations: 0 / 0.9879 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005228/0.2268, allocations: 379 kB / 0.9883 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.227, allocations: 20 kB / 0.9883 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006906/0.2277, allocations: 69.31 kB / 0.9883 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.2278, allocations: 48.94 kB / 0.9884 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001944/0.2297, allocations: 1.263 MB / 0.9896 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002375/0.2321, allocations: 2.021 MB / 0.9916 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006079/0.2327, allocations: 0.5231 MB / 0.9921 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00131/0.234, allocations: 1.118 MB / 0.9932 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of Backend: time 3.31e-07/0.234, allocations: 0 / 0.9932 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003702/0.2377, allocations: 2.308 MB / 0.9955 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of SimCode: time 0.006545/0.2443, allocations: 4.935 MB / 1 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of Templates: time 0.052/0.2963, allocations: 39.26 MB / 1.039 GB, free: 1.461 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)