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.001555/0.001555, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9112/0.9112, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 68.23 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1693, allocations: 80.92 MB / 0.5844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.3143/0.4836, allocations: 28.54 MB / 0.6122 GB, free: 36.03 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008662/0.4923, allocations: 7.884 MB / 0.6199 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.4935, allocations: 43.31 kB / 0.62 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.4947, allocations: 405.4 kB / 0.6204 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.4971, allocations: 1.016 MB / 0.6214 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.4996, allocations: 1.072 MB / 0.6224 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003669/0.5033, allocations: 4.901 MB / 0.6272 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.5052, allocations: 2.286 MB / 0.6294 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.5082, allocations: 1.792 MB / 0.6312 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.5097, allocations: 1.457 MB / 0.6326 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003251/0.5101, allocations: 228.9 kB / 0.6328 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.5123, allocations: 1.312 MB / 0.6341 GB, free: 28.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003875/0.5127, allocations: 0.5447 MB / 0.6346 GB, free: 28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.5139, allocations: 1.161 MB / 0.6358 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00328/0.5172, allocations: 3.65 MB / 0.6393 GB, free: 26.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5172, allocations: 3.938 kB / 0.6393 GB, free: 26.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5173, allocations: 2.5 kB / 0.6393 GB, free: 26.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.746e-05/0.5173, allocations: 0 / 0.6393 GB, free: 26.03 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.00409/0.5214, allocations: 2.565 MB / 0.6418 GB, free: 24.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.5214, allocations: 8.688 kB / 0.6418 GB, free: 24.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000718/0.5222, allocations: 231.9 kB / 0.6421 GB, free: 24.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.5244, allocations: 1.719 MB / 0.6437 GB, free: 23.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/0.5245, allocations: 117.1 kB / 0.6439 GB, free: 23.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.5247, allocations: 148.5 kB / 0.644 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/0.5275, allocations: 1.995 MB / 0.6459 GB, free: 22.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.5276, allocations: 6.344 kB / 0.646 GB, free: 22.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.5277, allocations: 69.25 kB / 0.646 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/0.5278, allocations: 39.41 kB / 0.6461 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.5304, allocations: 1.791 MB / 0.6478 GB, free: 21.99 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.0116/0.542, allocations: 7.647 MB / 0.6553 GB, free: 17.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.5438, allocations: 1.438 MB / 0.6567 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008306/0.5447, allocations: 0.6676 MB / 0.6573 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006139/0.5508, allocations: 3.846 MB / 0.6611 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.5508, allocations: 52.67 kB / 0.6611 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.605e-06/0.5509, allocations: 1.203 kB / 0.6611 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002511/0.5534, allocations: 1.516 MB / 0.6626 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.5534, allocations: 62.73 kB / 0.6627 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.5559, allocations: 1.643 MB / 0.6643 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.556, allocations: 48.05 kB / 0.6643 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005698/0.5566, allocations: 0.7575 MB / 0.6651 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.5569, allocations: 320.1 kB / 0.6654 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/0.5573, allocations: 292.6 kB / 0.6656 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5574, allocations: 364.2 kB / 0.666 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.5585, allocations: 0.6897 MB / 0.6667 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.5597, allocations: 1.025 MB / 0.6677 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.5618, allocations: 1.628 MB / 0.6693 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.5618, allocations: 2.812 kB / 0.6693 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003128/0.5649, allocations: 1.952 MB / 0.6712 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.565, allocations: 9.812 kB / 0.6712 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.565, allocations: 10.03 kB / 0.6712 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.559e-05/0.565, allocations: 15.75 kB / 0.6712 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.5663, allocations: 331.5 kB / 0.6715 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.744e-05/0.5663, allocations: 22.08 kB / 0.6715 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.5677, allocations: 202 kB / 0.6717 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.5679, allocations: 62.53 kB / 0.6718 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001855/0.5697, allocations: 1.281 MB / 0.673 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001174/0.5709, allocations: 1.021 MB / 0.674 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002063/0.573, allocations: 1.619 MB / 0.6756 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.049e-05/0.573, allocations: 2.25 kB / 0.6756 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003358/0.5764, allocations: 1.956 MB / 0.6775 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5764, allocations: 8.875 kB / 0.6775 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.5764, allocations: 9.031 kB / 0.6776 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.5764, allocations: 16.06 kB / 0.6776 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.5776, allocations: 334.6 kB / 0.6779 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/0.5776, allocations: 22.5 kB / 0.6779 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.5789, allocations: 145.1 kB / 0.678 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.5791, allocations: 60.25 kB / 0.6781 GB, free: 6.102 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.0003594/0.5794, allocations: 261.6 kB / 0.6784 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004804/0.5799, allocations: 147.5 kB / 0.6785 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.5819, allocations: 1.291 MB / 0.6798 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.5819, allocations: 8.469 kB / 0.6798 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.5819, allocations: 0.8125 kB / 0.6798 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001284/0.5832, allocations: 1.288 MB / 0.681 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004198/0.5874, allocations: 2.954 MB / 0.6839 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.5875, allocations: 6.375 kB / 0.6839 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000756/0.5882, allocations: 185 kB / 0.6841 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.5882, allocations: 4 kB / 0.6841 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.05e-05/0.5883, allocations: 24.55 kB / 0.6841 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.5883, allocations: 4.312 kB / 0.6841 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5883, allocations: 6.359 kB / 0.6841 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.5907, allocations: 1.918 MB / 0.686 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007513/0.5915, allocations: 408.4 kB / 0.6864 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003536/0.5919, allocations: 19.72 kB / 0.6864 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000912/0.5928, allocations: 47.84 kB / 0.6865 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.349e-05/0.5929, allocations: 57.86 kB / 0.6865 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.593, allocations: 38.77 kB / 0.6865 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001605/0.5946, allocations: 1.24 MB / 0.6878 GB, free: 484 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5946, allocations: 0 / 0.6878 GB, free: 484 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002483/0.5971, allocations: 0.9128 MB / 0.6886 GB, free: 308 kB / 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.0007711/0.5978, allocations: 373.5 kB / 0.689 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004904/0.6028, allocations: 2.832 MB / 0.6918 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.6028, allocations: 4 kB / 0.6918 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006653/0.6034, allocations: 0.517 MB / 0.6923 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/0.6073, allocations: 0.9246 MB / 0.6932 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.6127, allocations: 3.719 MB / 0.6968 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.614, allocations: 1.674 MB / 0.6984 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002464/0.6164, allocations: 0.9195 MB / 0.6993 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/0.6168, allocations: 135.4 kB / 0.6995 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.6169, allocations: 0 / 0.6995 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of Templates: time 0.05783/0.6747, allocations: 35.72 MB / 0.7344 GB, free: 2.449 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)