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.405/2.405, allocations: 248.5 MB / 261 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.001559, allocations: 196.6 kB / 320.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001166/0.001165, allocations: 102 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.027e-05/5.04e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2193, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.326/8.546, allocations: 2.5 GB / 3.39 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/8.546, allocations: 98.69 kB / 3.391 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.033/17.58, allocations: 1.62 GB / 5.011 GB, free: 95.05 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.755e-06/17.58, allocations: 0 / 5.011 GB, free: 95.05 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0006398/17.58, allocations: 68.97 kB / 5.011 GB, free: 95.04 MB / 0.9323 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.02003/17.6, allocations: 2.866 MB / 5.014 GB, free: 93.92 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/17.6, allocations: 9.062 kB / 5.014 GB, free: 93.92 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001443/17.6, allocations: 263.1 kB / 5.014 GB, free: 93.88 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/17.61, allocations: 0.6694 MB / 5.015 GB, free: 93.72 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/17.63, allocations: 2.779 MB / 5.017 GB, free: 93.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/17.63, allocations: 147 kB / 5.017 GB, free: 93.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/17.63, allocations: 195.5 kB / 5.018 GB, free: 93.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007137/17.64, allocations: 2.16 MB / 5.02 GB, free: 93.09 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.617e-05/17.64, allocations: 5 kB / 5.02 GB, free: 93.09 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003148/17.64, allocations: 75.16 kB / 5.02 GB, free: 93.09 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/17.64, allocations: 78.5 kB / 5.02 GB, free: 93.09 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00635/17.64, allocations: 1.853 MB / 5.022 GB, free: 93.07 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.01997/17.66, allocations: 9.117 MB / 5.031 GB, free: 89.23 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/17.67, allocations: 0.9396 MB / 5.032 GB, free: 89.19 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/17.67, allocations: 0.5607 MB / 5.032 GB, free: 89.17 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005673/17.67, allocations: 2.316 MB / 5.034 GB, free: 88.08 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/17.67, allocations: 40.66 kB / 5.034 GB, free: 88.04 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001941/17.67, allocations: 172.7 kB / 5.035 GB, free: 87.98 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=101): time 5.38e-06/17.67, allocations: 3.312 kB / 5.035 GB, free: 87.98 MB / 0.9323 GB Notification: Performance of matching and sorting (n=103): time 0.01037/17.69, allocations: 2.924 MB / 5.037 GB, free: 87.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/17.69, allocations: 65.89 kB / 5.037 GB, free: 87.14 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003864/17.69, allocations: 1.777 MB / 5.039 GB, free: 86.91 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004127/17.69, allocations: 54.3 kB / 5.039 GB, free: 86.88 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/17.69, allocations: 1.185 MB / 5.04 GB, free: 86.46 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006629/17.69, allocations: 367.8 kB / 5.041 GB, free: 86.23 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/17.69, allocations: 25.22 kB / 5.041 GB, free: 86.23 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001885/17.69, allocations: 362.2 kB / 5.041 GB, free: 85.93 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/17.69, allocations: 448.4 kB / 5.042 GB, free: 85.93 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/17.7, allocations: 1.033 MB / 5.043 GB, free: 85.23 MB / 0.9323 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.02463/17.72, allocations: 2.26 MB / 5.045 GB, free: 85.11 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-05/17.72, allocations: 3.438 kB / 5.045 GB, free: 85.11 MB / 0.9323 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.006976/17.73, allocations: 1.846 MB / 5.047 GB, free: 84.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001466/17.73, allocations: 5.973 MB / 5.052 GB, free: 78.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-05/17.73, allocations: 21.23 kB / 5.052 GB, free: 78.59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002793/17.73, allocations: 350.9 kB / 5.053 GB, free: 78.58 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/17.73, allocations: 292.2 kB / 5.053 GB, free: 78.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/17.74, allocations: 0.9686 MB / 5.054 GB, free: 78.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00408/17.74, allocations: 170.7 kB / 5.054 GB, free: 78.04 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000434/17.74, allocations: 78.02 kB / 5.054 GB, free: 78.04 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/17.74, allocations: 3.75 kB / 5.054 GB, free: 78.04 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005736/17.75, allocations: 1.605 MB / 5.056 GB, free: 78 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.969e-05/17.75, allocations: 15.03 kB / 5.056 GB, free: 78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002491/17.75, allocations: 359.6 kB / 5.056 GB, free: 77.99 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/17.75, allocations: 289.6 kB / 5.056 GB, free: 77.99 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/17.75, allocations: 0.9723 MB / 5.057 GB, free: 77.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003815/17.76, allocations: 142.2 kB / 5.057 GB, free: 77.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000427/17.76, allocations: 77.86 kB / 5.058 GB, free: 77.45 MB / 0.9323 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 () * 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.00059/17.76, allocations: 203.3 kB / 5.058 GB, free: 77.33 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008185/17.76, allocations: 240 kB / 5.058 GB, free: 77.21 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005576/17.76, allocations: 1.504 MB / 5.059 GB, free: 77.09 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.799e-05/17.76, allocations: 11.78 kB / 5.059 GB, free: 77.09 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/17.76, allocations: 0 / 5.059 GB, free: 77.09 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004211/17.77, allocations: 1.165 MB / 5.061 GB, free: 76.98 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.01233/17.78, allocations: 3.753 MB / 5.064 GB, free: 76.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/17.78, allocations: 6.312 kB / 5.064 GB, free: 76.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/17.78, allocations: 172.1 kB / 5.064 GB, free: 76.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/17.78, allocations: 320.9 kB / 5.065 GB, free: 76.29 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002789/17.79, allocations: 32.03 kB / 5.065 GB, free: 76.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/17.79, allocations: 0.9308 MB / 5.066 GB, free: 75.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/17.79, allocations: 12.73 kB / 5.066 GB, free: 75.75 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005283/17.79, allocations: 2.513 MB / 5.068 GB, free: 74.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/17.79, allocations: 452.6 kB / 5.069 GB, free: 74.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008952/17.8, allocations: 26.31 kB / 5.069 GB, free: 74.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003273/17.8, allocations: 110.7 kB / 5.069 GB, free: 74.47 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/17.8, allocations: 72.88 kB / 5.069 GB, free: 74.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/17.8, allocations: 46.42 kB / 5.069 GB, free: 74.46 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003153/17.8, allocations: 1.369 MB / 5.07 GB, free: 74.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.02e-07/17.8, allocations: 0 / 5.07 GB, free: 74.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006881/17.81, allocations: 1.402 MB / 5.072 GB, free: 74.25 MB / 0.9323 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 () * 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.01272/17.82, allocations: 8.098 MB / 5.079 GB, free: 69.87 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006199/17.83, allocations: 2.027 MB / 5.081 GB, free: 69.83 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/17.83, allocations: 0 / 5.081 GB, free: 69.83 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/17.83, allocations: 0.5374 MB / 5.082 GB, free: 69.83 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01101/17.84, allocations: 1.319 MB / 5.083 GB, free: 69.79 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/17.86, allocations: 4.515 MB / 5.088 GB, free: 68.68 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/17.86, allocations: 1.736 MB / 5.089 GB, free: 67.95 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.006519/17.87, allocations: 0.7834 MB / 5.09 GB, free: 67.92 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001977/17.87, allocations: 0.9431 MB / 5.091 GB, free: 67.91 MB / 0.9323 GB Notification: Performance of SimCode: time 1.393e-06/17.87, allocations: 0 / 5.091 GB, free: 67.91 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2798/18.15, allocations: 122.7 MB / 5.211 GB, free: 27.24 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003091/18.15, allocations: 246.5 kB / 5.211 GB, free: 26.91 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/26.57, allocations: 1.859 kB / 5.211 GB, free: 26.91 MB / 0.9323 GB