Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 288.2 MB / 303.2 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 173.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.4 MB / 0.6305 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008979/0.0008976, allocations: 89.61 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004282/0.0004283, allocations: 20.06 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2813, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01991/0.3012, allocations: 24.01 MB / 1.003 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.3113, allocations: 6.798 MB / 1.01 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.3127, allocations: 27.81 kB / 1.01 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.314, allocations: 397.9 kB / 1.01 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.3172, allocations: 1.007 MB / 1.011 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003926/0.3212, allocations: 1.089 MB / 1.012 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003966/0.3251, allocations: 2.694 MB / 1.015 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/0.3273, allocations: 1.613 MB / 1.016 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002255/0.3296, allocations: 1.168 MB / 1.017 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.3312, allocations: 0.9295 MB / 1.018 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.3314, allocations: 80 kB / 1.018 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.3341, allocations: 0.8504 MB / 1.019 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.3345, allocations: 342.7 kB / 1.02 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006284/0.3351, allocations: 424.7 kB / 1.02 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.3384, allocations: 2.755 MB / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3384, allocations: 0 / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.306e-06/0.3385, allocations: 0 / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.673e-05/0.3386, allocations: 0 / 1.023 GB, free: 15.34 MB / 0.6511 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.004873/0.3434, allocations: 2.129 MB / 1.025 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3435, allocations: 8.031 kB / 1.025 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003495/0.3438, allocations: 214.7 kB / 1.025 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007231/0.3446, allocations: 237.5 kB / 1.025 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/0.3477, allocations: 1.605 MB / 1.027 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.745e-05/0.3479, allocations: 110.7 kB / 1.027 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.3481, allocations: 159.9 kB / 1.027 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/0.3516, allocations: 1.97 MB / 1.029 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.3517, allocations: 4 kB / 1.029 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.3518, allocations: 60 kB / 1.029 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/0.3519, allocations: 36 kB / 1.029 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002888/0.3548, allocations: 1.794 MB / 1.031 GB, free: 6.832 MB / 0.6511 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.01342/0.3682, allocations: 7.687 MB / 1.038 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.3706, allocations: 1.46 MB / 1.04 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008051/0.3787, allocations: 3.874 MB / 1.043 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.3788, allocations: 47.56 kB / 1.043 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 2.495e-06/0.3788, allocations: 0 / 1.043 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.002473/0.3813, allocations: 1.498 MB / 1.045 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.3813, allocations: 68.34 kB / 1.045 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.3837, allocations: 1.663 MB / 1.047 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.3838, allocations: 49.7 kB / 1.047 GB, free: 5.789 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000845/0.3846, allocations: 0.7496 MB / 1.047 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.385, allocations: 319.5 kB / 1.048 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.3851, allocations: 24 kB / 1.048 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.3853, allocations: 369.9 kB / 1.048 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.3863, allocations: 0.6753 MB / 1.049 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.3876, allocations: 1.016 MB / 1.05 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.3889, allocations: 0.865 MB / 1.051 GB, free: 1.637 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.3889, allocations: 4 kB / 1.051 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003115/0.392, allocations: 1.932 MB / 1.052 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001473/0.3935, allocations: 3.526 MB / 1.056 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.3936, allocations: 8 kB / 1.056 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.559e-05/0.3936, allocations: 20 kB / 1.056 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.3949, allocations: 343.5 kB / 1.056 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-05/0.3949, allocations: 23.88 kB / 1.056 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.3966, allocations: 229.9 kB / 1.057 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.3968, allocations: 63.98 kB / 1.057 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.3968, allocations: 7.938 kB / 1.057 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002603/0.3994, allocations: 1.78 MB / 1.058 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3994, allocations: 8.062 kB / 1.058 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3995, allocations: 20 kB / 1.058 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.4007, allocations: 351.4 kB / 1.059 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/0.4007, allocations: 19.94 kB / 1.059 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.4021, allocations: 195 kB / 1.059 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.4022, allocations: 52 kB / 1.059 GB, free: 8.832 MB / 0.6823 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.001754/0.404, allocations: 0.7542 MB / 1.06 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004647/0.4045, allocations: 150.1 kB / 1.06 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.4066, allocations: 1.277 MB / 1.061 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.4067, allocations: 27.88 kB / 1.061 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4067, allocations: 4 kB / 1.061 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001446/0.4081, allocations: 1.277 MB / 1.062 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004849/0.413, allocations: 2.947 MB / 1.065 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.413, allocations: 7.953 kB / 1.065 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007694/0.4138, allocations: 183.8 kB / 1.065 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.4138, allocations: 4 kB / 1.065 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/0.4139, allocations: 23.98 kB / 1.065 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.4139, allocations: 4 kB / 1.065 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4139, allocations: 0 / 1.065 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5755/0.9894, allocations: 1.965 MB / 1.067 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/0.9911, allocations: 445.3 kB / 1.068 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.9913, allocations: 20.58 kB / 1.068 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009513/0.9923, allocations: 79.38 kB / 1.068 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.9924, allocations: 54.72 kB / 1.068 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.692e-05/0.9925, allocations: 35.5 kB / 1.068 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002452/0.995, allocations: 1.252 MB / 1.069 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.1e-07/0.995, allocations: 0 / 1.069 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002669/0.9977, allocations: 0.916 MB / 1.07 GB, free: 86.71 MB / 0.6823 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.003978/1.002, allocations: 3.027 MB / 1.073 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004284/1.006, allocations: 2.308 MB / 1.075 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.006, allocations: 5 kB / 1.075 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008953/1.007, allocations: 0.5148 MB / 1.076 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004257/1.011, allocations: 0.8576 MB / 1.077 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009868/1.021, allocations: 11.52 MB / 1.088 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/1.023, allocations: 1.698 MB / 1.09 GB, free: 74.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003425/1.026, allocations: 0.9252 MB / 1.09 GB, free: 74.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009399/1.027, allocations: 0.6079 MB / 1.091 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/1.027, allocations: 0 / 1.091 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09175/1.119, allocations: 48.94 MB / 1.139 GB, free: 43.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/1.119, allocations: 262 kB / 1.139 GB, free: 43.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.531/4.649, allocations: 0 / 1.139 GB, free: 43.46 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)