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.41/2.41, allocations: 248.7 MB / 256.2 MB, free: 7.004 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.001438/0.001438, allocations: 171.9 kB / 315.4 MB, free: 4.039 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.13/2.13, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 92.44 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.885e-05/3.901e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2948, allocations: 106.2 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.391/8.686, allocations: 2.5 GB / 3.384 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/8.687, allocations: 101.3 kB / 3.384 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.013/17.7, allocations: 1.604 GB / 4.988 GB, free: 98.57 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.544e-06/17.7, allocations: 0 / 4.988 GB, free: 98.57 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004939/17.7, allocations: 74.11 kB / 4.988 GB, free: 98.57 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.01506/17.72, allocations: 2.854 MB / 4.991 GB, free: 97.59 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/17.72, allocations: 14.2 kB / 4.991 GB, free: 97.58 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007904/17.72, allocations: 0.6715 MB / 4.992 GB, free: 97.43 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/17.73, allocations: 2.777 MB / 4.994 GB, free: 97.01 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/17.73, allocations: 64.22 kB / 4.994 GB, free: 97.01 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007194/17.74, allocations: 111.7 kB / 4.994 GB, free: 97.01 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005479/17.74, allocations: 1.676 MB / 4.996 GB, free: 97 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006425/17.75, allocations: 1.915 MB / 4.998 GB, free: 96.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/17.75, allocations: 0 / 4.998 GB, free: 96.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007891/17.75, allocations: 3.094 kB / 4.998 GB, free: 96.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001819/17.75, allocations: 75.27 kB / 4.998 GB, free: 96.8 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.02159/17.77, allocations: 9.053 MB / 5.007 GB, free: 92.99 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/17.77, allocations: 0.9469 MB / 5.008 GB, free: 92.96 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/17.77, allocations: 0.5679 MB / 5.008 GB, free: 92.95 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00583/17.78, allocations: 2.281 MB / 5.011 GB, free: 91.88 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/17.78, allocations: 48.73 kB / 5.011 GB, free: 91.84 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002556/17.78, allocations: 189 kB / 5.011 GB, free: 91.81 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=101): time 6.442e-06/17.78, allocations: 0 / 5.011 GB, free: 91.81 MB / 0.9323 GB Notification: Performance of matching and sorting (n=103): time 0.0114/17.79, allocations: 3.031 MB / 5.014 GB, free: 91.06 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/17.79, allocations: 62.62 kB / 5.014 GB, free: 91 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003021/17.8, allocations: 1.444 MB / 5.015 GB, free: 90.79 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003408/17.8, allocations: 29.45 kB / 5.015 GB, free: 90.76 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/17.8, allocations: 1.192 MB / 5.016 GB, free: 90.34 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004928/17.8, allocations: 348.1 kB / 5.017 GB, free: 90.11 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/17.8, allocations: 2.156 kB / 5.017 GB, free: 90.11 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001152/17.8, allocations: 365.5 kB / 5.017 GB, free: 89.81 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/17.8, allocations: 456.1 kB / 5.018 GB, free: 89.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/17.8, allocations: 1.022 MB / 5.019 GB, free: 89.11 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.03647/17.84, allocations: 3.184 MB / 5.022 GB, free: 88.99 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-05/17.84, allocations: 6.906 kB / 5.022 GB, free: 88.99 MB / 0.9323 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.006555/17.84, allocations: 1.815 MB / 5.023 GB, free: 88.81 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001378/17.85, allocations: 5.872 MB / 5.029 GB, free: 82.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/17.85, allocations: 14.34 kB / 5.029 GB, free: 82.74 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/17.85, allocations: 363.9 kB / 5.03 GB, free: 82.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/17.85, allocations: 294 kB / 5.03 GB, free: 82.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/17.85, allocations: 1.026 MB / 5.031 GB, free: 82.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003612/17.86, allocations: 128.2 kB / 5.031 GB, free: 82.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/17.86, allocations: 80.06 kB / 5.031 GB, free: 82.18 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/17.86, allocations: 9.219 kB / 5.031 GB, free: 82.18 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005545/17.86, allocations: 1.54 MB / 5.033 GB, free: 82.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/17.86, allocations: 13.47 kB / 5.033 GB, free: 82.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/17.87, allocations: 362.2 kB / 5.033 GB, free: 82.13 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/17.87, allocations: 296.2 kB / 5.033 GB, free: 82.13 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/17.87, allocations: 1.026 MB / 5.034 GB, free: 81.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003484/17.87, allocations: 107.5 kB / 5.034 GB, free: 81.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/17.87, allocations: 77.45 kB / 5.034 GB, free: 81.59 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 {3 21} Notification: Performance of prepare postOptimizeDAE: time 0.0006137/17.87, allocations: 157.9 kB / 5.035 GB, free: 81.47 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005362/17.88, allocations: 1.386 MB / 5.036 GB, free: 81.28 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009245/17.88, allocations: 214.3 kB / 5.036 GB, free: 81.17 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005623/17.89, allocations: 1.467 MB / 5.038 GB, free: 81.06 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/17.89, allocations: 18.17 kB / 5.038 GB, free: 81.06 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.497e-06/17.89, allocations: 0 / 5.038 GB, free: 81.06 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003999/17.89, allocations: 1.142 MB / 5.039 GB, free: 80.95 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.009838/17.9, allocations: 3.492 MB / 5.042 GB, free: 80.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/17.9, allocations: 8.938 kB / 5.042 GB, free: 80.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/17.9, allocations: 171.1 kB / 5.042 GB, free: 80.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/17.9, allocations: 314.9 kB / 5.043 GB, free: 80.29 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/17.9, allocations: 20.91 kB / 5.043 GB, free: 80.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/17.9, allocations: 0.964 MB / 5.043 GB, free: 79.76 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/17.9, allocations: 7.188 kB / 5.044 GB, free: 79.76 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004755/17.91, allocations: 2.462 MB / 5.046 GB, free: 78.69 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/17.91, allocations: 415.7 kB / 5.046 GB, free: 78.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004567/17.91, allocations: 11.09 kB / 5.046 GB, free: 78.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/17.91, allocations: 86.83 kB / 5.046 GB, free: 78.48 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/17.91, allocations: 82.97 kB / 5.046 GB, free: 78.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/17.91, allocations: 46.92 kB / 5.047 GB, free: 78.48 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002315/17.92, allocations: 1.079 MB / 5.048 GB, free: 78.33 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.61e-07/17.92, allocations: 0 / 5.048 GB, free: 78.33 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006464/17.92, allocations: 1.256 MB / 5.049 GB, free: 78.28 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 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01304/17.94, allocations: 8.208 MB / 5.057 GB, free: 73.96 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00591/17.94, allocations: 1.97 MB / 5.059 GB, free: 73.91 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.677e-05/17.94, allocations: 3.875 kB / 5.059 GB, free: 73.91 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/17.94, allocations: 0.5121 MB / 5.059 GB, free: 73.91 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009204/17.95, allocations: 1.113 MB / 5.06 GB, free: 73.89 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/17.97, allocations: 4.368 MB / 5.065 GB, free: 72.78 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/17.97, allocations: 1.734 MB / 5.066 GB, free: 72.04 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.006059/17.98, allocations: 0.7375 MB / 5.067 GB, free: 72.02 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/17.98, allocations: 0.9353 MB / 5.068 GB, free: 72.02 MB / 0.9323 GB Notification: Performance of SimCode: time 1.232e-06/17.98, allocations: 0 / 5.068 GB, free: 72.02 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.219/18.2, allocations: 86.01 MB / 5.152 GB, free: 67.58 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/18.2, allocations: 205 kB / 5.152 GB, free: 67.36 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.552/24.75, allocations: 4 kB / 5.152 GB, free: 67.36 MB / 0.9323 GB