Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001095/0.001095, allocations: 187 kB / 17.34 MB, free: 5.754 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.787/0.787, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 62.12 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.177, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03222/0.2092, allocations: 28.57 MB / 0.6882 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01126/0.2205, allocations: 7.884 MB / 0.6959 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.2221, allocations: 35.81 kB / 0.696 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.2235, allocations: 409.2 kB / 0.6963 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.2265, allocations: 1.01 MB / 0.6973 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.2296, allocations: 1.068 MB / 0.6984 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005995/0.2356, allocations: 4.918 MB / 0.7032 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003002/0.2386, allocations: 2.289 MB / 0.7054 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/0.2429, allocations: 1.826 MB / 0.7072 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00262/0.2455, allocations: 1.459 MB / 0.7086 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005926/0.2462, allocations: 232 kB / 0.7088 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.2492, allocations: 1.314 MB / 0.7101 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006918/0.2499, allocations: 0.5414 MB / 0.7107 GB, free: 6.559 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.2517, allocations: 1.163 MB / 0.7118 GB, free: 5.391 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005114/0.2568, allocations: 3.697 MB / 0.7154 GB, free: 1.684 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.2568, allocations: 0 / 0.7154 GB, free: 1.684 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2569, allocations: 0 / 0.7154 GB, free: 1.684 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.969e-05/0.2569, allocations: 0 / 0.7154 GB, free: 1.684 MB / 0.545 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.005586/0.2625, allocations: 2.561 MB / 0.7179 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2626, allocations: 8.031 kB / 0.7179 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008989/0.2635, allocations: 234.5 kB / 0.7181 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/0.2667, allocations: 1.807 MB / 0.7199 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.563e-05/0.2669, allocations: 110.7 kB / 0.72 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.2671, allocations: 148 kB / 0.7201 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/0.2704, allocations: 1.994 MB / 0.7221 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/0.2704, allocations: 8 kB / 0.7221 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.2706, allocations: 56 kB / 0.7222 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.454e-05/0.2706, allocations: 43.98 kB / 0.7222 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002744/0.2734, allocations: 1.798 MB / 0.7239 GB, free: 8.742 MB / 0.5606 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.0116/0.285, allocations: 7.594 MB / 0.7314 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.2869, allocations: 1.444 MB / 0.7328 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008593/0.2877, allocations: 0.6603 MB / 0.7334 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006521/0.2943, allocations: 3.851 MB / 0.7372 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.2944, allocations: 47.5 kB / 0.7372 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.785e-06/0.2944, allocations: 0 / 0.7372 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.002632/0.297, allocations: 1.51 MB / 0.7387 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.2971, allocations: 64.41 kB / 0.7388 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.2994, allocations: 1.641 MB / 0.7404 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.2996, allocations: 53.7 kB / 0.7404 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006727/0.3003, allocations: 0.7614 MB / 0.7412 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.3006, allocations: 311.5 kB / 0.7415 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004172/0.3011, allocations: 291.4 kB / 0.7417 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3012, allocations: 369.8 kB / 0.7421 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.3023, allocations: 0.6956 MB / 0.7428 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.3036, allocations: 1.016 MB / 0.7438 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/0.3057, allocations: 1.624 MB / 0.7453 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.3057, allocations: 0 / 0.7453 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.342/0.6477, allocations: 1.95 MB / 0.7472 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.6477, allocations: 10.45 kB / 0.7473 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.6478, allocations: 8.719 kB / 0.7473 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.156e-05/0.6478, allocations: 17.56 kB / 0.7473 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.6494, allocations: 334.5 kB / 0.7476 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.872e-05/0.6494, allocations: 21.45 kB / 0.7476 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.6508, allocations: 200.1 kB / 0.7478 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.651, allocations: 61.12 kB / 0.7479 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002141/0.6531, allocations: 1.29 MB / 0.7491 GB, free: 80.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001268/0.6544, allocations: 1.018 MB / 0.7501 GB, free: 80.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002021/0.6564, allocations: 1.62 MB / 0.7517 GB, free: 80.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.157e-06/0.6565, allocations: 3 kB / 0.7517 GB, free: 80.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003412/0.6599, allocations: 1.947 MB / 0.7536 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6599, allocations: 8.5 kB / 0.7536 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.6599, allocations: 9.406 kB / 0.7536 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.66, allocations: 16.41 kB / 0.7536 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.6613, allocations: 334.4 kB / 0.754 GB, free: 79.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.132e-05/0.6613, allocations: 22.19 kB / 0.754 GB, free: 79.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.6626, allocations: 156.2 kB / 0.7541 GB, free: 79.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.6627, allocations: 64.22 kB / 0.7542 GB, free: 79.37 MB / 0.5762 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.0003534/0.6631, allocations: 259.1 kB / 0.7544 GB, free: 79.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003681/0.6635, allocations: 153.7 kB / 0.7546 GB, free: 79.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/0.666, allocations: 1.281 MB / 0.7558 GB, free: 78.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.666, allocations: 9.156 kB / 0.7558 GB, free: 78.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6661, allocations: 4.875 kB / 0.7559 GB, free: 78.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001537/0.6676, allocations: 1.285 MB / 0.7571 GB, free: 77.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/0.6721, allocations: 2.959 MB / 0.76 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6722, allocations: 1.375 kB / 0.76 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007715/0.6729, allocations: 182.8 kB / 0.7602 GB, free: 76.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.673, allocations: 4.125 kB / 0.7602 GB, free: 76.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.673, allocations: 26.81 kB / 0.7602 GB, free: 76.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.673, allocations: 8.672 kB / 0.7602 GB, free: 76.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6731, allocations: 8.359 kB / 0.7602 GB, free: 76.56 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.6758, allocations: 1.914 MB / 0.7621 GB, free: 75.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008044/0.6766, allocations: 397.7 kB / 0.7625 GB, free: 75.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.6768, allocations: 24.69 kB / 0.7625 GB, free: 75.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007615/0.6776, allocations: 51.66 kB / 0.7625 GB, free: 75.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.6777, allocations: 58.02 kB / 0.7626 GB, free: 75.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-05/0.6778, allocations: 36.42 kB / 0.7626 GB, free: 75.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0018/0.6796, allocations: 1.234 MB / 0.7638 GB, free: 74.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6797, allocations: 1 kB / 0.7638 GB, free: 74.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002683/0.6823, allocations: 0.9169 MB / 0.7647 GB, free: 74.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008182/0.6832, allocations: 363.5 kB / 0.7651 GB, free: 74.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003721/0.6869, allocations: 2.335 MB / 0.7674 GB, free: 73.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.6869, allocations: 5.188 kB / 0.7674 GB, free: 73.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000676/0.6876, allocations: 0.5166 MB / 0.7679 GB, free: 73.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004384/0.692, allocations: 0.9236 MB / 0.7688 GB, free: 73.63 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00625/0.6983, allocations: 3.642 MB / 0.7723 GB, free: 71.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009897/0.6993, allocations: 1.635 MB / 0.7739 GB, free: 71.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000659/0.7, allocations: 142.3 kB / 0.7741 GB, free: 71 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.7, allocations: 0 / 0.7741 GB, free: 71 MB / 0.5762 GB Notification: Performance of Templates: time 0.03723/0.7372, allocations: 33.07 MB / 0.8064 GB, free: 41.77 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)