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.0009975/0.0009973, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7953/0.7953, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.851/1.851, allocations: 221.3 MB / 400.4 MB, free: 5.867 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.001443/0.001443, allocations: 91.22 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.56e-05, allocations: 6.625 kB / 0.56 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2355, allocations: 82.31 MB / 0.6404 GB, free: 7.797 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.585/1.82, allocations: 382.9 MB / 1.014 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.821, allocations: 96.86 kB / 1.014 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.377/3.197, allocations: 420 MB / 1.425 GB, free: 74.19 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.425e-06/3.197, allocations: 0 / 1.425 GB, free: 74.19 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002055/3.198, allocations: 59.86 kB / 1.425 GB, free: 74.13 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.004672/3.202, allocations: 1.924 MB / 1.427 GB, free: 72.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/3.202, allocations: 8.031 kB / 1.427 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008712/3.203, allocations: 225.5 kB / 1.427 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004134/3.207, allocations: 2.122 MB / 1.429 GB, free: 69.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.538e-05/3.208, allocations: 115.9 kB / 1.429 GB, free: 69.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/3.208, allocations: 156 kB / 1.429 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/3.211, allocations: 1.854 MB / 1.431 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/3.211, allocations: 11.91 kB / 1.431 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/3.211, allocations: 63.89 kB / 1.431 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/3.211, allocations: 39.98 kB / 1.431 GB, free: 67.45 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/3.213, allocations: 1.658 MB / 1.433 GB, free: 65.79 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.01133/3.224, allocations: 7.54 MB / 1.44 GB, free: 57.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/3.226, allocations: 1.308 MB / 1.441 GB, free: 56.64 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007012/3.227, allocations: 0.6406 MB / 1.442 GB, free: 56 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006331/3.233, allocations: 3.833 MB / 1.446 GB, free: 51.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/3.233, allocations: 39.34 kB / 1.446 GB, free: 51.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 5.401e-06/3.233, allocations: 7.922 kB / 1.446 GB, free: 51.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.001901/3.235, allocations: 1.049 MB / 1.447 GB, free: 50.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/3.235, allocations: 64.19 kB / 1.447 GB, free: 50.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/3.237, allocations: 1.508 MB / 1.448 GB, free: 49.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.023e-05/3.237, allocations: 49.7 kB / 1.448 GB, free: 49.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005343/3.238, allocations: 0.7769 MB / 1.449 GB, free: 48.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/3.238, allocations: 307.6 kB / 1.449 GB, free: 48.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/3.238, allocations: 24 kB / 1.449 GB, free: 47.99 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001286/3.238, allocations: 361.9 kB / 1.45 GB, free: 47.63 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008371/3.239, allocations: 0.6675 MB / 1.45 GB, free: 46.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/3.24, allocations: 1.002 MB / 1.451 GB, free: 45.83 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/3.241, allocations: 0.8636 MB / 1.452 GB, free: 44.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/3.241, allocations: 4 kB / 1.452 GB, free: 44.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002475/3.244, allocations: 1.909 MB / 1.454 GB, free: 43.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009116/3.245, allocations: 3.524 MB / 1.458 GB, free: 39.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/3.245, allocations: 12 kB / 1.458 GB, free: 39.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/3.245, allocations: 16 kB / 1.458 GB, free: 39.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/3.246, allocations: 347.5 kB / 1.458 GB, free: 38.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/3.246, allocations: 27.88 kB / 1.458 GB, free: 38.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/3.248, allocations: 222 kB / 1.458 GB, free: 38.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/3.248, allocations: 63.98 kB / 1.458 GB, free: 38.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/3.248, allocations: 5.406 kB / 1.458 GB, free: 38.61 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002219/3.25, allocations: 1.756 MB / 1.46 GB, free: 36.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/3.25, allocations: 11.98 kB / 1.46 GB, free: 36.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/3.25, allocations: 20 kB / 1.46 GB, free: 36.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/3.251, allocations: 344.1 kB / 1.46 GB, free: 36.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/3.251, allocations: 27.92 kB / 1.46 GB, free: 36.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/3.253, allocations: 190.4 kB / 1.46 GB, free: 36.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/3.253, allocations: 67.97 kB / 1.461 GB, free: 36.2 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.000364/3.253, allocations: 180.6 kB / 1.461 GB, free: 36.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/3.254, allocations: 150.2 kB / 1.461 GB, free: 35.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/3.256, allocations: 1.199 MB / 1.462 GB, free: 34.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/3.256, allocations: 8 kB / 1.462 GB, free: 34.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/3.256, allocations: 0 / 1.462 GB, free: 34.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/3.257, allocations: 1.24 MB / 1.463 GB, free: 33.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/3.262, allocations: 2.874 MB / 1.466 GB, free: 30.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/3.262, allocations: 3.938 kB / 1.466 GB, free: 30.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/3.263, allocations: 179.9 kB / 1.466 GB, free: 30.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/3.263, allocations: 4 kB / 1.466 GB, free: 30.19 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/3.263, allocations: 23.98 kB / 1.466 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/3.263, allocations: 4 kB / 1.466 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/3.263, allocations: 4 kB / 1.466 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/3.265, allocations: 1.889 MB / 1.468 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/3.266, allocations: 430.8 kB / 1.468 GB, free: 27.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/3.266, allocations: 16 kB / 1.469 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008064/3.267, allocations: 79.72 kB / 1.469 GB, free: 27.67 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/3.267, allocations: 48.72 kB / 1.469 GB, free: 27.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/3.267, allocations: 35.97 kB / 1.469 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001668/3.269, allocations: 1.248 MB / 1.47 GB, free: 26.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/3.269, allocations: 4 kB / 1.47 GB, free: 26.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002892/3.272, allocations: 0.9669 MB / 1.471 GB, free: 25.37 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.001022/3.273, allocations: 496.3 kB / 1.471 GB, free: 24.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003033/3.276, allocations: 2.325 MB / 1.474 GB, free: 22.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/3.276, allocations: 4 kB / 1.474 GB, free: 22.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005447/3.276, allocations: 0.4962 MB / 1.474 GB, free: 22.06 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003512/3.28, allocations: 0.8502 MB / 1.475 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/3.284, allocations: 3.081 MB / 1.478 GB, free: 18.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000941/3.285, allocations: 1.711 MB / 1.48 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003336/3.289, allocations: 1.297 MB / 1.481 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/3.289, allocations: 111.4 kB / 1.481 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of SimCode: time 1.463e-06/3.289, allocations: 0 / 1.481 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of Templates: time 0.5363/3.825, allocations: 37.06 MB / 1.517 GB, free: 130.9 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)