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.005989/0.005989, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.001216/0.001216, allocations: 195.8 kB / 16.67 MB, free: 5.953 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8078/0.8078, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 63.08 kB / 0.5813 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1785, allocations: 80.21 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.0305/0.2091, allocations: 28.56 MB / 0.6876 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01192/0.221, allocations: 7.9 MB / 0.6953 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.2225, allocations: 31.81 kB / 0.6953 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.2241, allocations: 409.2 kB / 0.6957 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003423/0.2275, allocations: 1.006 MB / 0.6967 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.2307, allocations: 1.073 MB / 0.6977 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006258/0.237, allocations: 4.907 MB / 0.7025 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003308/0.2404, allocations: 2.293 MB / 0.7047 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0042/0.2446, allocations: 1.796 MB / 0.7065 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/0.2473, allocations: 1.463 MB / 0.7079 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007336/0.2481, allocations: 232 kB / 0.7082 GB, free: 8.395 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.2517, allocations: 1.314 MB / 0.7094 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.2528, allocations: 0.5453 MB / 0.71 GB, free: 6.531 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002499/0.2553, allocations: 1.159 MB / 0.7111 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006514/0.2618, allocations: 3.699 MB / 0.7147 GB, free: 1.656 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2618, allocations: 0 / 0.7147 GB, free: 1.656 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2618, allocations: 0 / 0.7147 GB, free: 1.656 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001471/0.262, allocations: 4 kB / 0.7147 GB, free: 1.652 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.007125/0.2691, allocations: 2.621 MB / 0.7173 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2692, allocations: 8.031 kB / 0.7173 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.2704, allocations: 247.5 kB / 0.7175 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/0.2741, allocations: 1.816 MB / 0.7193 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.2742, allocations: 110.7 kB / 0.7194 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004657/0.2747, allocations: 152 kB / 0.7195 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004121/0.2789, allocations: 1.997 MB / 0.7215 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.608e-05/0.2789, allocations: 7.984 kB / 0.7215 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/0.2792, allocations: 56 kB / 0.7216 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/0.2792, allocations: 40 kB / 0.7216 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.2826, allocations: 1.798 MB / 0.7233 GB, free: 8.625 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.01284/0.2954, allocations: 7.611 MB / 0.7308 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.2974, allocations: 1.443 MB / 0.7322 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009254/0.2984, allocations: 0.6603 MB / 0.7328 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006857/0.3053, allocations: 3.863 MB / 0.7366 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.3054, allocations: 43.56 kB / 0.7366 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 3.045e-06/0.3054, allocations: 4 kB / 0.7367 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.002794/0.3082, allocations: 1.522 MB / 0.7381 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.3082, allocations: 60.41 kB / 0.7382 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.3111, allocations: 1.645 MB / 0.7398 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000159/0.3113, allocations: 49.7 kB / 0.7399 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007851/0.3121, allocations: 0.7671 MB / 0.7406 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.3124, allocations: 337.1 kB / 0.7409 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005188/0.313, allocations: 291.5 kB / 0.7412 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3132, allocations: 369.9 kB / 0.7416 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.3143, allocations: 0.6956 MB / 0.7422 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.3156, allocations: 1.016 MB / 0.7432 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.3178, allocations: 1.624 MB / 0.7448 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.3178, allocations: 4 kB / 0.7448 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.3787/0.6966, allocations: 1.954 MB / 0.7467 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.6967, allocations: 10.19 kB / 0.7467 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/0.6967, allocations: 10.12 kB / 0.7467 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.687e-05/0.6967, allocations: 16.55 kB / 0.7468 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.6984, allocations: 333.3 kB / 0.7471 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-05/0.6984, allocations: 23.83 kB / 0.7471 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.7002, allocations: 202 kB / 0.7473 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.7004, allocations: 61.72 kB / 0.7474 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002322/0.7027, allocations: 1.285 MB / 0.7486 GB, free: 80.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001287/0.704, allocations: 1.02 MB / 0.7496 GB, free: 80.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001974/0.706, allocations: 1.619 MB / 0.7512 GB, free: 79.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.023e-06/0.706, allocations: 3.156 kB / 0.7512 GB, free: 79.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003593/0.7096, allocations: 1.958 MB / 0.7531 GB, free: 79.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.7097, allocations: 9.578 kB / 0.7531 GB, free: 79.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.7097, allocations: 8.656 kB / 0.7531 GB, free: 79.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.7097, allocations: 16.09 kB / 0.7531 GB, free: 79.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.711, allocations: 334.3 kB / 0.7534 GB, free: 79.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.68e-05/0.711, allocations: 22.08 kB / 0.7535 GB, free: 79.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.7123, allocations: 152.1 kB / 0.7536 GB, free: 79.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.7124, allocations: 61.3 kB / 0.7537 GB, free: 79.22 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.0003681/0.7128, allocations: 261 kB / 0.7539 GB, free: 78.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.7131, allocations: 162.1 kB / 0.7541 GB, free: 78.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.7156, allocations: 1.285 MB / 0.7553 GB, free: 78.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.7156, allocations: 9.703 kB / 0.7553 GB, free: 78.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.7156, allocations: 0.5 kB / 0.7553 GB, free: 78.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001383/0.717, allocations: 1.281 MB / 0.7566 GB, free: 77.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.7211, allocations: 2.961 MB / 0.7595 GB, free: 76.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.7211, allocations: 1.312 kB / 0.7595 GB, free: 76.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007463/0.7219, allocations: 182.7 kB / 0.7597 GB, free: 76.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.7219, allocations: 9.281 kB / 0.7597 GB, free: 76.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.722, allocations: 24.52 kB / 0.7597 GB, free: 76.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/0.722, allocations: 8.516 kB / 0.7597 GB, free: 76.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.722, allocations: 2.812 kB / 0.7597 GB, free: 76.42 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.7246, allocations: 1.926 MB / 0.7616 GB, free: 75.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007107/0.7253, allocations: 409.4 kB / 0.762 GB, free: 75.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.7256, allocations: 21.81 kB / 0.762 GB, free: 75.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007371/0.7263, allocations: 52.48 kB / 0.762 GB, free: 75.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.7264, allocations: 55.67 kB / 0.7621 GB, free: 75.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/0.7265, allocations: 32.36 kB / 0.7621 GB, free: 75.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001768/0.7283, allocations: 1.237 MB / 0.7633 GB, free: 74.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.7283, allocations: 0 / 0.7633 GB, free: 74.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002437/0.7307, allocations: 0.9268 MB / 0.7642 GB, free: 74.73 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.000818/0.7315, allocations: 373.9 kB / 0.7646 GB, free: 74.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004182/0.7357, allocations: 2.334 MB / 0.7669 GB, free: 73.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.7358, allocations: 1.188 kB / 0.7669 GB, free: 73.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008221/0.7366, allocations: 0.5246 MB / 0.7674 GB, free: 73.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/0.7402, allocations: 0.9154 MB / 0.7683 GB, free: 73.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/0.745, allocations: 3.713 MB / 0.7719 GB, free: 71.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009509/0.746, allocations: 1.688 MB / 0.7736 GB, free: 70.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002161/0.7481, allocations: 0.9118 MB / 0.7745 GB, free: 70.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.7485, allocations: 138.1 kB / 0.7746 GB, free: 70.46 MB / 0.5762 GB Notification: Performance of SimCode: time 8.61e-07/0.7485, allocations: 0 / 0.7746 GB, free: 70.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.0494/0.7979, allocations: 36.1 MB / 0.8098 GB, free: 37.62 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)