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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 172 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7373/0.7373, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.689/1.689, allocations: 221.3 MB / 396.8 MB, free: 9.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 95.84 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.443e-05, allocations: 7.531 kB / 0.5551 GB, free: 86.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.185, allocations: 81.59 MB / 0.6348 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.411/1.596, allocations: 382.7 MB / 1.008 GB, free: 249.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/1.597, allocations: 96.56 kB / 1.009 GB, free: 249.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.322/2.919, allocations: 420 MB / 1.419 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/2.919, allocations: 7.938 kB / 1.419 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002095/2.919, allocations: 58.42 kB / 1.419 GB, free: 101.7 MB / 0.6823 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.005036/2.924, allocations: 1.921 MB / 1.421 GB, free: 99.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.601e-05/2.924, allocations: 8.031 kB / 1.421 GB, free: 99.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009651/2.925, allocations: 225.5 kB / 1.421 GB, free: 99.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004049/2.929, allocations: 2.13 MB / 1.423 GB, free: 97.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.13e-05/2.929, allocations: 121.9 kB / 1.423 GB, free: 97.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/2.929, allocations: 148 kB / 1.423 GB, free: 97.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/2.932, allocations: 1.854 MB / 1.425 GB, free: 95.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/2.932, allocations: 7.938 kB / 1.425 GB, free: 95.13 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/2.933, allocations: 56 kB / 1.425 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.854e-05/2.933, allocations: 47.94 kB / 1.425 GB, free: 95.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/2.935, allocations: 1.658 MB / 1.427 GB, free: 93.36 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.01147/2.946, allocations: 7.54 MB / 1.434 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/2.948, allocations: 1.315 MB / 1.435 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007066/2.949, allocations: 0.629 MB / 1.436 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005861/2.954, allocations: 3.834 MB / 1.44 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/2.955, allocations: 43.34 kB / 1.44 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 2.806e-06/2.955, allocations: 0 / 1.44 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.00166/2.956, allocations: 1.045 MB / 1.441 GB, free: 78.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/2.956, allocations: 68.14 kB / 1.441 GB, free: 78.35 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/2.958, allocations: 1.508 MB / 1.442 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/2.958, allocations: 45.7 kB / 1.442 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/2.959, allocations: 0.7752 MB / 1.443 GB, free: 76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/2.959, allocations: 307.6 kB / 1.443 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/2.959, allocations: 28 kB / 1.443 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001065/2.959, allocations: 361.9 kB / 1.444 GB, free: 75.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008805/2.96, allocations: 0.6675 MB / 1.444 GB, free: 74.65 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/2.961, allocations: 1.01 MB / 1.445 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/2.962, allocations: 0.8558 MB / 1.446 GB, free: 72.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/2.962, allocations: 4 kB / 1.446 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002804/2.965, allocations: 1.912 MB / 1.448 GB, free: 70.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009679/2.966, allocations: 3.521 MB / 1.452 GB, free: 66.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/2.966, allocations: 12 kB / 1.452 GB, free: 66.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.976e-05/2.966, allocations: 16 kB / 1.452 GB, free: 66.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/2.968, allocations: 351.5 kB / 1.452 GB, free: 66.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.094e-05/2.968, allocations: 19.94 kB / 1.452 GB, free: 66.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/2.969, allocations: 233.8 kB / 1.452 GB, free: 66.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/2.969, allocations: 71.98 kB / 1.452 GB, free: 66.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/2.97, allocations: 4 kB / 1.452 GB, free: 66.28 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002414/2.972, allocations: 1.757 MB / 1.454 GB, free: 64.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/2.972, allocations: 8 kB / 1.454 GB, free: 64.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/2.972, allocations: 20 kB / 1.454 GB, free: 64.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/2.973, allocations: 351.5 kB / 1.454 GB, free: 64.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-05/2.973, allocations: 23.88 kB / 1.454 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/2.975, allocations: 190.5 kB / 1.455 GB, free: 63.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/2.975, allocations: 59.98 kB / 1.455 GB, free: 63.88 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003382/2.975, allocations: 184.3 kB / 1.455 GB, free: 63.69 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/2.976, allocations: 150.2 kB / 1.455 GB, free: 63.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/2.978, allocations: 1.203 MB / 1.456 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/2.978, allocations: 8 kB / 1.456 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/2.978, allocations: 0 / 1.456 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/2.979, allocations: 1.244 MB / 1.457 GB, free: 60.99 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005085/2.984, allocations: 2.872 MB / 1.46 GB, free: 58.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/2.984, allocations: 0 / 1.46 GB, free: 58.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/2.985, allocations: 179.8 kB / 1.46 GB, free: 57.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.69e-05/2.985, allocations: 4 kB / 1.46 GB, free: 57.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.597e-05/2.985, allocations: 23.98 kB / 1.46 GB, free: 57.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/2.985, allocations: 4 kB / 1.46 GB, free: 57.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/2.985, allocations: 7.938 kB / 1.46 GB, free: 57.85 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/2.988, allocations: 1.885 MB / 1.462 GB, free: 55.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/2.989, allocations: 426.8 kB / 1.463 GB, free: 55.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005311/2.989, allocations: 16 kB / 1.463 GB, free: 55.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/2.991, allocations: 71.78 kB / 1.463 GB, free: 55.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/2.991, allocations: 68.59 kB / 1.463 GB, free: 55.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.957e-05/2.991, allocations: 36.09 kB / 1.463 GB, free: 55.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002257/2.993, allocations: 1.241 MB / 1.464 GB, free: 54.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/2.993, allocations: 0 / 1.464 GB, free: 54.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004414/2.998, allocations: 0.963 MB / 1.465 GB, free: 53.07 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001515/2.999, allocations: 0.4954 MB / 1.465 GB, free: 52.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004103/3.003, allocations: 2.316 MB / 1.468 GB, free: 50.29 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/3.003, allocations: 0 / 1.468 GB, free: 50.29 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006808/3.004, allocations: 0.5057 MB / 1.468 GB, free: 49.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004747/3.009, allocations: 0.8513 MB / 1.469 GB, free: 48.95 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006374/3.015, allocations: 3.073 MB / 1.472 GB, free: 45.83 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/3.017, allocations: 1.708 MB / 1.474 GB, free: 44.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004575/3.021, allocations: 1.297 MB / 1.475 GB, free: 42.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/3.022, allocations: 115.4 kB / 1.475 GB, free: 42.67 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/3.022, allocations: 0 / 1.475 GB, free: 42.67 MB / 0.6823 GB Notification: Performance of Templates: time 0.06533/3.087, allocations: 37.06 MB / 1.511 GB, free: 5.797 MB / 0.6823 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)