Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.008906/0.008906, allocations: 173.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7872/0.7872, allocations: 135.2 MB / 151.1 MB, free: 13.85 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.542/1.542, allocations: 223.2 MB / 406.9 MB, free: 3.238 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001078, allocations: 100.3 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003994, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4787, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8979/1.377, allocations: 383 MB / 1.024 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/1.377, allocations: 98.75 kB / 1.024 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.732/3.109, allocations: 421.1 MB / 1.435 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/3.109, allocations: 0 / 1.435 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001726/3.109, allocations: 47.91 kB / 1.435 GB, free: 152.5 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.00509/3.114, allocations: 2.243 MB / 1.437 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/3.114, allocations: 12.03 kB / 1.437 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007914/3.115, allocations: 221.5 kB / 1.437 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00416/3.119, allocations: 2.142 MB / 1.439 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/3.119, allocations: 115.9 kB / 1.44 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/3.12, allocations: 155.8 kB / 1.44 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/3.122, allocations: 1.883 MB / 1.442 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/3.122, allocations: 3.984 kB / 1.442 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/3.123, allocations: 61.2 kB / 1.442 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/3.123, allocations: 36 kB / 1.442 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/3.125, allocations: 1.689 MB / 1.443 GB, free: 143.9 MB / 0.6823 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.01194/3.137, allocations: 7.549 MB / 1.451 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/3.138, allocations: 1.322 MB / 1.452 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006288/3.145, allocations: 3.756 MB / 1.456 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/3.145, allocations: 46.62 kB / 1.456 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 2.655e-06/3.145, allocations: 0 / 1.456 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.0021/3.147, allocations: 1.455 MB / 1.457 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/3.147, allocations: 68.39 kB / 1.457 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/3.149, allocations: 1.52 MB / 1.459 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/3.15, allocations: 53.7 kB / 1.459 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006272/3.15, allocations: 0.7646 MB / 1.459 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/3.15, allocations: 311.9 kB / 1.46 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/3.151, allocations: 28 kB / 1.46 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001171/3.151, allocations: 369.9 kB / 1.46 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008766/3.152, allocations: 0.6675 MB / 1.461 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/3.153, allocations: 1.009 MB / 1.462 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009779/3.154, allocations: 0.8591 MB / 1.463 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/3.154, allocations: 0 / 1.463 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002626/3.156, allocations: 1.932 MB / 1.464 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007037/3.157, allocations: 3.526 MB / 1.468 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/3.157, allocations: 12 kB / 1.468 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/3.157, allocations: 16 kB / 1.468 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/3.158, allocations: 353.7 kB / 1.468 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/3.158, allocations: 19.94 kB / 1.468 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/3.16, allocations: 231.1 kB / 1.468 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/3.16, allocations: 59.98 kB / 1.469 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/3.16, allocations: 4 kB / 1.469 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002143/3.162, allocations: 1.777 MB / 1.47 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/3.162, allocations: 8 kB / 1.47 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/3.162, allocations: 19.95 kB / 1.47 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/3.163, allocations: 351.4 kB / 1.471 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/3.163, allocations: 23.92 kB / 1.471 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/3.165, allocations: 183 kB / 1.471 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/3.165, allocations: 63.98 kB / 1.471 GB, free: 114.8 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 () * Number of clocked 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.001156/3.166, allocations: 0.758 MB / 1.472 GB, free: 114 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/3.166, allocations: 150.1 kB / 1.472 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/3.168, allocations: 1.209 MB / 1.473 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/3.168, allocations: 15.95 kB / 1.473 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/3.168, allocations: 0 / 1.473 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001202/3.169, allocations: 1.26 MB / 1.474 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/3.174, allocations: 2.882 MB / 1.477 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/3.174, allocations: 3.953 kB / 1.477 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007535/3.175, allocations: 175.9 kB / 1.477 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.707e-05/3.175, allocations: 8 kB / 1.477 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/3.175, allocations: 23.98 kB / 1.477 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/3.175, allocations: 4 kB / 1.477 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/3.175, allocations: 4 kB / 1.477 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/3.177, allocations: 1.913 MB / 1.479 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009847/3.178, allocations: 430.8 kB / 1.48 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004191/3.178, allocations: 16 kB / 1.48 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/3.18, allocations: 75.77 kB / 1.48 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/3.18, allocations: 48.89 kB / 1.48 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.619e-05/3.18, allocations: 39.97 kB / 1.48 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001599/3.181, allocations: 1.257 MB / 1.481 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.4e-07/3.181, allocations: 0 / 1.481 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003231/3.185, allocations: 0.9697 MB / 1.482 GB, free: 103.3 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 () * Number of clocked 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.001098/3.186, allocations: 0.4948 MB / 1.482 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003172/3.189, allocations: 2.301 MB / 1.485 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/3.189, allocations: 0 / 1.485 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005476/3.189, allocations: 0.5022 MB / 1.485 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/3.193, allocations: 0.8486 MB / 1.486 GB, free: 99.28 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005223/3.199, allocations: 4.298 MB / 1.49 GB, free: 94.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/3.199, allocations: 1.705 MB / 1.492 GB, free: 93.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002566/3.202, allocations: 0.9187 MB / 1.493 GB, free: 92.34 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/3.202, allocations: 139.3 kB / 1.493 GB, free: 92.2 MB / 0.6823 GB Notification: Performance of SimCode: time 9.01e-07/3.202, allocations: 0 / 1.493 GB, free: 92.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.04879/3.251, allocations: 34.62 MB / 1.527 GB, free: 58.09 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)