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.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001628/0.001628, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.053/1.053, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.17 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1973, allocations: 80.93 MB / 0.5837 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.4113/0.6087, allocations: 28.39 MB / 0.6114 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.6197, allocations: 7.974 MB / 0.6192 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.6217, allocations: 35.75 kB / 0.6193 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.623, allocations: 328.7 kB / 0.6196 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.6261, allocations: 0.9348 MB / 0.6205 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003184/0.6293, allocations: 0.9311 MB / 0.6214 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005925/0.6353, allocations: 6.078 MB / 0.6273 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00249/0.6378, allocations: 1.853 MB / 0.6291 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.6408, allocations: 1.394 MB / 0.6305 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.6429, allocations: 1.379 MB / 0.6318 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002433/0.6432, allocations: 107.4 kB / 0.6319 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.6458, allocations: 1.163 MB / 0.6331 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003835/0.6462, allocations: 419.8 kB / 0.6335 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.6475, allocations: 1.01 MB / 0.6345 GB, free: 28.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004138/0.6516, allocations: 3.542 MB / 0.6379 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6517, allocations: 0 / 0.6379 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6517, allocations: 0 / 0.6379 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.275e-05/0.6517, allocations: 0 / 0.6379 GB, free: 27.3 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.004793/0.6565, allocations: 2.556 MB / 0.6404 GB, free: 25.85 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.6566, allocations: 11.5 kB / 0.6404 GB, free: 25.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008126/0.6574, allocations: 230.4 kB / 0.6407 GB, free: 25.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.66, allocations: 1.772 MB / 0.6424 GB, free: 24.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-05/0.6601, allocations: 109.5 kB / 0.6425 GB, free: 24.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.6604, allocations: 156.5 kB / 0.6426 GB, free: 24.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/0.6639, allocations: 1.995 MB / 0.6446 GB, free: 23.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.664, allocations: 10.31 kB / 0.6446 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.6641, allocations: 57.09 kB / 0.6447 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-05/0.6642, allocations: 38.89 kB / 0.6447 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.6674, allocations: 1.795 MB / 0.6464 GB, free: 23.24 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.0129/0.6803, allocations: 7.596 MB / 0.6539 GB, free: 18.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.6825, allocations: 1.442 MB / 0.6553 GB, free: 18.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009684/0.6835, allocations: 0.6686 MB / 0.6559 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006851/0.6904, allocations: 3.835 MB / 0.6597 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.6904, allocations: 47.75 kB / 0.6597 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.104e-06/0.6904, allocations: 0 / 0.6597 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002697/0.6931, allocations: 1.513 MB / 0.6612 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.6932, allocations: 60.66 kB / 0.6612 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.6956, allocations: 1.604 MB / 0.6628 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.6957, allocations: 47.73 kB / 0.6629 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005679/0.6962, allocations: 0.7577 MB / 0.6636 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.6965, allocations: 316.3 kB / 0.6639 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004143/0.6969, allocations: 293 kB / 0.6642 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.6971, allocations: 368.4 kB / 0.6645 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.6981, allocations: 0.6936 MB / 0.6652 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.6994, allocations: 1.017 MB / 0.6662 GB, free: 12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.7015, allocations: 1.624 MB / 0.6678 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.7015, allocations: 3.875 kB / 0.6678 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003454/0.705, allocations: 1.951 MB / 0.6697 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.705, allocations: 13.16 kB / 0.6697 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.705, allocations: 9.109 kB / 0.6697 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/0.7051, allocations: 16.62 kB / 0.6697 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.7064, allocations: 334.9 kB / 0.6701 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.159e-05/0.7064, allocations: 22.5 kB / 0.6701 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.708, allocations: 213.8 kB / 0.6703 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.7081, allocations: 61.73 kB / 0.6703 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002206/0.7103, allocations: 1.287 MB / 0.6716 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00133/0.7117, allocations: 1.016 MB / 0.6726 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002157/0.7139, allocations: 1.626 MB / 0.6742 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.356e-06/0.7139, allocations: 2.812 kB / 0.6742 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003367/0.7172, allocations: 1.948 MB / 0.6761 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.7173, allocations: 9.875 kB / 0.6761 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.7173, allocations: 8.969 kB / 0.6761 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.7173, allocations: 19.47 kB / 0.6761 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.7186, allocations: 337.3 kB / 0.6764 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-05/0.7186, allocations: 20.77 kB / 0.6765 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.7201, allocations: 167.4 kB / 0.6766 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.7202, allocations: 62.28 kB / 0.6767 GB, free: 7.383 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004074/0.7206, allocations: 256.8 kB / 0.6769 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/0.721, allocations: 151.9 kB / 0.6771 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.723, allocations: 1.289 MB / 0.6783 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.7231, allocations: 12.64 kB / 0.6783 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.7231, allocations: 0 / 0.6783 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001353/0.7244, allocations: 1.291 MB / 0.6796 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004991/0.7294, allocations: 2.939 MB / 0.6825 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.7295, allocations: 0 / 0.6825 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008492/0.7303, allocations: 184.2 kB / 0.6826 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/0.7304, allocations: 4.5 kB / 0.6826 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-05/0.7304, allocations: 24.17 kB / 0.6827 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.7305, allocations: 5.375 kB / 0.6827 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.7305, allocations: 5.281 kB / 0.6827 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.7332, allocations: 1.921 MB / 0.6846 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009007/0.7341, allocations: 387.8 kB / 0.6849 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/0.7343, allocations: 31.7 kB / 0.685 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008748/0.7352, allocations: 77.41 kB / 0.685 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.7354, allocations: 58.17 kB / 0.6851 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.3e-05/0.7354, allocations: 38.67 kB / 0.6851 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001672/0.7371, allocations: 1.207 MB / 0.6863 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.61e-07/0.7371, allocations: 0 / 0.6863 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002964/0.7401, allocations: 0.9127 MB / 0.6872 GB, free: 1.492 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 (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.0008469/0.7409, allocations: 357.3 kB / 0.6875 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003434/0.7444, allocations: 2.317 MB / 0.6898 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.7444, allocations: 8.125 kB / 0.6898 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008022/0.7452, allocations: 0.5209 MB / 0.6903 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/0.7497, allocations: 0.8527 MB / 0.6911 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006923/0.7566, allocations: 4.301 MB / 0.6953 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.7579, allocations: 1.682 MB / 0.697 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002717/0.7606, allocations: 0.9194 MB / 0.6979 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.7609, allocations: 131.4 kB / 0.698 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/0.761, allocations: 0 / 0.698 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of Templates: time 0.05841/0.8194, allocations: 34.12 MB / 0.7313 GB, free: 5.316 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)