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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001458/0.001458, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9975/0.9975, allocations: 135.3 MB / 426.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 8 kB / 0.507 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1902, allocations: 82.31 MB / 0.5874 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.3879/0.5782, allocations: 26.24 MB / 0.613 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.5888, allocations: 7.382 MB / 0.6202 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.5902, allocations: 31.28 kB / 0.6202 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.5913, allocations: 287.8 kB / 0.6205 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.5937, allocations: 0.8073 MB / 0.6213 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.5965, allocations: 0.7737 MB / 0.622 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004893/0.6014, allocations: 5.248 MB / 0.6272 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.6035, allocations: 1.623 MB / 0.6288 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.6058, allocations: 1.317 MB / 0.63 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.6073, allocations: 1.231 MB / 0.6312 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.6074, allocations: 80.19 kB / 0.6313 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.6096, allocations: 0.9838 MB / 0.6323 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003153/0.6099, allocations: 356.6 kB / 0.6326 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000483/0.6104, allocations: 420.6 kB / 0.633 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.6129, allocations: 2.823 MB / 0.6358 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6129, allocations: 0 / 0.6358 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.613, allocations: 0 / 0.6358 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.041e-05/0.613, allocations: 4 kB / 0.6358 GB, free: 29.56 MB / 0.4981 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.003881/0.6169, allocations: 2.155 MB / 0.6379 GB, free: 28.37 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6169, allocations: 9.219 kB / 0.6379 GB, free: 28.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006855/0.6176, allocations: 236.3 kB / 0.6381 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/0.6202, allocations: 1.724 MB / 0.6398 GB, free: 27.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.569e-05/0.6202, allocations: 112.3 kB / 0.6399 GB, free: 27.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.6205, allocations: 151.5 kB / 0.6401 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.6234, allocations: 1.995 MB / 0.642 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.6235, allocations: 4.516 kB / 0.642 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.6236, allocations: 57.25 kB / 0.6421 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.764e-05/0.6236, allocations: 38.22 kB / 0.6421 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/0.6262, allocations: 1.795 MB / 0.6439 GB, free: 25.85 MB / 0.4981 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.01279/0.639, allocations: 7.614 MB / 0.6513 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.6414, allocations: 1.434 MB / 0.6527 GB, free: 20.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.6427, allocations: 0.6555 MB / 0.6533 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009885/0.6526, allocations: 3.846 MB / 0.6571 GB, free: 18.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.6527, allocations: 45.47 kB / 0.6571 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 4.078e-06/0.6527, allocations: 0 / 0.6571 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.00342/0.6561, allocations: 1.509 MB / 0.6586 GB, free: 17.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.6562, allocations: 61.34 kB / 0.6587 GB, free: 17.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003116/0.6593, allocations: 1.59 MB / 0.6602 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001813/0.6595, allocations: 52.14 kB / 0.6603 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007074/0.6602, allocations: 0.7596 MB / 0.661 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/0.6606, allocations: 311 kB / 0.6613 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.6606, allocations: 34.44 kB / 0.6613 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6608, allocations: 360.4 kB / 0.6617 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.6621, allocations: 0.6781 MB / 0.6623 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.6638, allocations: 1.011 MB / 0.6633 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.6654, allocations: 0.8684 MB / 0.6642 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.6654, allocations: 2.75 kB / 0.6642 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003734/0.6691, allocations: 1.949 MB / 0.6661 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/0.6694, allocations: 359.6 kB / 0.6664 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.6694, allocations: 8.344 kB / 0.6664 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.901e-05/0.6694, allocations: 17 kB / 0.6665 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.6708, allocations: 332 kB / 0.6668 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.959e-05/0.6709, allocations: 26.2 kB / 0.6668 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.6726, allocations: 219.2 kB / 0.667 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.6728, allocations: 64.14 kB / 0.6671 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.6728, allocations: 3.438 kB / 0.6671 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00302/0.6758, allocations: 1.778 MB / 0.6688 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.6759, allocations: 10.09 kB / 0.6688 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.6759, allocations: 20.89 kB / 0.6688 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.6771, allocations: 339.4 kB / 0.6692 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-05/0.6772, allocations: 20.48 kB / 0.6692 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.6788, allocations: 188.3 kB / 0.6694 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.6789, allocations: 69.7 kB / 0.6694 GB, free: 12.34 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001584/0.6805, allocations: 0.7506 MB / 0.6702 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007111/0.6812, allocations: 151 kB / 0.6703 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.6835, allocations: 1.277 MB / 0.6715 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.6836, allocations: 13.89 kB / 0.6716 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6836, allocations: 0 / 0.6716 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001486/0.6851, allocations: 1.284 MB / 0.6728 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004917/0.69, allocations: 2.929 MB / 0.6757 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.69, allocations: 5.438 kB / 0.6757 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000836/0.6909, allocations: 184.5 kB / 0.6759 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.6909, allocations: 3.594 kB / 0.6759 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-05/0.691, allocations: 24.23 kB / 0.6759 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.691, allocations: 8.109 kB / 0.6759 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.691, allocations: 2.219 kB / 0.6759 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.6939, allocations: 1.91 MB / 0.6778 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009989/0.6949, allocations: 432.4 kB / 0.6782 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.6951, allocations: 18.81 kB / 0.6782 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008014/0.696, allocations: 78.45 kB / 0.6783 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.6961, allocations: 63.05 kB / 0.6783 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/0.6961, allocations: 34.67 kB / 0.6784 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001892/0.698, allocations: 1.2 MB / 0.6795 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6981, allocations: 0 / 0.6795 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003323/0.7014, allocations: 0.8982 MB / 0.6804 GB, free: 7.051 MB / 0.4981 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 (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.0009203/0.7023, allocations: 349.6 kB / 0.6807 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004086/0.7064, allocations: 2.302 MB / 0.683 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.7065, allocations: 1.375 kB / 0.683 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007613/0.7072, allocations: 0.5173 MB / 0.6835 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004249/0.7115, allocations: 0.8768 MB / 0.6843 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006998/0.7185, allocations: 4.364 MB / 0.6886 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/0.7198, allocations: 1.683 MB / 0.6903 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002979/0.7227, allocations: 0.9034 MB / 0.6911 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.7231, allocations: 139.4 kB / 0.6913 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of SimCode: time 1.603e-06/0.7231, allocations: 0 / 0.6913 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of Templates: time 0.06371/0.7869, allocations: 32.94 MB / 0.7234 GB, free: 15.96 MB / 0.545 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)