Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001321/0.001321, allocations: 106 kB / 16.41 MB, free: 6.5 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.001299/0.001299, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8016/0.8016, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.78 kB / 0.5685 GB, free: 28.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1827, allocations: 77.94 MB / 0.6446 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02988/0.2126, allocations: 28.54 MB / 0.6725 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.2255, allocations: 7.911 MB / 0.6802 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.2271, allocations: 39.81 kB / 0.6802 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.2284, allocations: 409.2 kB / 0.6806 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.2313, allocations: 1.006 MB / 0.6816 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.2343, allocations: 1.077 MB / 0.6826 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00518/0.2394, allocations: 4.919 MB / 0.6875 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002734/0.2422, allocations: 2.293 MB / 0.6897 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.246, allocations: 1.79 MB / 0.6914 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.2478, allocations: 1.463 MB / 0.6929 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003326/0.2481, allocations: 232 kB / 0.6931 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/0.2509, allocations: 1.307 MB / 0.6944 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005365/0.2515, allocations: 0.553 MB / 0.6949 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.2529, allocations: 1.155 MB / 0.696 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004489/0.2574, allocations: 3.691 MB / 0.6996 GB, free: 452 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.2575, allocations: 4 kB / 0.6996 GB, free: 448 kB / 0.5294 GB Notification: Performance of FrontEnd: time 3.597e-06/0.2575, allocations: 8 kB / 0.6996 GB, free: 440 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.77e-05/0.2575, allocations: 0 / 0.6996 GB, free: 440 kB / 0.5294 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.005079/0.2626, allocations: 2.613 MB / 0.7022 GB, free: 13.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2627, allocations: 8.625 kB / 0.7022 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008078/0.2635, allocations: 251.6 kB / 0.7024 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/0.2663, allocations: 1.809 MB / 0.7042 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.592e-05/0.2664, allocations: 114.7 kB / 0.7043 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/0.2666, allocations: 152 kB / 0.7045 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003063/0.2697, allocations: 1.997 MB / 0.7064 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/0.2697, allocations: 8 kB / 0.7064 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.2699, allocations: 56 kB / 0.7065 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.941e-05/0.2699, allocations: 43.98 kB / 0.7065 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.2726, allocations: 1.798 MB / 0.7083 GB, free: 7.406 MB / 0.545 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.01119/0.2838, allocations: 7.615 MB / 0.7157 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.2856, allocations: 1.445 MB / 0.7171 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008481/0.2865, allocations: 0.6608 MB / 0.7178 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0063/0.2928, allocations: 3.858 MB / 0.7215 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.2929, allocations: 43.56 kB / 0.7216 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 2.374e-06/0.2929, allocations: 0 / 0.7216 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.002474/0.2954, allocations: 1.526 MB / 0.7231 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.2954, allocations: 60.41 kB / 0.7231 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.2977, allocations: 1.645 MB / 0.7247 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.76e-05/0.2978, allocations: 49.7 kB / 0.7248 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006905/0.2985, allocations: 0.7709 MB / 0.7255 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.2988, allocations: 333.2 kB / 0.7259 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004163/0.2993, allocations: 291.5 kB / 0.7261 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.2994, allocations: 361.9 kB / 0.7265 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.3005, allocations: 0.6956 MB / 0.7272 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.3018, allocations: 1.02 MB / 0.7282 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/0.3039, allocations: 1.624 MB / 0.7297 GB, free: 468 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.3039, allocations: 7.938 kB / 0.7297 GB, free: 460 kB / 0.5606 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003166/0.3071, allocations: 1.956 MB / 0.7317 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.3071, allocations: 13.72 kB / 0.7317 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.3072, allocations: 8 kB / 0.7317 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-05/0.3072, allocations: 19.94 kB / 0.7317 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.3084, allocations: 335.5 kB / 0.732 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/0.3085, allocations: 20.53 kB / 0.732 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.3098, allocations: 202.6 kB / 0.7322 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.3099, allocations: 59.98 kB / 0.7323 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001948/0.3119, allocations: 1.284 MB / 0.7335 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00125/0.3132, allocations: 1.024 MB / 0.7345 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002015/0.3152, allocations: 1.624 MB / 0.7361 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.402e-06/0.3152, allocations: 4 kB / 0.7361 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003159/0.3184, allocations: 1.956 MB / 0.738 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3184, allocations: 8 kB / 0.738 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.3184, allocations: 12 kB / 0.7381 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3185, allocations: 12 kB / 0.7381 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.3197, allocations: 339.4 kB / 0.7384 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.3197, allocations: 19.94 kB / 0.7384 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.3211, allocations: 155.1 kB / 0.7386 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.3212, allocations: 55.98 kB / 0.7386 GB, free: 7.094 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.0004888/0.3217, allocations: 271.9 kB / 0.7389 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/0.3221, allocations: 159 kB / 0.739 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/0.3244, allocations: 1.271 MB / 0.7403 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.3244, allocations: 12 kB / 0.7403 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.3244, allocations: 0 / 0.7403 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00154/0.326, allocations: 1.288 MB / 0.7415 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005065/0.3311, allocations: 2.955 MB / 0.7444 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.3311, allocations: 4 kB / 0.7444 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/0.3319, allocations: 187.8 kB / 0.7446 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.3319, allocations: 4 kB / 0.7446 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.332, allocations: 23.98 kB / 0.7446 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.332, allocations: 8.125 kB / 0.7446 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.332, allocations: 11.88 kB / 0.7447 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4633/0.7954, allocations: 1.913 MB / 0.7465 GB, free: 94.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000842/0.7963, allocations: 404.6 kB / 0.7469 GB, free: 94.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.7965, allocations: 22.03 kB / 0.7469 GB, free: 94.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008041/0.7973, allocations: 54.8 kB / 0.747 GB, free: 94.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.7974, allocations: 63.2 kB / 0.747 GB, free: 94.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.114e-05/0.7975, allocations: 35.77 kB / 0.7471 GB, free: 94.81 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001889/0.7994, allocations: 1.239 MB / 0.7483 GB, free: 94.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7994, allocations: 1.812 kB / 0.7483 GB, free: 94.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002592/0.802, allocations: 0.9246 MB / 0.7492 GB, free: 94.61 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.0008904/0.8029, allocations: 365.1 kB / 0.7495 GB, free: 94.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004218/0.8072, allocations: 2.333 MB / 0.7518 GB, free: 93.85 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.8072, allocations: 1.156 kB / 0.7518 GB, free: 93.85 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009458/0.8081, allocations: 0.5209 MB / 0.7523 GB, free: 93.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003646/0.8118, allocations: 0.9215 MB / 0.7532 GB, free: 93.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005841/0.8176, allocations: 3.721 MB / 0.7569 GB, free: 91.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/0.8193, allocations: 1.678 MB / 0.7585 GB, free: 90.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003406/0.8227, allocations: 0.9223 MB / 0.7594 GB, free: 90.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/0.8232, allocations: 136.1 kB / 0.7595 GB, free: 90.79 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.8232, allocations: 0 / 0.7595 GB, free: 90.79 MB / 0.5762 GB Notification: Performance of Templates: time 0.05061/0.8738, allocations: 36.11 MB / 0.7948 GB, free: 63.96 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)