Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008999/0.0008999, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0011/0.0011, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7294/0.7294, allocations: 132.3 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002844, allocations: 9.438 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3434, allocations: 81.57 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02465/0.3681, allocations: 26.25 MB / 0.6087 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009758/0.3779, allocations: 7.376 MB / 0.6159 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009725/0.3789, allocations: 30.44 kB / 0.6159 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009473/0.3798, allocations: 284.4 kB / 0.6162 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.382, allocations: 0.8114 MB / 0.617 GB, free: 10 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.3841, allocations: 0.7779 MB / 0.6178 GB, free: 9.453 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005483/0.3896, allocations: 5.264 MB / 0.6229 GB, free: 6.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.3919, allocations: 1.618 MB / 0.6245 GB, free: 5.441 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.3944, allocations: 1.309 MB / 0.6258 GB, free: 4.754 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.3964, allocations: 1.233 MB / 0.627 GB, free: 3.516 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.3966, allocations: 76 kB / 0.627 GB, free: 3.441 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.3987, allocations: 0.9827 MB / 0.628 GB, free: 2.457 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.399, allocations: 362.5 kB / 0.6284 GB, free: 2.102 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.3994, allocations: 420.8 kB / 0.6288 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.4019, allocations: 2.829 MB / 0.6315 GB, free: 14.85 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4019, allocations: 7.938 kB / 0.6315 GB, free: 14.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4019, allocations: 0 / 0.6315 GB, free: 14.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.4019, allocations: 0 / 0.6315 GB, free: 14.84 MB / 478.1 MB 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.003592/0.4055, allocations: 2.156 MB / 0.6336 GB, free: 12.63 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.4055, allocations: 8.031 kB / 0.6336 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006461/0.4062, allocations: 225.5 kB / 0.6338 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.4087, allocations: 1.726 MB / 0.6355 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.4088, allocations: 126.7 kB / 0.6357 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.409, allocations: 148 kB / 0.6358 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/0.4119, allocations: 1.978 MB / 0.6377 GB, free: 8.305 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/0.4119, allocations: 4 kB / 0.6377 GB, free: 8.301 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.412, allocations: 63.94 kB / 0.6378 GB, free: 8.238 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-05/0.4121, allocations: 39.94 kB / 0.6378 GB, free: 8.199 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/0.4146, allocations: 1.786 MB / 0.6396 GB, free: 6.406 MB / 478.1 MB 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.009449/0.4241, allocations: 7.621 MB / 0.647 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.4259, allocations: 1.428 MB / 0.6484 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008866/0.4268, allocations: 0.6644 MB / 0.6491 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005381/0.4322, allocations: 3.834 MB / 0.6528 GB, free: 8.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.4323, allocations: 47.5 kB / 0.6529 GB, free: 8.152 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.114e-06/0.4323, allocations: 0 / 0.6529 GB, free: 8.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.002216/0.4345, allocations: 1.502 MB / 0.6543 GB, free: 6.652 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.4345, allocations: 60.41 kB / 0.6544 GB, free: 6.582 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.4364, allocations: 1.594 MB / 0.6559 GB, free: 4.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.954e-05/0.4365, allocations: 50.91 kB / 0.656 GB, free: 4.922 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/0.4371, allocations: 0.7653 MB / 0.6567 GB, free: 4.148 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.4373, allocations: 307.6 kB / 0.657 GB, free: 3.844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.4374, allocations: 24 kB / 0.657 GB, free: 3.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4375, allocations: 369.9 kB / 0.6574 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009704/0.4385, allocations: 0.6753 MB / 0.6581 GB, free: 2.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.4397, allocations: 1.012 MB / 0.659 GB, free: 1.637 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.4409, allocations: 0.8728 MB / 0.6599 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.4409, allocations: 4 kB / 0.6599 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002749/0.4436, allocations: 1.94 MB / 0.6618 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.4438, allocations: 355.2 kB / 0.6621 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.4438, allocations: 11.94 kB / 0.6621 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.4439, allocations: 24 kB / 0.6622 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4451, allocations: 335.5 kB / 0.6625 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/0.4451, allocations: 27.88 kB / 0.6625 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000988/0.4461, allocations: 226.1 kB / 0.6627 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.4463, allocations: 55.98 kB / 0.6628 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.991e-06/0.4463, allocations: 4 kB / 0.6628 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002507/0.4488, allocations: 1.78 MB / 0.6645 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4488, allocations: 8.219 kB / 0.6645 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4488, allocations: 27.98 kB / 0.6646 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.45, allocations: 335.4 kB / 0.6649 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.45, allocations: 19.92 kB / 0.6649 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008933/0.4509, allocations: 186.5 kB / 0.6651 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.4511, allocations: 59.98 kB / 0.6651 GB, free: 11.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007868/0.4519, allocations: 0.7595 MB / 0.6659 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.4521, allocations: 150.1 kB / 0.666 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.454, allocations: 1.278 MB / 0.6673 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4541, allocations: 12 kB / 0.6673 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4541, allocations: 0 / 0.6673 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001405/0.4555, allocations: 1.284 MB / 0.6685 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/0.4591, allocations: 2.935 MB / 0.6714 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4591, allocations: 0 / 0.6714 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007898/0.4599, allocations: 183.8 kB / 0.6716 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.46, allocations: 4 kB / 0.6716 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.46, allocations: 27.98 kB / 0.6716 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.46, allocations: 4 kB / 0.6716 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.46, allocations: 7.938 kB / 0.6716 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.4624, allocations: 1.905 MB / 0.6735 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005452/0.463, allocations: 426.8 kB / 0.6739 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.4632, allocations: 23.94 kB / 0.6739 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007737/0.464, allocations: 82.86 kB / 0.674 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.11e-05/0.4641, allocations: 60.86 kB / 0.674 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.868e-05/0.4641, allocations: 43.94 kB / 0.6741 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001403/0.4655, allocations: 1.191 MB / 0.6753 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4655, allocations: 0 / 0.6753 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001873/0.4674, allocations: 0.9085 MB / 0.6761 GB, free: 15.76 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006241/0.4681, allocations: 338 kB / 0.6765 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003035/0.4711, allocations: 2.309 MB / 0.6787 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4711, allocations: 4.312 kB / 0.6787 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006634/0.4718, allocations: 0.517 MB / 0.6792 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/0.4751, allocations: 0.8667 MB / 0.6801 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004941/0.48, allocations: 4.365 MB / 0.6843 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.4812, allocations: 1.678 MB / 0.686 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00226/0.4834, allocations: 0.9145 MB / 0.6869 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.4838, allocations: 139.3 kB / 0.687 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.4838, allocations: 0 / 0.687 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of Templates: time 0.04491/0.5287, allocations: 32.93 MB / 0.7192 GB, free: 4.059 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)