Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IBPSA_latest_IBPSA_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.001334/0.001334, allocations: 102.2 kB / 16.27 MB, free: 5.93 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.00107/0.00107, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.294/1.294, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7403/0.7403, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.89 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2788, allocations: 77.92 MB / 0.5673 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02198/0.3008, allocations: 28.54 MB / 0.5952 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008004/0.3089, allocations: 7.899 MB / 0.6029 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/0.3095, allocations: 39.25 kB / 0.6029 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000705/0.3102, allocations: 405 kB / 0.6033 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.3117, allocations: 1.018 MB / 0.6043 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.3134, allocations: 1.058 MB / 0.6053 GB, free: 3.359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002838/0.3162, allocations: 4.924 MB / 0.6101 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.3181, allocations: 2.287 MB / 0.6124 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.3202, allocations: 1.778 MB / 0.6141 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.3214, allocations: 1.455 MB / 0.6155 GB, free: 9.297 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.3217, allocations: 232 kB / 0.6157 GB, free: 9.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.3236, allocations: 1.314 MB / 0.617 GB, free: 7.754 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.324, allocations: 0.553 MB / 0.6176 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009315/0.3249, allocations: 1.155 MB / 0.6187 GB, free: 6.039 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.3276, allocations: 3.646 MB / 0.6223 GB, free: 2.383 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3277, allocations: 3.984 kB / 0.6223 GB, free: 2.379 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.3277, allocations: 0 / 0.6223 GB, free: 2.379 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.3277, allocations: 0 / 0.6223 GB, free: 2.379 MB / 462.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.003617/0.3313, allocations: 2.565 MB / 0.6248 GB, free: 15.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3314, allocations: 16.61 kB / 0.6248 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002126/0.3316, allocations: 210.9 kB / 0.625 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006291/0.3322, allocations: 226.5 kB / 0.6252 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.3344, allocations: 1.724 MB / 0.6269 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/0.3344, allocations: 118.7 kB / 0.627 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.3346, allocations: 152 kB / 0.6271 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.337, allocations: 1.99 MB / 0.6291 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.3371, allocations: 11.84 kB / 0.6291 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.3372, allocations: 56 kB / 0.6291 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/0.3373, allocations: 43.92 kB / 0.6292 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.3395, allocations: 1.794 MB / 0.6309 GB, free: 9.297 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.008547/0.3481, allocations: 7.652 MB / 0.6384 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.3496, allocations: 1.44 MB / 0.6398 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007416/0.3504, allocations: 0.6716 MB / 0.6405 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00494/0.3553, allocations: 3.855 MB / 0.6442 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.3554, allocations: 47.5 kB / 0.6443 GB, free: 10.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.064e-06/0.3554, allocations: 0 / 0.6443 GB, free: 10.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.001958/0.3573, allocations: 1.514 MB / 0.6458 GB, free: 9.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.3574, allocations: 60.41 kB / 0.6458 GB, free: 9.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.359, allocations: 1.645 MB / 0.6474 GB, free: 7.727 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-05/0.3591, allocations: 45.7 kB / 0.6475 GB, free: 7.676 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004951/0.3596, allocations: 0.7576 MB / 0.6482 GB, free: 6.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.3598, allocations: 323.4 kB / 0.6485 GB, free: 6.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/0.3601, allocations: 295.3 kB / 0.6488 GB, free: 6.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3602, allocations: 357.9 kB / 0.6491 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008536/0.3611, allocations: 0.6995 MB / 0.6498 GB, free: 5.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.3621, allocations: 1.02 MB / 0.6508 GB, free: 4.086 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.3639, allocations: 1.62 MB / 0.6524 GB, free: 2.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3639, allocations: 0 / 0.6524 GB, free: 2.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002465/0.3664, allocations: 1.959 MB / 0.6543 GB, free: 384 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3664, allocations: 8 kB / 0.6543 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3664, allocations: 12 kB / 0.6543 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.3664, allocations: 16 kB / 0.6544 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.3675, allocations: 336.1 kB / 0.6547 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-05/0.3675, allocations: 19.98 kB / 0.6547 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008875/0.3684, allocations: 202 kB / 0.6549 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/0.3685, allocations: 63.97 kB / 0.6549 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001381/0.3699, allocations: 1.281 MB / 0.6562 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001032/0.371, allocations: 1.016 MB / 0.6572 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001717/0.3727, allocations: 1.624 MB / 0.6588 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/0.3727, allocations: 0 / 0.6588 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002452/0.3752, allocations: 1.959 MB / 0.6607 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.3752, allocations: 11.94 kB / 0.6607 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3752, allocations: 8 kB / 0.6607 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3752, allocations: 16 kB / 0.6607 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.3763, allocations: 331.5 kB / 0.661 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.3763, allocations: 19.94 kB / 0.6611 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008444/0.3771, allocations: 150.9 kB / 0.6612 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.3772, allocations: 59.98 kB / 0.6613 GB, free: 9 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.0001905/0.3774, allocations: 264 kB / 0.6615 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.3777, allocations: 146.2 kB / 0.6617 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.3794, allocations: 1.288 MB / 0.6629 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.3794, allocations: 8 kB / 0.6629 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3794, allocations: 4 kB / 0.6629 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/0.3806, allocations: 1.281 MB / 0.6642 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.3839, allocations: 2.959 MB / 0.6671 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3839, allocations: 0 / 0.6671 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006989/0.3846, allocations: 191.9 kB / 0.6672 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3846, allocations: 7.938 kB / 0.6673 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/0.3847, allocations: 20 kB / 0.6673 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.3847, allocations: 12.05 kB / 0.6673 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3847, allocations: 3.938 kB / 0.6673 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.3868, allocations: 1.913 MB / 0.6692 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/0.3873, allocations: 402.8 kB / 0.6695 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.3875, allocations: 23.98 kB / 0.6696 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/0.3882, allocations: 47.89 kB / 0.6696 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.3883, allocations: 56.86 kB / 0.6697 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.3883, allocations: 31.98 kB / 0.6697 GB, free: 136 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001292/0.3896, allocations: 1.246 MB / 0.6709 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3896, allocations: 0 / 0.6709 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001625/0.3913, allocations: 0.9163 MB / 0.6718 GB, free: 13.97 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.002801/0.3941, allocations: 2.725 MB / 0.6745 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003511/0.3976, allocations: 2.829 MB / 0.6772 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3976, allocations: 0 / 0.6772 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005846/0.3982, allocations: 0.5211 MB / 0.6777 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/0.4013, allocations: 0.9302 MB / 0.6786 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.4174, allocations: 16.17 MB / 0.6944 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009514/0.4184, allocations: 1.678 MB / 0.6961 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001931/0.4204, allocations: 0.9188 MB / 0.697 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/0.4211, allocations: 0.6164 MB / 0.6976 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.4211, allocations: 0 / 0.6976 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.226/2.647, allocations: 49.06 MB / 0.7455 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/14.51, allocations: 4 kB / 0.7455 GB, free: 2.402 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)