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.006008/0.006008, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001269/0.001269, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.79/0.79, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 77.78 kB / 0.5813 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1559, allocations: 80.2 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02727/0.1832, allocations: 28.56 MB / 0.6876 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01112/0.1944, allocations: 7.89 MB / 0.6953 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.1959, allocations: 39.81 kB / 0.6953 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.1971, allocations: 433.1 kB / 0.6957 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002718/0.1998, allocations: 1.049 MB / 0.6967 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.2025, allocations: 1.076 MB / 0.6978 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005086/0.2076, allocations: 4.911 MB / 0.7026 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/0.2105, allocations: 2.293 MB / 0.7048 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004822/0.2153, allocations: 1.827 MB / 0.7066 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.2177, allocations: 1.463 MB / 0.708 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004194/0.2182, allocations: 228 kB / 0.7083 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.2213, allocations: 1.311 MB / 0.7095 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005888/0.2219, allocations: 0.5491 MB / 0.7101 GB, free: 6.457 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.2235, allocations: 1.163 MB / 0.7112 GB, free: 5.289 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005759/0.2293, allocations: 3.689 MB / 0.7148 GB, free: 1.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.2293, allocations: 4 kB / 0.7148 GB, free: 1.586 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2294, allocations: 3.938 kB / 0.7148 GB, free: 1.582 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.344e-05/0.2294, allocations: 0 / 0.7148 GB, free: 1.582 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.004661/0.2341, allocations: 2.557 MB / 0.7173 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2341, allocations: 8.031 kB / 0.7173 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007908/0.2349, allocations: 238.5 kB / 0.7175 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.2378, allocations: 1.806 MB / 0.7193 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.897e-05/0.2379, allocations: 110.7 kB / 0.7194 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.2381, allocations: 148 kB / 0.7196 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/0.2412, allocations: 1.994 MB / 0.7215 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/0.2412, allocations: 7.984 kB / 0.7215 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.2414, allocations: 60 kB / 0.7216 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/0.2414, allocations: 39.94 kB / 0.7216 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00266/0.2441, allocations: 1.794 MB / 0.7234 GB, free: 8.648 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.01103/0.2551, allocations: 7.594 MB / 0.7308 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.257, allocations: 1.444 MB / 0.7322 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008721/0.2579, allocations: 0.6645 MB / 0.7328 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006194/0.2641, allocations: 3.855 MB / 0.7366 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.2642, allocations: 47.5 kB / 0.7366 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.334e-06/0.2642, allocations: 0 / 0.7366 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.002486/0.2667, allocations: 1.514 MB / 0.7381 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.2667, allocations: 60.41 kB / 0.7382 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.2689, allocations: 1.645 MB / 0.7398 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.2691, allocations: 45.7 kB / 0.7398 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006587/0.2697, allocations: 0.7614 MB / 0.7406 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.27, allocations: 315.5 kB / 0.7409 GB, free: 6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004191/0.2705, allocations: 291.4 kB / 0.7412 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2706, allocations: 365.9 kB / 0.7415 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.2717, allocations: 0.6917 MB / 0.7422 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.2729, allocations: 1.024 MB / 0.7432 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.2749, allocations: 1.62 MB / 0.7448 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.275, allocations: 0 / 0.7448 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.3352/0.6102, allocations: 1.954 MB / 0.7467 GB, free: 81.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.6103, allocations: 8.312 kB / 0.7467 GB, free: 81.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.6103, allocations: 10.81 kB / 0.7467 GB, free: 81.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.34e-05/0.6103, allocations: 16.06 kB / 0.7467 GB, free: 81.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.6119, allocations: 335.8 kB / 0.747 GB, free: 81.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.609e-05/0.6119, allocations: 19.66 kB / 0.747 GB, free: 81.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.6133, allocations: 199.1 kB / 0.7472 GB, free: 81.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.6135, allocations: 63.2 kB / 0.7473 GB, free: 81.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002045/0.6155, allocations: 1.285 MB / 0.7485 GB, free: 81.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001256/0.6168, allocations: 1.019 MB / 0.7495 GB, free: 80.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001951/0.6187, allocations: 1.616 MB / 0.7511 GB, free: 80.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.444e-06/0.6188, allocations: 6.25 kB / 0.7511 GB, free: 80.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003537/0.6223, allocations: 1.951 MB / 0.753 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.6223, allocations: 10.05 kB / 0.753 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.6224, allocations: 9.781 kB / 0.753 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.6224, allocations: 15.92 kB / 0.7531 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.6237, allocations: 334.4 kB / 0.7534 GB, free: 79.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.645e-05/0.6238, allocations: 21.98 kB / 0.7534 GB, free: 79.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.625, allocations: 152.7 kB / 0.7535 GB, free: 79.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.6252, allocations: 60.78 kB / 0.7536 GB, free: 79.38 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.0003899/0.6256, allocations: 266.3 kB / 0.7539 GB, free: 79.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/0.6259, allocations: 154.6 kB / 0.754 GB, free: 79.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.6286, allocations: 1.278 MB / 0.7553 GB, free: 78.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/0.6286, allocations: 9.141 kB / 0.7553 GB, free: 78.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6286, allocations: 1.312 kB / 0.7553 GB, free: 78.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001512/0.6302, allocations: 1.287 MB / 0.7565 GB, free: 77.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004644/0.6348, allocations: 2.955 MB / 0.7594 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.6348, allocations: 1.375 kB / 0.7594 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/0.6357, allocations: 191.8 kB / 0.7596 GB, free: 76.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.6357, allocations: 7.906 kB / 0.7596 GB, free: 76.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.98e-05/0.6357, allocations: 23 kB / 0.7596 GB, free: 76.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/0.6358, allocations: 11.92 kB / 0.7596 GB, free: 76.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6358, allocations: 1.156 kB / 0.7596 GB, free: 76.56 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.6385, allocations: 1.915 MB / 0.7615 GB, free: 75.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007798/0.6393, allocations: 400 kB / 0.7619 GB, free: 75.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.6395, allocations: 24.52 kB / 0.7619 GB, free: 75.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008237/0.6404, allocations: 50.52 kB / 0.762 GB, free: 75.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.6405, allocations: 52.78 kB / 0.762 GB, free: 75.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/0.6406, allocations: 36.81 kB / 0.762 GB, free: 75.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001959/0.6426, allocations: 1.237 MB / 0.7633 GB, free: 74.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6426, allocations: 1.188 kB / 0.7633 GB, free: 74.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002892/0.6455, allocations: 0.9153 MB / 0.7641 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.0008394/0.6463, allocations: 362.4 kB / 0.7645 GB, free: 74.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003691/0.65, allocations: 2.332 MB / 0.7668 GB, free: 73.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.65, allocations: 5.031 kB / 0.7668 GB, free: 73.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006774/0.6507, allocations: 0.5207 MB / 0.7673 GB, free: 73.81 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/0.6543, allocations: 0.9185 MB / 0.7682 GB, free: 73.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/0.6592, allocations: 3.677 MB / 0.7718 GB, free: 71.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009849/0.6602, allocations: 1.679 MB / 0.7734 GB, free: 71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002225/0.6624, allocations: 0.9167 MB / 0.7743 GB, free: 70.63 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/0.6627, allocations: 134.2 kB / 0.7744 GB, free: 70.61 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.6628, allocations: 0 / 0.7744 GB, free: 70.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.04472/0.7075, allocations: 36.11 MB / 0.8097 GB, free: 37.82 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)