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: "" <> buildModelFMU(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008393/0.008394, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8933/0.8933, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 11.98 kB / 0.5077 GB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1397, allocations: 82.31 MB / 0.5881 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.2525/0.3922, allocations: 27.7 MB / 0.6151 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007221/0.3994, allocations: 7.862 MB / 0.6228 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005218/0.4, allocations: 31.41 kB / 0.6228 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.4006, allocations: 324.3 kB / 0.6231 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.4021, allocations: 0.9369 MB / 0.6241 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.4038, allocations: 0.9408 MB / 0.625 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003448/0.4072, allocations: 6.076 MB / 0.6309 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.4087, allocations: 1.801 MB / 0.6327 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.41, allocations: 1.328 MB / 0.634 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.4111, allocations: 1.297 MB / 0.6352 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.4112, allocations: 79.59 kB / 0.6353 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.4129, allocations: 1.133 MB / 0.6364 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.4131, allocations: 377.9 kB / 0.6368 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007544/0.4139, allocations: 0.9756 MB / 0.6377 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00263/0.4165, allocations: 3.468 MB / 0.6411 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4165, allocations: 4 kB / 0.6411 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4165, allocations: 0 / 0.6411 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.389e-05/0.4166, allocations: 0 / 0.6411 GB, free: 27.17 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.003075/0.4196, allocations: 2.145 MB / 0.6432 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4197, allocations: 9.688 kB / 0.6432 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002016/0.4199, allocations: 206.4 kB / 0.6434 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005694/0.4205, allocations: 238.2 kB / 0.6436 GB, free: 25.72 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.4224, allocations: 1.78 MB / 0.6454 GB, free: 24.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/0.4225, allocations: 115.3 kB / 0.6455 GB, free: 24.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.4227, allocations: 149.1 kB / 0.6456 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.4253, allocations: 1.989 MB / 0.6476 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.4253, allocations: 4.969 kB / 0.6476 GB, free: 23.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.4255, allocations: 57.94 kB / 0.6476 GB, free: 23.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/0.4255, allocations: 37.72 kB / 0.6477 GB, free: 23.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.4281, allocations: 1.798 MB / 0.6494 GB, free: 23.22 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.009895/0.438, allocations: 7.625 MB / 0.6569 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.4397, allocations: 1.442 MB / 0.6583 GB, free: 18.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008087/0.4405, allocations: 0.659 MB / 0.6589 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005319/0.4459, allocations: 3.839 MB / 0.6627 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.4459, allocations: 49.33 kB / 0.6627 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.124e-06/0.4459, allocations: 0 / 0.6627 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002059/0.448, allocations: 1.508 MB / 0.6642 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.448, allocations: 65.84 kB / 0.6643 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.4498, allocations: 1.609 MB / 0.6658 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.076e-05/0.4499, allocations: 48.48 kB / 0.6659 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004669/0.4504, allocations: 0.7602 MB / 0.6666 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.4506, allocations: 316.5 kB / 0.6669 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.4507, allocations: 130.2 kB / 0.667 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.4508, allocations: 368 kB / 0.6674 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000884/0.4517, allocations: 0.681 MB / 0.6681 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.4527, allocations: 1.021 MB / 0.6691 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.4544, allocations: 1.621 MB / 0.6706 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.4545, allocations: 2.75 kB / 0.6706 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00252/0.457, allocations: 1.956 MB / 0.6726 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.4571, allocations: 359.3 kB / 0.6729 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4571, allocations: 9.25 kB / 0.6729 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.4571, allocations: 15.94 kB / 0.6729 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.4583, allocations: 335.5 kB / 0.6732 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.4583, allocations: 21.59 kB / 0.6733 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.4594, allocations: 222.5 kB / 0.6735 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.4595, allocations: 60.19 kB / 0.6735 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/0.4596, allocations: 3.844 kB / 0.6735 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002216/0.4618, allocations: 1.794 MB / 0.6753 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.4618, allocations: 8.781 kB / 0.6753 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4618, allocations: 19.06 kB / 0.6753 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.4629, allocations: 337.4 kB / 0.6756 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.4629, allocations: 21.98 kB / 0.6757 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009166/0.4639, allocations: 182.4 kB / 0.6758 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/0.464, allocations: 62.44 kB / 0.6759 GB, free: 9.043 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.0008005/0.4648, allocations: 0.7591 MB / 0.6766 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.465, allocations: 152.3 kB / 0.6768 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.4667, allocations: 1.283 MB / 0.678 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.4667, allocations: 9.062 kB / 0.678 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4667, allocations: 1.125 kB / 0.678 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/0.4679, allocations: 1.287 MB / 0.6793 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/0.4712, allocations: 2.938 MB / 0.6822 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4713, allocations: 1.406 kB / 0.6822 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007003/0.472, allocations: 185 kB / 0.6823 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.472, allocations: 4.5 kB / 0.6823 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.472, allocations: 23.92 kB / 0.6824 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.472, allocations: 12.81 kB / 0.6824 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.472, allocations: 1.031 kB / 0.6824 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.4741, allocations: 1.914 MB / 0.6842 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/0.4746, allocations: 429.5 kB / 0.6847 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.4748, allocations: 22.25 kB / 0.6847 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007768/0.4756, allocations: 80.95 kB / 0.6848 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.4757, allocations: 62.45 kB / 0.6848 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.4758, allocations: 31.36 kB / 0.6848 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001285/0.4771, allocations: 1.209 MB / 0.686 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4771, allocations: 0 / 0.686 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002102/0.4792, allocations: 0.9093 MB / 0.6869 GB, free: 3.145 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.002654/0.4818, allocations: 2.716 MB / 0.6896 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002608/0.4845, allocations: 2.323 MB / 0.6918 GB, free: 328 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4845, allocations: 4.062 kB / 0.6918 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.485, allocations: 0.5168 MB / 0.6923 GB, free: 20 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003697/0.4887, allocations: 0.8819 MB / 0.6932 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02565/0.5144, allocations: 16.6 MB / 0.7094 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.5155, allocations: 1.686 MB / 0.7111 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002352/0.5179, allocations: 0.9089 MB / 0.712 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008284/0.5187, allocations: 0.6242 MB / 0.7126 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.5188, allocations: 4 kB / 0.7126 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7181/1.237, allocations: 47 MB / 0.7585 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/1.237, allocations: 268.3 kB / 0.7587 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/4.046, allocations: 0 / 0.7587 GB, free: 11.9 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)