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.001179/0.001179, 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.001327/0.001327, allocations: 193.8 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7202/0.7202, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 64.84 kB / 0.5018 GB, free: 8.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1667, allocations: 80.2 MB / 0.5801 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.2979/0.4646, allocations: 28.54 MB / 0.608 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009139/0.4738, allocations: 7.89 MB / 0.6157 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.475, allocations: 42.56 kB / 0.6157 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.4761, allocations: 406.4 kB / 0.6161 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.4786, allocations: 1.005 MB / 0.6171 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.4811, allocations: 1.07 MB / 0.6181 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004114/0.4852, allocations: 4.908 MB / 0.6229 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002568/0.4878, allocations: 2.295 MB / 0.6252 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003712/0.4915, allocations: 1.78 MB / 0.6269 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.4934, allocations: 1.458 MB / 0.6283 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003147/0.4937, allocations: 227 kB / 0.6285 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.4962, allocations: 1.318 MB / 0.6298 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004646/0.4967, allocations: 0.545 MB / 0.6304 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.4981, allocations: 1.156 MB / 0.6315 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.5017, allocations: 3.656 MB / 0.6351 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5017, allocations: 0 / 0.6351 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5017, allocations: 0 / 0.6351 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.716e-05/0.5018, allocations: 4 kB / 0.6351 GB, free: 28.81 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.004155/0.5059, allocations: 2.561 MB / 0.6376 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.506, allocations: 9.156 kB / 0.6376 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007161/0.5067, allocations: 240.1 kB / 0.6378 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.5089, allocations: 1.717 MB / 0.6395 GB, free: 26.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/0.5089, allocations: 111.1 kB / 0.6396 GB, free: 26.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.5091, allocations: 158.2 kB / 0.6397 GB, free: 26.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.5117, allocations: 1.998 MB / 0.6417 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.889e-05/0.5117, allocations: 3.219 kB / 0.6417 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.5119, allocations: 57.41 kB / 0.6417 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.368e-05/0.5119, allocations: 39.41 kB / 0.6418 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/0.5144, allocations: 1.798 MB / 0.6435 GB, free: 24.84 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.01024/0.5247, allocations: 7.651 MB / 0.651 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.5264, allocations: 1.439 MB / 0.6524 GB, free: 19.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008071/0.5273, allocations: 0.6625 MB / 0.6531 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005935/0.5332, allocations: 3.857 MB / 0.6568 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.5333, allocations: 45.94 kB / 0.6569 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.445e-06/0.5333, allocations: 0 / 0.6569 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002391/0.5357, allocations: 1.512 MB / 0.6583 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.5357, allocations: 69.19 kB / 0.6584 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.5378, allocations: 1.643 MB / 0.66 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-05/0.5379, allocations: 48.58 kB / 0.6601 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005149/0.5384, allocations: 0.753 MB / 0.6608 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.5386, allocations: 312.6 kB / 0.6611 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003902/0.539, allocations: 296.4 kB / 0.6614 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.5391, allocations: 361.8 kB / 0.6617 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009974/0.5401, allocations: 0.7004 MB / 0.6624 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.5413, allocations: 1.016 MB / 0.6634 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.5432, allocations: 1.629 MB / 0.665 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.5432, allocations: 2.688 kB / 0.665 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003107/0.5463, allocations: 1.948 MB / 0.6669 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.5463, allocations: 9.719 kB / 0.6669 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.5464, allocations: 9.594 kB / 0.6669 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-05/0.5464, allocations: 19.28 kB / 0.6669 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.5476, allocations: 338.8 kB / 0.6673 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.579e-05/0.5476, allocations: 21.7 kB / 0.6673 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.5489, allocations: 204.4 kB / 0.6675 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.5491, allocations: 60.08 kB / 0.6675 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001987/0.5511, allocations: 1.282 MB / 0.6688 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001241/0.5523, allocations: 1.02 MB / 0.6698 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00211/0.5544, allocations: 1.619 MB / 0.6714 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.446e-06/0.5544, allocations: 5.125 kB / 0.6714 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003661/0.5581, allocations: 1.956 MB / 0.6733 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.5582, allocations: 8.656 kB / 0.6733 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.5582, allocations: 9.5 kB / 0.6733 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.5582, allocations: 19 kB / 0.6733 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.5595, allocations: 331.5 kB / 0.6736 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.442e-05/0.5595, allocations: 22.08 kB / 0.6736 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.5611, allocations: 153.9 kB / 0.6738 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.5612, allocations: 60.09 kB / 0.6738 GB, free: 9.062 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.0004471/0.5617, allocations: 257.5 kB / 0.6741 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004392/0.5621, allocations: 150.7 kB / 0.6742 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.5642, allocations: 1.283 MB / 0.6755 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.5643, allocations: 8.969 kB / 0.6755 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5643, allocations: 0 / 0.6755 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001351/0.5656, allocations: 1.282 MB / 0.6767 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/0.5704, allocations: 2.963 MB / 0.6796 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5705, allocations: 2.312 kB / 0.6796 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/0.5712, allocations: 186.6 kB / 0.6798 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.5712, allocations: 2.938 kB / 0.6798 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.5713, allocations: 22.28 kB / 0.6798 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.5713, allocations: 10.3 kB / 0.6799 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.5713, allocations: 10.28 kB / 0.6799 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.5736, allocations: 1.915 MB / 0.6817 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007886/0.5744, allocations: 401.5 kB / 0.6821 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00043/0.5749, allocations: 22.36 kB / 0.6821 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009712/0.5758, allocations: 57.36 kB / 0.6822 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.5759, allocations: 58.17 kB / 0.6823 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.67e-05/0.576, allocations: 31.08 kB / 0.6823 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001576/0.5776, allocations: 1.239 MB / 0.6835 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5776, allocations: 1.469 kB / 0.6835 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002659/0.5803, allocations: 0.9164 MB / 0.6844 GB, free: 3.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.0007346/0.581, allocations: 358.9 kB / 0.6847 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004058/0.5851, allocations: 2.829 MB / 0.6875 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5851, allocations: 3.938 kB / 0.6875 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005561/0.5857, allocations: 0.5264 MB / 0.688 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/0.5897, allocations: 0.9253 MB / 0.6889 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005695/0.5954, allocations: 3.721 MB / 0.6925 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.5968, allocations: 1.678 MB / 0.6942 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002726/0.5996, allocations: 0.9117 MB / 0.6951 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/0.6001, allocations: 135.4 kB / 0.6952 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of SimCode: time 7.42e-07/0.6001, allocations: 0 / 0.6952 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.05522/0.6553, allocations: 35.74 MB / 0.7301 GB, free: 6.945 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)