Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.138/2.138, allocations: 251 MB / 265.9 MB, free: 11.72 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.001595/0.001594, allocations: 185.1 kB / 325.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.393/2.393, allocations: 205.4 MB / 0.5764 GB, free: 20.85 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.001176/0.001176, allocations: 90.78 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004884, allocations: 11.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2261, allocations: 106.3 MB / 0.8988 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.638/7.864, allocations: 2.5 GB / 3.399 GB, free: 17.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/7.864, allocations: 109.4 kB / 3.399 GB, free: 17.45 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.361/17.23, allocations: 1.622 GB / 5.021 GB, free: 102.2 MB / 0.9324 GB Notification: Performance of FrontEnd: time 2.555e-06/17.23, allocations: 0 / 5.021 GB, free: 102.2 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.0004858/17.23, allocations: 72.84 kB / 5.021 GB, free: 102.2 MB / 0.9324 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01958/17.25, allocations: 3.437 MB / 5.025 GB, free: 100.5 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/17.25, allocations: 8.219 kB / 5.025 GB, free: 100.5 MB / 0.9324 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001303/17.25, allocations: 269.2 kB / 5.025 GB, free: 100.5 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008364/17.26, allocations: 0.6782 MB / 5.026 GB, free: 100.3 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/17.27, allocations: 2.796 MB / 5.028 GB, free: 99.73 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/17.27, allocations: 144.9 kB / 5.028 GB, free: 99.72 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009401/17.27, allocations: 194.5 kB / 5.029 GB, free: 99.72 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008698/17.28, allocations: 2.208 MB / 5.031 GB, free: 99.52 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/17.28, allocations: 3.5 kB / 5.031 GB, free: 99.52 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007225/17.28, allocations: 81.56 kB / 5.031 GB, free: 99.51 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/17.28, allocations: 82.22 kB / 5.031 GB, free: 99.5 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007504/17.29, allocations: 1.911 MB / 5.033 GB, free: 99.34 MB / 0.9324 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.02353/17.31, allocations: 9.125 MB / 5.042 GB, free: 93.29 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/17.31, allocations: 0.9541 MB / 5.043 GB, free: 92.88 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006897/17.32, allocations: 2.311 MB / 5.045 GB, free: 91.24 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/17.32, allocations: 43.38 kB / 5.045 GB, free: 91.19 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002419/17.32, allocations: 180.2 kB / 5.045 GB, free: 91.11 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=101): time 9.398e-06/17.32, allocations: 0 / 5.045 GB, free: 91.11 MB / 0.9324 GB Notification: Performance of matching and sorting (n=103): time 0.02036/17.34, allocations: 3.909 MB / 5.049 GB, free: 89.32 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/17.34, allocations: 60.25 kB / 5.049 GB, free: 89.26 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00848/17.35, allocations: 1.801 MB / 5.051 GB, free: 88.56 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.0005627/17.35, allocations: 49.52 kB / 5.051 GB, free: 88.52 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.002864/17.35, allocations: 1.184 MB / 5.052 GB, free: 87.58 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009012/17.36, allocations: 371.4 kB / 5.052 GB, free: 87.3 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/17.36, allocations: 27.62 kB / 5.052 GB, free: 87.28 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0002511/17.36, allocations: 363.1 kB / 5.053 GB, free: 86.95 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002463/17.36, allocations: 461.7 kB / 5.053 GB, free: 86.78 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/17.36, allocations: 1.049 MB / 5.054 GB, free: 85.87 MB / 0.9324 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01733/17.38, allocations: 2.124 MB / 5.056 GB, free: 85.29 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-05/17.38, allocations: 3.75 kB / 5.056 GB, free: 85.29 MB / 0.9324 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.006311/17.38, allocations: 1.77 MB / 5.058 GB, free: 84.25 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.0015/17.39, allocations: 5.968 MB / 5.064 GB, free: 77.77 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.384e-05/17.39, allocations: 15.94 kB / 5.064 GB, free: 77.76 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/17.39, allocations: 344.9 kB / 5.064 GB, free: 77.48 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/17.39, allocations: 295.1 kB / 5.064 GB, free: 77.23 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/17.39, allocations: 0.9696 MB / 5.065 GB, free: 76.29 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004175/17.4, allocations: 175.1 kB / 5.066 GB, free: 76.15 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004716/17.4, allocations: 77.72 kB / 5.066 GB, free: 76.08 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/17.4, allocations: 4 kB / 5.066 GB, free: 76.08 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004755/17.4, allocations: 1.52 MB / 5.067 GB, free: 74.71 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.928e-05/17.4, allocations: 16.94 kB / 5.067 GB, free: 74.69 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/17.41, allocations: 336.6 kB / 5.067 GB, free: 74.43 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/17.41, allocations: 285.2 kB / 5.068 GB, free: 74.18 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/17.41, allocations: 0.9751 MB / 5.069 GB, free: 73.23 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/17.41, allocations: 146.7 kB / 5.069 GB, free: 73.12 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004542/17.41, allocations: 75.84 kB / 5.069 GB, free: 73.05 MB / 0.9324 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (153): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.002259/17.42, allocations: 0.6555 MB / 5.069 GB, free: 72.42 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008176/17.42, allocations: 237.1 kB / 5.07 GB, free: 72.18 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004834/17.42, allocations: 1.403 MB / 5.071 GB, free: 70.91 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/17.42, allocations: 16 kB / 5.071 GB, free: 70.9 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/17.42, allocations: 0 / 5.071 GB, free: 70.9 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003146/17.42, allocations: 1.054 MB / 5.072 GB, free: 69.84 MB / 0.9324 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 postOpt removeSimpleEquations (simulation): time 0.01211/17.44, allocations: 3.776 MB / 5.076 GB, free: 65.93 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/17.44, allocations: 4 kB / 5.076 GB, free: 65.92 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/17.44, allocations: 179.8 kB / 5.076 GB, free: 65.75 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00248/17.44, allocations: 312.6 kB / 5.076 GB, free: 65.44 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002589/17.44, allocations: 27.98 kB / 5.076 GB, free: 65.41 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/17.44, allocations: 0.9347 MB / 5.077 GB, free: 64.45 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/17.44, allocations: 4 kB / 5.077 GB, free: 64.45 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005801/17.45, allocations: 2.571 MB / 5.08 GB, free: 61.64 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/17.45, allocations: 438 kB / 5.08 GB, free: 61.19 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009332/17.45, allocations: 27.98 kB / 5.08 GB, free: 61.16 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003228/17.46, allocations: 103.8 kB / 5.08 GB, free: 61.06 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/17.46, allocations: 76.8 kB / 5.08 GB, free: 60.98 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/17.46, allocations: 55.97 kB / 5.08 GB, free: 60.93 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.003984/17.46, allocations: 1.385 MB / 5.082 GB, free: 59.54 MB / 0.9324 GB Notification: Performance of sort global known variables: time 4.5e-07/17.46, allocations: 0 / 5.082 GB, free: 59.54 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.008352/17.47, allocations: 1.402 MB / 5.083 GB, free: 58.13 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * 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 (84): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01398/17.48, allocations: 8.143 MB / 5.091 GB, free: 49.65 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.006778/17.49, allocations: 1.996 MB / 5.093 GB, free: 47.66 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/17.49, allocations: 0 / 5.093 GB, free: 47.66 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/17.49, allocations: 0.5487 MB / 5.094 GB, free: 47.11 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01207/17.5, allocations: 1.309 MB / 5.095 GB, free: 45.86 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02289/17.53, allocations: 16.84 MB / 5.111 GB, free: 28.47 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/17.53, allocations: 1.73 MB / 5.113 GB, free: 26.71 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.00502/17.53, allocations: 0.5739 MB / 5.114 GB, free: 26.16 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002579/17.54, allocations: 0.9757 MB / 5.115 GB, free: 25.19 MB / 0.9324 GB Notification: Performance of SimCode: time 9.11e-07/17.54, allocations: 0 / 5.115 GB, free: 25.19 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.027/18.56, allocations: 111 MB / 5.223 GB, free: 117.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/18.56, allocations: 269.8 kB / 5.223 GB, free: 117.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/26.6, allocations: 0 / 5.223 GB, free: 117.5 MB / 0.948 GB