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.005564/0.005564, allocations: 102 kB / 15.73 MB, free: 6.035 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.001183/0.001183, allocations: 187.9 kB / 16.67 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9853/0.9853, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.89 kB / 0.5856 GB, free: 3.379 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4513/0.4526, allocations: 80.91 MB / 0.6646 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03279/0.4854, allocations: 28.56 MB / 0.6925 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01304/0.4985, allocations: 7.889 MB / 0.7002 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.5001, allocations: 34.53 kB / 0.7003 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.5016, allocations: 422.3 kB / 0.7007 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.5053, allocations: 1.062 MB / 0.7017 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.509, allocations: 1.082 MB / 0.7028 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00652/0.5155, allocations: 4.924 MB / 0.7076 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.5188, allocations: 2.289 MB / 0.7098 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004377/0.5232, allocations: 1.826 MB / 0.7116 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.5258, allocations: 1.455 MB / 0.713 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006994/0.5265, allocations: 232 kB / 0.7132 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.5299, allocations: 1.311 MB / 0.7145 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008845/0.5308, allocations: 0.5491 MB / 0.715 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002403/0.5333, allocations: 1.163 MB / 0.7162 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005724/0.539, allocations: 3.691 MB / 0.7198 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.539, allocations: 4 kB / 0.7198 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.956e-06/0.539, allocations: 0 / 0.7198 GB, free: 9.031 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001156/0.5391, allocations: 3.938 kB / 0.7198 GB, free: 9.027 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.005583/0.5447, allocations: 2.553 MB / 0.7223 GB, free: 6.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.5448, allocations: 8.031 kB / 0.7223 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007888/0.5456, allocations: 242.4 kB / 0.7225 GB, free: 6.172 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/0.5485, allocations: 1.795 MB / 0.7243 GB, free: 4.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.96e-05/0.5486, allocations: 118.7 kB / 0.7244 GB, free: 4.207 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.5488, allocations: 155.9 kB / 0.7245 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/0.5518, allocations: 2.001 MB / 0.7265 GB, free: 1.988 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.5518, allocations: 4 kB / 0.7265 GB, free: 1.984 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.552, allocations: 56 kB / 0.7265 GB, free: 1.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.357e-05/0.552, allocations: 40 kB / 0.7266 GB, free: 1.891 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.5547, allocations: 1.798 MB / 0.7283 GB, free: 88 kB / 0.545 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.01074/0.5654, allocations: 7.594 MB / 0.7358 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.5673, allocations: 1.445 MB / 0.7372 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008681/0.5681, allocations: 0.6629 MB / 0.7378 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006017/0.5742, allocations: 3.854 MB / 0.7416 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.5742, allocations: 51.5 kB / 0.7416 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 2.745e-06/0.5742, allocations: 0 / 0.7416 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.002418/0.5766, allocations: 1.51 MB / 0.7431 GB, free: 316 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.5767, allocations: 64.41 kB / 0.7432 GB, free: 236 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.579, allocations: 1.645 MB / 0.7448 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.5792, allocations: 53.7 kB / 0.7448 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000761/0.5799, allocations: 0.7497 MB / 0.7456 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.5803, allocations: 311.5 kB / 0.7459 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004805/0.5808, allocations: 295.3 kB / 0.7461 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.581, allocations: 365.9 kB / 0.7465 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.5821, allocations: 0.6956 MB / 0.7472 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.5834, allocations: 1.016 MB / 0.7482 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.5856, allocations: 1.628 MB / 0.7497 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.5856, allocations: 4 kB / 0.7497 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003074/0.5887, allocations: 1.943 MB / 0.7516 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.5888, allocations: 8 kB / 0.7517 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.5888, allocations: 8.875 kB / 0.7517 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.5888, allocations: 16 kB / 0.7517 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.59, allocations: 339.5 kB / 0.752 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.318e-05/0.5901, allocations: 23.92 kB / 0.752 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.5912, allocations: 202 kB / 0.7522 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.5913, allocations: 59.98 kB / 0.7523 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001903/0.5932, allocations: 1.29 MB / 0.7535 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001212/0.5945, allocations: 1.016 MB / 0.7545 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002021/0.5965, allocations: 1.624 MB / 0.7561 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.5965, allocations: 3.938 kB / 0.7561 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002993/0.5995, allocations: 1.944 MB / 0.758 GB, free: 468 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5995, allocations: 8 kB / 0.758 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.5995, allocations: 8 kB / 0.758 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5996, allocations: 19.94 kB / 0.758 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.6008, allocations: 335.5 kB / 0.7584 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.6008, allocations: 23.92 kB / 0.7584 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6019, allocations: 151.3 kB / 0.7585 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.602, allocations: 56 kB / 0.7586 GB, free: 15.87 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.0003918/0.6024, allocations: 271.8 kB / 0.7588 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.6027, allocations: 150.1 kB / 0.759 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.6048, allocations: 1.277 MB / 0.7602 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.6048, allocations: 8 kB / 0.7602 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.6049, allocations: 8 kB / 0.7603 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001566/0.6064, allocations: 1.292 MB / 0.7615 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/0.6109, allocations: 2.955 MB / 0.7644 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.611, allocations: 0 / 0.7644 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/0.6117, allocations: 187.8 kB / 0.7646 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.6117, allocations: 8.125 kB / 0.7646 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/0.6118, allocations: 27.92 kB / 0.7646 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.6118, allocations: 7.938 kB / 0.7646 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6118, allocations: 0 / 0.7646 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.6143, allocations: 1.917 MB / 0.7665 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006435/0.615, allocations: 398.9 kB / 0.7669 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.6152, allocations: 23.94 kB / 0.7669 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00073/0.6159, allocations: 51.84 kB / 0.7669 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.616, allocations: 48.88 kB / 0.767 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.6161, allocations: 39.97 kB / 0.767 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00163/0.6177, allocations: 1.234 MB / 0.7682 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6177, allocations: 4 kB / 0.7682 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002275/0.62, allocations: 0.9202 MB / 0.7691 GB, free: 4.824 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.0007895/0.6208, allocations: 363.9 kB / 0.7695 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003835/0.6247, allocations: 2.332 MB / 0.7718 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6247, allocations: 0.5 kB / 0.7718 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008136/0.6255, allocations: 0.517 MB / 0.7723 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00361/0.6291, allocations: 0.9169 MB / 0.7732 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005825/0.635, allocations: 3.674 MB / 0.7768 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/0.6366, allocations: 1.686 MB / 0.7784 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002657/0.6392, allocations: 0.9125 MB / 0.7793 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.6396, allocations: 139.3 kB / 0.7794 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of SimCode: time 8.02e-07/0.6396, allocations: 0 / 0.7794 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.06057/0.7002, allocations: 36.11 MB / 0.8147 GB, free: 6.473 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)