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.001477/0.001477, allocations: 100.8 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.001639/0.001639, allocations: 189.6 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.242/1.242, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.728/0.728, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 59.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2868, allocations: 77.93 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02115/0.3079, allocations: 28.53 MB / 0.5952 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008037/0.316, allocations: 7.91 MB / 0.6029 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005937/0.3166, allocations: 38.34 kB / 0.6029 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007494/0.3174, allocations: 405 kB / 0.6033 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.3191, allocations: 1.014 MB / 0.6043 GB, free: 3.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.3209, allocations: 1.065 MB / 0.6053 GB, free: 3.188 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003132/0.324, allocations: 4.921 MB / 0.6101 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.3261, allocations: 2.275 MB / 0.6124 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/0.3285, allocations: 1.792 MB / 0.6141 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.3299, allocations: 1.451 MB / 0.6155 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.3302, allocations: 228 kB / 0.6157 GB, free: 9.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.3323, allocations: 1.314 MB / 0.617 GB, free: 7.754 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004767/0.3328, allocations: 0.5569 MB / 0.6176 GB, free: 7.195 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.3339, allocations: 1.155 MB / 0.6187 GB, free: 6.035 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.3369, allocations: 3.646 MB / 0.6223 GB, free: 2.379 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3369, allocations: 0 / 0.6223 GB, free: 2.379 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.337, allocations: 0 / 0.6223 GB, free: 2.379 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.337, 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.004006/0.341, allocations: 2.565 MB / 0.6248 GB, free: 15.75 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.341, allocations: 12.62 kB / 0.6248 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002378/0.3413, allocations: 214.9 kB / 0.625 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006928/0.342, allocations: 230.5 kB / 0.6252 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.3444, allocations: 1.726 MB / 0.6269 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.878e-05/0.3445, allocations: 110.7 kB / 0.627 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.3447, allocations: 148 kB / 0.6271 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.3474, allocations: 2.001 MB / 0.6291 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.3474, allocations: 7.906 kB / 0.6291 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.3476, allocations: 59.94 kB / 0.6292 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.3476, allocations: 36 kB / 0.6292 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.3501, allocations: 1.798 MB / 0.6309 GB, free: 9.293 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.009734/0.3599, allocations: 7.656 MB / 0.6384 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.3616, allocations: 1.44 MB / 0.6398 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008244/0.3624, allocations: 0.6756 MB / 0.6405 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00564/0.3681, allocations: 3.855 MB / 0.6442 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3681, allocations: 43.56 kB / 0.6443 GB, free: 10.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 1.944e-06/0.3681, allocations: 0 / 0.6443 GB, free: 10.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.002201/0.3704, allocations: 1.514 MB / 0.6458 GB, free: 9.445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.3704, allocations: 64.41 kB / 0.6458 GB, free: 9.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.3722, allocations: 1.641 MB / 0.6474 GB, free: 7.719 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.828e-05/0.3723, allocations: 49.7 kB / 0.6475 GB, free: 7.664 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005656/0.3729, allocations: 0.7537 MB / 0.6482 GB, free: 6.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.3731, allocations: 319.4 kB / 0.6485 GB, free: 6.586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/0.3735, allocations: 295.3 kB / 0.6488 GB, free: 6.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3737, allocations: 365.9 kB / 0.6492 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009489/0.3746, allocations: 0.6917 MB / 0.6498 GB, free: 5.234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.3758, allocations: 1.02 MB / 0.6508 GB, free: 4.082 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.3778, allocations: 1.628 MB / 0.6524 GB, free: 2.332 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.3778, allocations: 0 / 0.6524 GB, free: 2.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002764/0.3806, allocations: 1.947 MB / 0.6543 GB, free: 384 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3806, allocations: 8 kB / 0.6543 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.3806, allocations: 8 kB / 0.6543 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.3806, allocations: 16.72 kB / 0.6543 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3818, allocations: 339.5 kB / 0.6547 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.2e-05/0.3819, allocations: 27.98 kB / 0.6547 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009824/0.3829, allocations: 202 kB / 0.6549 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.383, allocations: 59.98 kB / 0.6549 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001577/0.3846, allocations: 1.28 MB / 0.6562 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00117/0.3857, allocations: 1.02 MB / 0.6572 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001951/0.3877, allocations: 1.62 MB / 0.6588 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.3877, allocations: 0 / 0.6588 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.00274/0.3905, allocations: 1.959 MB / 0.6607 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.3905, allocations: 8 kB / 0.6607 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.3905, allocations: 8 kB / 0.6607 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3905, allocations: 16 kB / 0.6607 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.3917, allocations: 335.5 kB / 0.661 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.3917, allocations: 23.92 kB / 0.6611 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009452/0.3927, allocations: 146.9 kB / 0.6612 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.3928, allocations: 59.98 kB / 0.6613 GB, free: 8.996 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.0002174/0.393, allocations: 260.1 kB / 0.6615 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.3933, allocations: 150.2 kB / 0.6616 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.3952, allocations: 1.285 MB / 0.6629 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.3952, allocations: 8 kB / 0.6629 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3952, allocations: 0 / 0.6629 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001402/0.3966, allocations: 1.288 MB / 0.6642 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/0.4003, allocations: 2.951 MB / 0.6671 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.4003, allocations: 4.125 kB / 0.6671 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007775/0.4011, allocations: 191.6 kB / 0.6672 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.4011, allocations: 4 kB / 0.6672 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/0.4012, allocations: 27.98 kB / 0.6673 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.4012, allocations: 4 kB / 0.6673 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4012, allocations: 3.938 kB / 0.6673 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.4036, allocations: 1.909 MB / 0.6691 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.4041, allocations: 406.8 kB / 0.6695 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.4043, allocations: 24 kB / 0.6696 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007534/0.4051, allocations: 55.88 kB / 0.6696 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.714e-05/0.4052, allocations: 52.86 kB / 0.6697 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.565e-05/0.4053, allocations: 39.98 kB / 0.6697 GB, free: 124 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001478/0.4068, allocations: 1.234 MB / 0.6709 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4068, allocations: 0 / 0.6709 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001889/0.4087, 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.003234/0.4119, allocations: 2.733 MB / 0.6745 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003983/0.4159, allocations: 2.825 MB / 0.6772 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4159, allocations: 4.062 kB / 0.6772 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006432/0.4166, allocations: 0.5209 MB / 0.6777 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/0.42, allocations: 0.9216 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.01893/0.439, allocations: 16.18 MB / 0.6944 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.4401, allocations: 1.686 MB / 0.6961 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002275/0.4424, allocations: 0.9109 MB / 0.697 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008728/0.4433, allocations: 0.6242 MB / 0.6976 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.4433, allocations: 3.938 kB / 0.6976 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07478/0.5181, allocations: 49.06 MB / 0.7455 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.431, allocations: 0 / 0.7455 GB, free: 2.395 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)