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.001227/0.001227, allocations: 110.1 kB / 16.41 MB, free: 6.496 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.001096/0.001097, allocations: 185.5 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8143/0.8143, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 69.47 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1886, allocations: 80.21 MB / 0.6603 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.05786/0.2465, allocations: 28.56 MB / 0.6882 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02112/0.2677, allocations: 7.899 MB / 0.6959 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.2696, allocations: 39.75 kB / 0.696 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.2718, allocations: 409.2 kB / 0.6964 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005202/0.277, allocations: 1.006 MB / 0.6973 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005845/0.2829, allocations: 1.064 MB / 0.6984 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01047/0.2934, allocations: 4.911 MB / 0.7032 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00559/0.2991, allocations: 2.281 MB / 0.7054 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006877/0.306, allocations: 1.836 MB / 0.7072 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004261/0.3103, allocations: 1.459 MB / 0.7086 GB, free: 8.691 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.3114, allocations: 228 kB / 0.7088 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005718/0.3172, allocations: 1.311 MB / 0.7101 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.3186, allocations: 0.553 MB / 0.7107 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00314/0.3218, allocations: 1.155 MB / 0.7118 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009351/0.3312, allocations: 3.701 MB / 0.7154 GB, free: 1.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.3313, allocations: 0 / 0.7154 GB, free: 1.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3313, allocations: 0 / 0.7154 GB, free: 1.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001225/0.3314, allocations: 0 / 0.7154 GB, free: 1.73 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.01055/0.342, allocations: 2.553 MB / 0.7179 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.053e-05/0.3421, allocations: 12.03 kB / 0.7179 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.3438, allocations: 234.5 kB / 0.7181 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006191/0.35, allocations: 1.8 MB / 0.7199 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.3502, allocations: 110.7 kB / 0.72 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007139/0.351, allocations: 152 kB / 0.7201 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007008/0.358, allocations: 2.001 MB / 0.7221 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.679e-05/0.3581, allocations: 8 kB / 0.7221 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003613/0.3585, allocations: 60 kB / 0.7222 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.915e-05/0.3586, allocations: 39.98 kB / 0.7222 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005739/0.3644, allocations: 1.798 MB / 0.7239 GB, free: 8.781 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.02212/0.3866, allocations: 7.594 MB / 0.7314 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/0.39, allocations: 1.436 MB / 0.7328 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.3912, allocations: 0.6642 MB / 0.7334 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008117/0.3993, allocations: 3.859 MB / 0.7372 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.3994, allocations: 43.56 kB / 0.7372 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 3.457e-06/0.3994, allocations: 0 / 0.7372 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.002912/0.4024, allocations: 1.514 MB / 0.7387 GB, free: 9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.4024, allocations: 60.41 kB / 0.7388 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002985/0.4054, allocations: 1.649 MB / 0.7404 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002205/0.4057, allocations: 49.7 kB / 0.7404 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007704/0.4065, allocations: 0.7497 MB / 0.7411 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003869/0.4069, allocations: 319.5 kB / 0.7415 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005635/0.4074, allocations: 291.4 kB / 0.7417 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4076, allocations: 369.8 kB / 0.7421 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.4088, allocations: 0.6917 MB / 0.7428 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.4102, allocations: 1.016 MB / 0.7438 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/0.4125, allocations: 1.624 MB / 0.7453 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.4125, allocations: 4 kB / 0.7453 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.3944/0.8069, allocations: 1.947 MB / 0.7472 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.807, allocations: 11.78 kB / 0.7473 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.807, allocations: 8.938 kB / 0.7473 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.832e-05/0.8071, allocations: 17.56 kB / 0.7473 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.8088, allocations: 331.7 kB / 0.7476 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-05/0.8088, allocations: 22.14 kB / 0.7476 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.8103, allocations: 202.3 kB / 0.7478 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.8104, allocations: 59.41 kB / 0.7479 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00219/0.8126, allocations: 1.287 MB / 0.7491 GB, free: 80.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001334/0.814, allocations: 1.019 MB / 0.7501 GB, free: 80.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002057/0.8161, allocations: 1.623 MB / 0.7517 GB, free: 80.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.367e-06/0.8161, allocations: 2.812 kB / 0.7517 GB, free: 80.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003583/0.8197, allocations: 1.948 MB / 0.7536 GB, free: 79.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.8197, allocations: 8.281 kB / 0.7536 GB, free: 79.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.8197, allocations: 8.812 kB / 0.7536 GB, free: 79.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.8198, allocations: 18.25 kB / 0.7536 GB, free: 79.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.8211, allocations: 338.3 kB / 0.754 GB, free: 79.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.331e-05/0.8211, allocations: 21.61 kB / 0.754 GB, free: 79.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.8224, allocations: 152.3 kB / 0.7541 GB, free: 79.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.8226, allocations: 60.28 kB / 0.7542 GB, free: 79.36 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.0003806/0.823, allocations: 263 kB / 0.7544 GB, free: 79.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.8233, allocations: 150.6 kB / 0.7546 GB, free: 79.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/0.8259, allocations: 1.287 MB / 0.7558 GB, free: 78.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/0.826, allocations: 9.188 kB / 0.7558 GB, free: 78.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.826, allocations: 1.203 kB / 0.7559 GB, free: 78.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001625/0.8276, allocations: 1.29 MB / 0.7571 GB, free: 77.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00479/0.8324, allocations: 2.953 MB / 0.76 GB, free: 76.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.8325, allocations: 1.312 kB / 0.76 GB, free: 76.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008146/0.8333, allocations: 185.3 kB / 0.7602 GB, free: 76.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.8333, allocations: 4.141 kB / 0.7602 GB, free: 76.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.17e-05/0.8334, allocations: 24.2 kB / 0.7602 GB, free: 76.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/0.8334, allocations: 8.859 kB / 0.7602 GB, free: 76.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8334, allocations: 5.344 kB / 0.7602 GB, free: 76.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.8362, allocations: 1.912 MB / 0.7621 GB, free: 75.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008752/0.8371, allocations: 402.3 kB / 0.7625 GB, free: 75.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.8374, allocations: 24.75 kB / 0.7625 GB, free: 75.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00085/0.8383, allocations: 52.67 kB / 0.7625 GB, free: 75.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.8384, allocations: 56.92 kB / 0.7626 GB, free: 75.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.962e-05/0.8385, allocations: 38.81 kB / 0.7626 GB, free: 75.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001934/0.8404, allocations: 1.238 MB / 0.7638 GB, free: 74.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8405, allocations: 0 / 0.7638 GB, free: 74.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002788/0.8433, allocations: 0.9123 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.0008597/0.8441, allocations: 370.6 kB / 0.7651 GB, free: 74.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00395/0.8481, allocations: 2.334 MB / 0.7674 GB, free: 73.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.8481, allocations: 5.094 kB / 0.7674 GB, free: 73.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007807/0.8489, allocations: 0.5165 MB / 0.7679 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.00482/0.8537, allocations: 0.9161 MB / 0.7688 GB, free: 73.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00602/0.8598, allocations: 3.64 MB / 0.7723 GB, free: 71.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.8612, allocations: 1.634 MB / 0.7739 GB, free: 71.01 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007313/0.8619, allocations: 146.2 kB / 0.7741 GB, free: 71 MB / 0.5762 GB Notification: Performance of SimCode: time 1.623e-06/0.8619, allocations: 0 / 0.7741 GB, free: 71 MB / 0.5762 GB Notification: Performance of Templates: time 0.04035/0.9023, allocations: 32.85 MB / 0.8061 GB, free: 42.04 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)