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.0008469/0.0008468, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008791/0.0008791, allocations: 172.7 kB / 15.95 MB, free: 208 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.424/1.424, allocations: 223.2 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9623/0.9623, allocations: 135.3 MB / 426.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003397, allocations: 8.219 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1589, allocations: 82.32 MB / 0.5875 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.3675/0.5264, allocations: 26.22 MB / 0.6131 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.5377, allocations: 7.385 MB / 0.6203 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.5391, allocations: 29 kB / 0.6203 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.5403, allocations: 288 kB / 0.6206 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003318/0.5436, allocations: 0.8038 MB / 0.6214 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003748/0.5474, allocations: 0.7811 MB / 0.6221 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007718/0.5551, allocations: 5.25 MB / 0.6273 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.5581, allocations: 1.614 MB / 0.6288 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.561, allocations: 1.322 MB / 0.6301 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.5634, allocations: 1.231 MB / 0.6313 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005439/0.564, allocations: 78.81 kB / 0.6314 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.5672, allocations: 0.9833 MB / 0.6324 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006538/0.5679, allocations: 355.2 kB / 0.6327 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009674/0.5688, allocations: 422.8 kB / 0.6331 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003628/0.5725, allocations: 2.828 MB / 0.6359 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5725, allocations: 0 / 0.6359 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5725, allocations: 0 / 0.6359 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001235/0.5726, allocations: 0 / 0.6359 GB, free: 29.55 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.005464/0.5781, allocations: 2.152 MB / 0.638 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.5782, allocations: 11.34 kB / 0.638 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006274/0.5788, allocations: 210.2 kB / 0.6382 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.58, allocations: 236.4 kB / 0.6384 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003551/0.5836, allocations: 1.727 MB / 0.6401 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.5837, allocations: 113.6 kB / 0.6402 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004255/0.5841, allocations: 156.8 kB / 0.6404 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003741/0.5879, allocations: 1.98 MB / 0.6423 GB, free: 26.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.5879, allocations: 3.125 kB / 0.6423 GB, free: 26.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.5881, allocations: 63.78 kB / 0.6424 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/0.5881, allocations: 44.06 kB / 0.6424 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.5907, allocations: 1.78 MB / 0.6441 GB, free: 25.71 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.0131/0.6038, allocations: 7.624 MB / 0.6516 GB, free: 21.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.606, allocations: 1.434 MB / 0.653 GB, free: 20.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009615/0.607, allocations: 0.6641 MB / 0.6536 GB, free: 20.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006306/0.6133, allocations: 3.832 MB / 0.6574 GB, free: 18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.6134, allocations: 49.94 kB / 0.6574 GB, free: 17.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.865e-06/0.6134, allocations: 0 / 0.6574 GB, free: 17.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002644/0.616, allocations: 1.506 MB / 0.6589 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.6161, allocations: 60.41 kB / 0.659 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/0.619, allocations: 1.593 MB / 0.6605 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.6191, allocations: 49.06 kB / 0.6606 GB, free: 16.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006892/0.6198, allocations: 0.7606 MB / 0.6613 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/0.6201, allocations: 313.7 kB / 0.6616 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/0.6202, allocations: 26.25 kB / 0.6616 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6204, allocations: 368.3 kB / 0.662 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.6216, allocations: 0.6747 MB / 0.6626 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.6229, allocations: 1.016 MB / 0.6636 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.6244, allocations: 0.8668 MB / 0.6645 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.6244, allocations: 3.25 kB / 0.6645 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003572/0.628, allocations: 1.937 MB / 0.6664 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002029/0.6282, allocations: 361.7 kB / 0.6667 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.6282, allocations: 13.39 kB / 0.6667 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.863e-05/0.6283, allocations: 16.88 kB / 0.6667 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.6296, allocations: 335.9 kB / 0.6671 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.581e-05/0.6296, allocations: 21.59 kB / 0.6671 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.6311, allocations: 213.9 kB / 0.6673 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/0.6313, allocations: 61.2 kB / 0.6673 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.6313, allocations: 4.922 kB / 0.6673 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002972/0.6343, allocations: 1.785 MB / 0.6691 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.6343, allocations: 20.3 kB / 0.6691 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.6344, allocations: 22.39 kB / 0.6691 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.6356, allocations: 334.5 kB / 0.6694 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.34e-05/0.6357, allocations: 23.48 kB / 0.6695 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.637, allocations: 184.7 kB / 0.6696 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.6372, allocations: 62.09 kB / 0.6697 GB, free: 12.22 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.001292/0.6385, allocations: 0.7604 MB / 0.6704 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004578/0.6389, allocations: 155.1 kB / 0.6706 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.6412, allocations: 1.281 MB / 0.6718 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.6413, allocations: 10.53 kB / 0.6719 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6413, allocations: 0 / 0.6719 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001449/0.6427, allocations: 1.284 MB / 0.6731 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004782/0.6475, allocations: 2.929 MB / 0.676 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.6476, allocations: 5.688 kB / 0.676 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.6484, allocations: 183.2 kB / 0.6762 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/0.6484, allocations: 4.406 kB / 0.6762 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.98e-05/0.6485, allocations: 23.98 kB / 0.6762 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.6485, allocations: 8.344 kB / 0.6762 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6485, allocations: 3.562 kB / 0.6762 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.6511, allocations: 1.906 MB / 0.6781 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008393/0.652, allocations: 427.4 kB / 0.6785 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/0.6524, allocations: 23.44 kB / 0.6785 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009926/0.6534, allocations: 84.58 kB / 0.6786 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/0.6535, allocations: 51.08 kB / 0.6786 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-05/0.6536, allocations: 34.55 kB / 0.6786 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001825/0.6554, allocations: 1.191 MB / 0.6798 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6554, allocations: 4 kB / 0.6798 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003046/0.6585, allocations: 0.9044 MB / 0.6807 GB, free: 6.891 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 (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.003321/0.6618, allocations: 2.7 MB / 0.6833 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003653/0.6655, allocations: 2.307 MB / 0.6856 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6655, allocations: 0 / 0.6856 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006208/0.6661, allocations: 0.5213 MB / 0.6861 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/0.6697, allocations: 0.8726 MB / 0.6869 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/0.6951, allocations: 12.46 MB / 0.6991 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/0.6966, allocations: 1.678 MB / 0.7008 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002832/0.6995, allocations: 0.9068 MB / 0.7016 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009911/0.7005, allocations: 0.6164 MB / 0.7022 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of SimCode: time 2.615e-06/0.7005, allocations: 0 / 0.7022 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07952/0.78, allocations: 49.41 MB / 0.7505 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.7802, allocations: 252.2 kB / 0.7507 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/3.55, allocations: 3.797 kB / 0.7507 GB, free: 3.801 MB / 0.5606 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/linux/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) Environment - environmentSimulation: