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.001817/0.001817, allocations: 100.1 kB / 15.88 MB, free: 12 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.002542/0.002542, allocations: 199.3 kB / 16.79 MB, free: 6.809 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.474/1.474, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9196/0.9196, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 61.2 kB / 0.5053 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1736, allocations: 80.93 MB / 0.5843 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.3121/0.4857, allocations: 28.4 MB / 0.6121 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00955/0.4953, allocations: 7.975 MB / 0.6199 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.4966, allocations: 35.59 kB / 0.6199 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.4978, allocations: 319.4 kB / 0.6202 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.5005, allocations: 0.9369 MB / 0.6211 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.5032, allocations: 0.9327 MB / 0.622 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005096/0.5084, allocations: 6.076 MB / 0.628 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.5104, allocations: 1.857 MB / 0.6298 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.5127, allocations: 1.394 MB / 0.6311 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.5143, allocations: 1.379 MB / 0.6325 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.5146, allocations: 106 kB / 0.6326 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.5171, allocations: 1.164 MB / 0.6337 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000413/0.5175, allocations: 419.1 kB / 0.6341 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001285/0.5188, allocations: 1.005 MB / 0.6351 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.5215, allocations: 2.911 MB / 0.6379 GB, free: 27.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5215, allocations: 3.141 kB / 0.638 GB, free: 27.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5215, allocations: 2.781 kB / 0.638 GB, free: 27.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.858e-05/0.5216, allocations: 4 kB / 0.638 GB, free: 27.55 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.004745/0.5263, allocations: 2.554 MB / 0.6405 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.5264, allocations: 14.44 kB / 0.6405 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008488/0.5273, allocations: 231.2 kB / 0.6407 GB, free: 26 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/0.53, allocations: 1.765 MB / 0.6424 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.219e-05/0.5301, allocations: 112.5 kB / 0.6425 GB, free: 25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.5303, allocations: 159 kB / 0.6427 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003518/0.5338, allocations: 1.998 MB / 0.6446 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/0.5339, allocations: 2.719 kB / 0.6446 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.5341, allocations: 57.19 kB / 0.6447 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-05/0.5341, allocations: 39.97 kB / 0.6447 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/0.5371, allocations: 1.797 MB / 0.6465 GB, free: 23.5 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.01326/0.5504, allocations: 7.59 MB / 0.6539 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.5526, allocations: 1.444 MB / 0.6553 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009397/0.5536, allocations: 0.6655 MB / 0.6559 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007093/0.5607, allocations: 3.836 MB / 0.6597 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.5608, allocations: 48.39 kB / 0.6597 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 3.306e-06/0.5608, allocations: 0 / 0.6597 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002961/0.5638, allocations: 1.521 MB / 0.6612 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.5638, allocations: 61.27 kB / 0.6613 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.5664, allocations: 1.603 MB / 0.6628 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002004/0.5667, allocations: 47.2 kB / 0.6629 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006153/0.5673, allocations: 0.7568 MB / 0.6636 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.5676, allocations: 312 kB / 0.6639 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004358/0.5681, allocations: 294.5 kB / 0.6642 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5682, allocations: 368 kB / 0.6646 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.5693, allocations: 0.6892 MB / 0.6652 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.5706, allocations: 1.021 MB / 0.6662 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.5727, allocations: 1.628 MB / 0.6678 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.5728, allocations: 2.562 kB / 0.6678 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003468/0.5762, allocations: 1.954 MB / 0.6697 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.5763, allocations: 9.141 kB / 0.6697 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.5763, allocations: 8.594 kB / 0.6697 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.5764, allocations: 16.52 kB / 0.6698 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.5777, allocations: 330.2 kB / 0.6701 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-05/0.5777, allocations: 21.2 kB / 0.6701 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.5793, allocations: 219 kB / 0.6703 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.5795, allocations: 65.67 kB / 0.6704 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002276/0.5818, allocations: 1.282 MB / 0.6716 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001232/0.5831, allocations: 1.021 MB / 0.6726 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002099/0.5852, allocations: 1.623 MB / 0.6742 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.036e-05/0.5852, allocations: 2.156 kB / 0.6742 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.0037/0.5889, allocations: 1.957 MB / 0.6761 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.589, allocations: 7.812 kB / 0.6761 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.589, allocations: 9.469 kB / 0.6761 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.589, allocations: 15.12 kB / 0.6761 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.5903, allocations: 339.2 kB / 0.6765 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.138e-05/0.5903, allocations: 22.86 kB / 0.6765 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.5921, allocations: 167.3 kB / 0.6766 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.5923, allocations: 60.5 kB / 0.6767 GB, free: 7.633 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.0004982/0.5928, allocations: 265 kB / 0.677 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000504/0.5933, allocations: 149.4 kB / 0.6771 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.5955, allocations: 1.277 MB / 0.6783 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.5955, allocations: 8.344 kB / 0.6784 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.5955, allocations: 0 / 0.6784 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/0.5969, allocations: 1.289 MB / 0.6796 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004582/0.6015, allocations: 2.937 MB / 0.6825 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.6016, allocations: 1.656 kB / 0.6825 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/0.6024, allocations: 189.5 kB / 0.6827 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-06/0.6024, allocations: 3.156 kB / 0.6827 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.357e-05/0.6025, allocations: 25.23 kB / 0.6827 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.968e-06/0.6025, allocations: 8.344 kB / 0.6827 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6025, allocations: 9.406 kB / 0.6827 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.6052, allocations: 1.918 MB / 0.6846 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009167/0.6061, allocations: 388.1 kB / 0.685 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/0.6064, allocations: 26.8 kB / 0.685 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008771/0.6073, allocations: 80.77 kB / 0.6851 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/0.6074, allocations: 54.94 kB / 0.6851 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.691e-05/0.6075, allocations: 39.34 kB / 0.6851 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001712/0.6092, allocations: 1.207 MB / 0.6863 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.11e-07/0.6092, allocations: 0 / 0.6863 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002911/0.6121, allocations: 0.9128 MB / 0.6872 GB, free: 1.895 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.0008726/0.613, allocations: 355.7 kB / 0.6876 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003321/0.6164, allocations: 2.319 MB / 0.6898 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/0.6164, allocations: 0 / 0.6898 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007383/0.6172, allocations: 0.5254 MB / 0.6903 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004168/0.6213, allocations: 0.866 MB / 0.6912 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/0.6274, allocations: 4.271 MB / 0.6953 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.6286, allocations: 1.638 MB / 0.6969 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006988/0.6293, allocations: 147.4 kB / 0.6971 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of SimCode: time 8.42e-07/0.6293, allocations: 0 / 0.6971 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of Templates: time 0.04661/0.6759, allocations: 32.31 MB / 0.7286 GB, free: 8.535 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)