Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 171 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009059/0.0009058, allocations: 96.36 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003827, allocations: 9.375 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2489, allocations: 106.3 MB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9995/1.248, allocations: 401.6 MB / 1.292 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.249, allocations: 101.1 kB / 1.292 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.34/2.589, allocations: 402.2 MB / 1.685 GB, free: 66.22 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.384e-06/2.589, allocations: 0 / 1.685 GB, free: 66.22 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002752/2.589, allocations: 47.98 kB / 1.685 GB, free: 66.18 MB / 0.8855 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.006792/2.596, allocations: 2.226 MB / 1.687 GB, free: 63.89 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/2.596, allocations: 12.03 kB / 1.687 GB, free: 63.88 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007149/2.597, allocations: 214.8 kB / 1.688 GB, free: 63.66 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/2.598, allocations: 221.5 kB / 1.688 GB, free: 63.44 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004572/2.602, allocations: 2.072 MB / 1.69 GB, free: 61.31 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/2.602, allocations: 114.7 kB / 1.69 GB, free: 61.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/2.603, allocations: 159.9 kB / 1.69 GB, free: 61.04 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/2.605, allocations: 1.869 MB / 1.692 GB, free: 59.11 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/2.605, allocations: 4 kB / 1.692 GB, free: 59.11 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/2.606, allocations: 56 kB / 1.692 GB, free: 59.05 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/2.606, allocations: 36 kB / 1.692 GB, free: 59.02 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/2.608, allocations: 1.693 MB / 1.694 GB, free: 57.32 MB / 0.8855 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.01118/2.619, allocations: 7.523 MB / 1.701 GB, free: 49.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/2.621, allocations: 1.322 MB / 1.702 GB, free: 48.17 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006099/2.627, allocations: 3.749 MB / 1.706 GB, free: 44.11 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/2.627, allocations: 47.5 kB / 1.706 GB, free: 44.06 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=86): time 2.975e-06/2.627, allocations: 0 / 1.706 GB, free: 44.06 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86): time 0.002074/2.629, allocations: 1.455 MB / 1.707 GB, free: 42.59 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/2.629, allocations: 60.41 kB / 1.708 GB, free: 42.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/2.631, allocations: 1.508 MB / 1.709 GB, free: 41.01 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.692e-05/2.631, allocations: 49.7 kB / 1.709 GB, free: 40.95 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/2.632, allocations: 0.7611 MB / 1.71 GB, free: 40.18 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/2.632, allocations: 311.6 kB / 1.71 GB, free: 39.88 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/2.632, allocations: 24 kB / 1.71 GB, free: 39.85 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001042/2.632, allocations: 365.9 kB / 1.71 GB, free: 39.49 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008112/2.633, allocations: 0.6714 MB / 1.711 GB, free: 38.82 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009361/2.634, allocations: 1.01 MB / 1.712 GB, free: 37.67 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009772/2.635, allocations: 0.854 MB / 1.713 GB, free: 36.82 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/2.635, allocations: 4 kB / 1.713 GB, free: 36.81 MB / 0.8855 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002611/2.637, allocations: 1.928 MB / 1.715 GB, free: 34.88 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007169/2.638, allocations: 3.52 MB / 1.718 GB, free: 31.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/2.638, allocations: 11.94 kB / 1.718 GB, free: 31.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/2.638, allocations: 19.95 kB / 1.718 GB, free: 31.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/2.639, allocations: 351.5 kB / 1.719 GB, free: 30.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.391e-05/2.639, allocations: 23.94 kB / 1.719 GB, free: 30.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/2.641, allocations: 221.9 kB / 1.719 GB, free: 30.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/2.641, allocations: 59.98 kB / 1.719 GB, free: 30.45 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/2.641, allocations: 9.406 kB / 1.719 GB, free: 30.44 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002138/2.643, allocations: 1.771 MB / 1.721 GB, free: 28.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/2.643, allocations: 12.91 kB / 1.721 GB, free: 28.65 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/2.643, allocations: 16 kB / 1.721 GB, free: 28.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/2.644, allocations: 351.5 kB / 1.721 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/2.644, allocations: 23.92 kB / 1.721 GB, free: 28.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/2.646, allocations: 190.5 kB / 1.721 GB, free: 28.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/2.646, allocations: 59.98 kB / 1.721 GB, free: 28.02 MB / 0.8855 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 (176): * Single equations (assignments): 176 * 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.001464/2.648, allocations: 0.7502 MB / 1.722 GB, free: 27.26 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/2.648, allocations: 150.2 kB / 1.722 GB, free: 27.11 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/2.65, allocations: 1.215 MB / 1.723 GB, free: 25.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/2.65, allocations: 8 kB / 1.723 GB, free: 25.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/2.65, allocations: 3.984 kB / 1.723 GB, free: 25.87 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/2.651, allocations: 1.253 MB / 1.725 GB, free: 24.54 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/2.655, allocations: 2.876 MB / 1.727 GB, free: 21.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/2.655, allocations: 4 kB / 1.727 GB, free: 21.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007327/2.656, allocations: 179.7 kB / 1.728 GB, free: 21.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/2.656, allocations: 4 kB / 1.728 GB, free: 21.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/2.656, allocations: 23.98 kB / 1.728 GB, free: 21.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/2.656, allocations: 4 kB / 1.728 GB, free: 21.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/2.656, allocations: 0 / 1.728 GB, free: 21.37 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/2.658, allocations: 1.905 MB / 1.729 GB, free: 19.41 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008751/2.659, allocations: 422.7 kB / 1.73 GB, free: 18.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/2.659, allocations: 31.92 kB / 1.73 GB, free: 18.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007825/2.66, allocations: 67.78 kB / 1.73 GB, free: 18.88 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/2.66, allocations: 52.92 kB / 1.73 GB, free: 18.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.017e-05/2.66, allocations: 35.98 kB / 1.73 GB, free: 18.79 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00154/2.661, allocations: 1.249 MB / 1.731 GB, free: 17.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/2.661, allocations: 0 / 1.731 GB, free: 17.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002527/2.664, allocations: 0.9513 MB / 1.732 GB, free: 16.59 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (88): * Single equations (assignments): 86 * 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.003147/2.667, allocations: 3.037 MB / 1.735 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002995/2.67, allocations: 2.294 MB / 1.737 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/2.67, allocations: 8.062 kB / 1.737 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005557/2.671, allocations: 0.5052 MB / 1.738 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/2.674, allocations: 0.8435 MB / 1.739 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4981/3.172, allocations: 11.5 MB / 1.75 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/3.173, allocations: 1.691 MB / 1.752 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003134/3.177, allocations: 0.9029 MB / 1.752 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009821/3.178, allocations: 0.6153 MB / 1.753 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of SimCode: time 8.61e-07/3.178, allocations: 0.5469 kB / 1.753 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09237/3.27, allocations: 50.42 MB / 1.802 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/3.27, allocations: 260.5 kB / 1.803 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.611/6.881, allocations: 0 / 1.803 GB, free: 226.8 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)