Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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.Examples.AirHeater_u,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",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.218/2.218, allocations: 251 MB / 265.9 MB, free: 11.68 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.00152/0.00152, allocations: 174.1 kB / 325.5 MB, free: 2.883 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.261/2.261, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001159/0.001159, allocations: 103.7 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006406/0.0006406, allocations: 15.39 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2028, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.218/7.421, allocations: 2.24 GB / 3.138 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/7.421, allocations: 98.12 kB / 3.139 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.733/17.15, allocations: 1.926 GB / 5.065 GB, free: 75.63 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.978e-06/17.15, allocations: 7.984 kB / 5.065 GB, free: 75.62 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004242/17.15, allocations: 67.92 kB / 5.065 GB, free: 75.55 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.01269/17.17, allocations: 3.146 MB / 5.068 GB, free: 72.33 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/17.17, allocations: 8.031 kB / 5.068 GB, free: 72.32 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00109/17.17, allocations: 231.2 kB / 5.068 GB, free: 72.09 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008237/17.18, allocations: 0.789 MB / 5.069 GB, free: 71.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009732/17.19, allocations: 2.368 MB / 5.071 GB, free: 68.88 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/17.19, allocations: 123 kB / 5.071 GB, free: 68.76 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000575/17.19, allocations: 168 kB / 5.071 GB, free: 68.59 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005492/17.19, allocations: 1.807 MB / 5.073 GB, free: 66.71 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.788e-05/17.19, allocations: 0 / 5.073 GB, free: 66.71 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/17.19, allocations: 71.92 kB / 5.073 GB, free: 66.64 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.317e-05/17.19, allocations: 58.94 kB / 5.073 GB, free: 66.58 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00527/17.2, allocations: 1.46 MB / 5.075 GB, free: 65.12 MB / 0.9167 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.01912/17.22, allocations: 8.079 MB / 5.083 GB, free: 56.44 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004095/17.22, allocations: 1.732 MB / 5.084 GB, free: 54.56 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007761/17.22, allocations: 212.3 kB / 5.084 GB, free: 54.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002267/17.23, allocations: 0.6453 MB / 5.085 GB, free: 53.66 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001582/17.23, allocations: 123.2 kB / 5.085 GB, free: 53.54 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=102): time 5.64e-06/17.23, allocations: 0 / 5.085 GB, free: 53.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=105): time 0.01317/17.24, allocations: 3.452 MB / 5.089 GB, free: 50.01 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/17.24, allocations: 171.2 kB / 5.089 GB, free: 49.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/17.24, allocations: 1.338 MB / 5.09 GB, free: 48.43 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003944/17.24, allocations: 57.69 kB / 5.09 GB, free: 48.37 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/17.24, allocations: 0.9716 MB / 5.091 GB, free: 47.38 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005229/17.24, allocations: 374.6 kB / 5.091 GB, free: 47.01 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/17.25, allocations: 20 kB / 5.091 GB, free: 46.99 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001086/17.25, allocations: 357.9 kB / 5.092 GB, free: 46.64 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/17.25, allocations: 490.3 kB / 5.092 GB, free: 46.16 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/17.25, allocations: 0.8675 MB / 5.093 GB, free: 45.14 MB / 0.9167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01596/17.26, allocations: 2.31 MB / 5.095 GB, free: 42.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/17.26, allocations: 4 kB / 5.095 GB, free: 42.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004833/17.27, allocations: 1.587 MB / 5.097 GB, free: 41.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006964/17.27, allocations: 3.034 MB / 5.1 GB, free: 37.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/17.27, allocations: 11.98 kB / 5.1 GB, free: 37.92 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/17.27, allocations: 56.84 kB / 5.1 GB, free: 37.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/17.27, allocations: 275.6 kB / 5.1 GB, free: 37.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/17.27, allocations: 1.569 MB / 5.102 GB, free: 35.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003273/17.28, allocations: 167.6 kB / 5.102 GB, free: 35.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/17.28, allocations: 59.98 kB / 5.102 GB, free: 35.67 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/17.28, allocations: 0 / 5.102 GB, free: 35.67 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004173/17.28, allocations: 1.392 MB / 5.103 GB, free: 34.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/17.28, allocations: 12.11 kB / 5.103 GB, free: 34.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/17.28, allocations: 57.39 kB / 5.103 GB, free: 34.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/17.28, allocations: 275.5 kB / 5.104 GB, free: 33.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/17.29, allocations: 1.576 MB / 5.105 GB, free: 32.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003678/17.29, allocations: 159.8 kB / 5.105 GB, free: 32.06 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003677/17.29, allocations: 55.98 kB / 5.105 GB, free: 32.01 MB / 0.9167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00189/17.29, allocations: 0.5943 MB / 5.106 GB, free: 31.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005983/17.29, allocations: 201.5 kB / 5.106 GB, free: 31.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004534/17.3, allocations: 1.358 MB / 5.107 GB, free: 29.82 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/17.3, allocations: 8 kB / 5.108 GB, free: 29.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/17.3, allocations: 7.609 kB / 5.108 GB, free: 29.81 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003705/17.3, allocations: 1.106 MB / 5.109 GB, free: 28.69 MB / 0.9167 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.009557/17.31, allocations: 3.42 MB / 5.112 GB, free: 25.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/17.31, allocations: 11.92 kB / 5.112 GB, free: 25.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/17.31, allocations: 227.9 kB / 5.112 GB, free: 24.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003921/17.31, allocations: 73.67 kB / 5.112 GB, free: 24.84 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/17.31, allocations: 31.94 kB / 5.112 GB, free: 24.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002614/17.32, allocations: 2.927 MB / 5.115 GB, free: 21.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/17.32, allocations: 3.984 kB / 5.115 GB, free: 21.61 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006386/17.32, allocations: 2.145 MB / 5.117 GB, free: 19.39 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/17.32, allocations: 382.5 kB / 5.118 GB, free: 19 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000563/17.32, allocations: 20 kB / 5.118 GB, free: 18.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/17.33, allocations: 159.9 kB / 5.118 GB, free: 18.82 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/17.33, allocations: 80.69 kB / 5.118 GB, free: 18.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/17.33, allocations: 47.91 kB / 5.118 GB, free: 18.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002287/17.33, allocations: 1.044 MB / 5.119 GB, free: 17.64 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.11e-07/17.33, allocations: 0 / 5.119 GB, free: 17.64 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006783/17.34, allocations: 1.304 MB / 5.12 GB, free: 16.33 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0127/17.35, allocations: 6.314 MB / 5.126 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006853/17.36, allocations: 2.341 MB / 5.129 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/17.36, allocations: 4 kB / 5.129 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/17.36, allocations: 0.8155 MB / 5.129 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00777/17.37, allocations: 0.9632 MB / 5.13 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/17.39, allocations: 11.29 MB / 5.141 GB, free: 9.875 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002199/17.39, allocations: 1.637 MB / 5.143 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004104/17.39, allocations: 0.51 MB / 5.143 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002354/17.39, allocations: 0.8468 MB / 5.144 GB, free: 6.875 MB / 0.9323 GB Notification: Performance of SimCode: time 1.523e-06/17.39, allocations: 0 / 5.144 GB, free: 6.875 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.943/18.34, allocations: 95.53 MB / 5.238 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/18.34, allocations: 244.3 kB / 5.238 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/25.18, allocations: 0 / 5.238 GB, free: 119.9 MB / 0.9323 GB