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.007833/0.007834, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001578/0.001578, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.048/1.048, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.91 kB / 0.5862 GB, free: 2.707 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5434, allocations: 81.02 MB / 0.6653 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03271/0.5761, allocations: 28.55 MB / 0.6932 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01495/0.5912, allocations: 7.896 MB / 0.7009 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.5934, allocations: 34.19 kB / 0.701 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.5949, allocations: 405.5 kB / 0.7014 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003882/0.5988, allocations: 1.015 MB / 0.7023 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.6024, allocations: 1.07 MB / 0.7034 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007169/0.6095, allocations: 4.918 MB / 0.7082 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003724/0.6133, allocations: 2.285 MB / 0.7104 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005187/0.6185, allocations: 1.798 MB / 0.7122 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003156/0.6217, allocations: 1.447 MB / 0.7136 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000567/0.6223, allocations: 232 kB / 0.7138 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/0.6261, allocations: 1.322 MB / 0.7151 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007615/0.6269, allocations: 0.5491 MB / 0.7156 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002209/0.6291, allocations: 1.159 MB / 0.7168 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006248/0.6353, allocations: 3.702 MB / 0.7204 GB, free: 8.418 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.6354, allocations: 0 / 0.7204 GB, free: 8.418 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.414e-06/0.6354, allocations: 0 / 0.7204 GB, free: 8.418 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.7e-05/0.6355, allocations: 0 / 0.7204 GB, free: 8.418 MB / 0.545 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.006731/0.6422, allocations: 2.629 MB / 0.723 GB, free: 5.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.6423, allocations: 8.031 kB / 0.723 GB, free: 5.723 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000922/0.6432, allocations: 239.6 kB / 0.7232 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/0.6467, allocations: 1.816 MB / 0.725 GB, free: 3.617 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.782e-05/0.6468, allocations: 110.7 kB / 0.7251 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/0.6471, allocations: 152 kB / 0.7252 GB, free: 3.359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003599/0.6507, allocations: 2.001 MB / 0.7272 GB, free: 1.293 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.6507, allocations: 0 / 0.7272 GB, free: 1.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.6509, allocations: 60 kB / 0.7272 GB, free: 1.234 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-05/0.651, allocations: 40 kB / 0.7273 GB, free: 1.195 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003089/0.654, allocations: 1.794 MB / 0.729 GB, free: 15.39 MB / 0.5606 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.0134/0.6675, allocations: 7.623 MB / 0.7365 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.6697, allocations: 1.444 MB / 0.7379 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.6708, allocations: 0.6615 MB / 0.7385 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007537/0.6783, allocations: 3.854 MB / 0.7423 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.793e-05/0.6784, allocations: 47.55 kB / 0.7423 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 4.278e-06/0.6785, allocations: 0 / 0.7423 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.002998/0.6815, allocations: 1.522 MB / 0.7438 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.6815, allocations: 64.41 kB / 0.7439 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00272/0.6843, allocations: 1.641 MB / 0.7455 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.6845, allocations: 49.7 kB / 0.7455 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007834/0.6853, allocations: 0.7747 MB / 0.7463 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/0.6857, allocations: 325.2 kB / 0.7466 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004903/0.6861, allocations: 295.5 kB / 0.7469 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.6864, allocations: 365.9 kB / 0.7472 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.6875, allocations: 0.6995 MB / 0.7479 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.6891, allocations: 1.016 MB / 0.7489 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.6915, allocations: 1.628 MB / 0.7505 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.6915, allocations: 0 / 0.7505 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003636/0.6952, allocations: 1.953 MB / 0.7524 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.6952, allocations: 16 kB / 0.7524 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.6952, allocations: 8 kB / 0.7524 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.958e-05/0.6953, allocations: 16 kB / 0.7524 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.6966, allocations: 335.5 kB / 0.7528 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.131e-05/0.6966, allocations: 23.92 kB / 0.7528 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.6982, allocations: 202.7 kB / 0.753 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.6984, allocations: 60 kB / 0.753 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002221/0.7006, allocations: 1.284 MB / 0.7543 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001416/0.702, allocations: 1.024 MB / 0.7553 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002329/0.7044, allocations: 1.62 MB / 0.7569 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.37e-06/0.7044, allocations: 0 / 0.7569 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.00358/0.708, allocations: 1.96 MB / 0.7588 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.708, allocations: 11.94 kB / 0.7588 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.708, allocations: 8 kB / 0.7588 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.7081, allocations: 16.81 kB / 0.7588 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.7093, allocations: 339.5 kB / 0.7591 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/0.7093, allocations: 19.94 kB / 0.7592 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.7107, allocations: 151.2 kB / 0.7593 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.7109, allocations: 59.98 kB / 0.7594 GB, free: 15.09 MB / 0.5919 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.0004138/0.7113, allocations: 269.1 kB / 0.7596 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/0.7116, allocations: 159 kB / 0.7598 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.714, allocations: 1.275 MB / 0.761 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.714, allocations: 11.98 kB / 0.761 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.714, allocations: 0 / 0.761 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001614/0.7157, allocations: 1.288 MB / 0.7623 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/0.7206, allocations: 2.963 MB / 0.7652 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.7206, allocations: 0 / 0.7652 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007977/0.7214, allocations: 191.7 kB / 0.7654 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.7214, allocations: 4 kB / 0.7654 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/0.7215, allocations: 27.92 kB / 0.7654 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/0.7215, allocations: 7.938 kB / 0.7654 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7215, allocations: 0 / 0.7654 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.7245, allocations: 1.918 MB / 0.7673 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008882/0.7254, allocations: 411.7 kB / 0.7677 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.7257, allocations: 27.94 kB / 0.7677 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007576/0.7264, allocations: 52.08 kB / 0.7677 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.7266, allocations: 48.94 kB / 0.7678 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.911e-05/0.7266, allocations: 43.97 kB / 0.7678 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001989/0.7286, allocations: 1.234 MB / 0.769 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7286, allocations: 0 / 0.769 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002699/0.7313, allocations: 0.9242 MB / 0.7699 GB, free: 4.023 MB / 0.5919 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.0009722/0.7323, allocations: 374 kB / 0.7703 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004153/0.7365, allocations: 2.34 MB / 0.7726 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/0.7365, allocations: 0 / 0.7726 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008107/0.7373, allocations: 0.517 MB / 0.7731 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/0.7416, allocations: 0.9187 MB / 0.774 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/0.7477, allocations: 3.717 MB / 0.7776 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/0.7491, allocations: 1.682 MB / 0.7793 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002612/0.7518, allocations: 0.9138 MB / 0.7801 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/0.7521, allocations: 131.4 kB / 0.7803 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of SimCode: time 8.01e-07/0.7522, allocations: 0 / 0.7803 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of Templates: time 0.06397/0.8161, allocations: 36.11 MB / 0.8155 GB, free: 5.617 MB / 0.6387 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)