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: "" <> buildModelFMU(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IDEAS_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.0007267/0.0007269, allocations: 91.84 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.0046/0.0046, allocations: 169.9 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6934/0.6934, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.0002701, allocations: 12.17 kB / 0.5041 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3164, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02333/0.3397, allocations: 27.72 MB / 0.6108 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0092/0.349, allocations: 7.874 MB / 0.6185 GB, free: 9.25 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006937/0.3497, allocations: 29.38 kB / 0.6185 GB, free: 9.238 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007492/0.3505, allocations: 322.2 kB / 0.6188 GB, free: 8.969 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.3523, allocations: 0.9331 MB / 0.6197 GB, free: 8.215 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.3542, allocations: 0.937 MB / 0.6207 GB, free: 7.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004882/0.3591, allocations: 6.081 MB / 0.6266 GB, free: 4.152 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.3609, allocations: 1.796 MB / 0.6284 GB, free: 2.586 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.3626, allocations: 1.326 MB / 0.6297 GB, free: 1.254 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.3639, allocations: 1.303 MB / 0.6309 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.3641, allocations: 80 kB / 0.631 GB, free: 15.87 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.3659, allocations: 1.139 MB / 0.6321 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.3662, allocations: 374.3 kB / 0.6325 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008376/0.3671, allocations: 0.9772 MB / 0.6334 GB, free: 13.37 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.3698, allocations: 3.458 MB / 0.6368 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3698, allocations: 0 / 0.6368 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3698, allocations: 4 kB / 0.6368 GB, free: 9.898 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.3699, allocations: 4 kB / 0.6368 GB, free: 9.895 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.003403/0.3733, allocations: 2.133 MB / 0.6389 GB, free: 7.707 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3733, allocations: 12.03 kB / 0.6389 GB, free: 7.695 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002289/0.3735, allocations: 218.9 kB / 0.6391 GB, free: 7.473 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005896/0.3741, allocations: 226.5 kB / 0.6393 GB, free: 7.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.3764, allocations: 1.772 MB / 0.6411 GB, free: 5.422 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.282e-05/0.3765, allocations: 126.7 kB / 0.6412 GB, free: 5.297 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.3767, allocations: 152 kB / 0.6413 GB, free: 5.148 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.3792, allocations: 1.99 MB / 0.6433 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.3793, allocations: 3.938 kB / 0.6433 GB, free: 3.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.3794, allocations: 60 kB / 0.6433 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/0.3794, allocations: 39.98 kB / 0.6434 GB, free: 2.992 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.3817, allocations: 1.798 MB / 0.6451 GB, free: 1.188 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.008582/0.3903, allocations: 7.621 MB / 0.6526 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.3919, allocations: 1.44 MB / 0.654 GB, free: 7.801 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007616/0.3927, allocations: 0.6768 MB / 0.6546 GB, free: 7.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004949/0.3976, allocations: 3.839 MB / 0.6584 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.3976, allocations: 47.55 kB / 0.6584 GB, free: 2.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 1.994e-06/0.3977, allocations: 0 / 0.6584 GB, free: 2.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.001936/0.3996, allocations: 1.514 MB / 0.6599 GB, free: 1.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.3996, allocations: 60.41 kB / 0.66 GB, free: 1.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.4013, allocations: 1.602 MB / 0.6615 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.4014, allocations: 49.7 kB / 0.6616 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000515/0.4019, allocations: 0.7614 MB / 0.6623 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.4021, allocations: 307.6 kB / 0.6626 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.4023, allocations: 129.6 kB / 0.6627 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4024, allocations: 369.8 kB / 0.6631 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008563/0.4033, allocations: 0.6869 MB / 0.6638 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.4043, allocations: 1.02 MB / 0.6648 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.4061, allocations: 1.616 MB / 0.6663 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4061, allocations: 0 / 0.6663 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002479/0.4086, allocations: 1.959 MB / 0.6682 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.4088, allocations: 357.2 kB / 0.6686 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4088, allocations: 12 kB / 0.6686 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.4088, allocations: 19.98 kB / 0.6686 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.4099, allocations: 331.5 kB / 0.6689 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.41, allocations: 27.86 kB / 0.669 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009685/0.4109, allocations: 218.1 kB / 0.6692 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.501e-05/0.411, allocations: 59.98 kB / 0.6692 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.593e-06/0.411, allocations: 5.562 kB / 0.6692 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00223/0.4133, allocations: 1.792 MB / 0.671 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.4133, allocations: 12.06 kB / 0.671 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4133, allocations: 16 kB / 0.671 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.4144, allocations: 331.5 kB / 0.6713 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.4144, allocations: 23.92 kB / 0.6713 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008862/0.4153, allocations: 190.5 kB / 0.6715 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.192e-05/0.4154, allocations: 63.92 kB / 0.6716 GB, free: 4.988 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.0007017/0.4161, allocations: 0.758 MB / 0.6723 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.4163, allocations: 154.1 kB / 0.6725 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.4181, allocations: 1.283 MB / 0.6737 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.4181, allocations: 12 kB / 0.6737 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4181, allocations: 4.062 kB / 0.6737 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001267/0.4194, allocations: 1.284 MB / 0.675 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.4227, allocations: 2.939 MB / 0.6779 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.4227, allocations: 4 kB / 0.6779 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/0.4234, allocations: 179.8 kB / 0.678 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.4234, allocations: 4 kB / 0.678 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.4235, allocations: 27.98 kB / 0.6781 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4235, allocations: 4 kB / 0.6781 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4235, allocations: 8.062 kB / 0.6781 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.4256, allocations: 1.913 MB / 0.68 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/0.4261, allocations: 430.8 kB / 0.6804 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.4263, allocations: 16 kB / 0.6804 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007403/0.4271, allocations: 79.77 kB / 0.6805 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.784e-05/0.4272, allocations: 60.86 kB / 0.6805 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/0.4272, allocations: 31.98 kB / 0.6805 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001276/0.4285, allocations: 1.21 MB / 0.6817 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4285, allocations: 0 / 0.6817 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001662/0.4302, allocations: 0.9045 MB / 0.6826 GB, free: 9.457 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 (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.002839/0.433, allocations: 2.715 MB / 0.6853 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.4357, allocations: 2.321 MB / 0.6875 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4357, allocations: 448 / 0.6875 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.4363, allocations: 0.5209 MB / 0.688 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/0.4397, allocations: 0.8661 MB / 0.6889 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/0.4631, allocations: 16.62 MB / 0.7051 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.4641, allocations: 1.686 MB / 0.7068 GB, free: 72 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002001/0.4661, allocations: 0.9093 MB / 0.7076 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007648/0.4669, allocations: 0.6243 MB / 0.7083 GB, free: 14.55 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.4669, allocations: 0 / 0.7083 GB, free: 14.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.787/2.253, allocations: 47 MB / 0.7542 GB, free: 116 kB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/2.254, allocations: 262.7 kB / 0.7544 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/4.979, allocations: 0 / 0.7544 GB, free: 15.86 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)