Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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_T,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",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.964/2.964, allocations: 248.5 MB / 261.1 MB, free: 6.062 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.001495/0.001495, allocations: 182.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.1 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.001119/0.001119, allocations: 101.7 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.484e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.472/7.684, allocations: 2.246 GB / 3.137 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/7.684, allocations: 95.58 kB / 3.137 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.76/18.44, allocations: 2.004 GB / 5.141 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.844e-06/18.44, allocations: 0 / 5.141 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004494/18.44, allocations: 58.05 kB / 5.141 GB, free: 105.2 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: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.009414/18.45, allocations: 2.448 MB / 5.144 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/18.45, allocations: 11.44 kB / 5.144 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007158/18.45, allocations: 200.7 kB / 5.144 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008004/18.46, allocations: 0.7646 MB / 5.145 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009767/18.47, allocations: 2.218 MB / 5.147 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/18.47, allocations: 107.8 kB / 5.147 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005972/18.47, allocations: 151 kB / 5.147 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004416/18.48, allocations: 1.52 MB / 5.149 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.65e-05/18.48, allocations: 0 / 5.149 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/18.48, allocations: 59.03 kB / 5.149 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.589e-05/18.48, allocations: 50.36 kB / 5.149 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003773/18.48, allocations: 1.138 MB / 5.15 GB, free: 102.9 MB / 0.9167 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.01656/18.5, allocations: 7.397 MB / 5.157 GB, free: 98.93 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/18.5, allocations: 1.355 MB / 5.158 GB, free: 98.24 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/18.5, allocations: 416 kB / 5.159 GB, free: 98.23 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/18.5, allocations: 0.7493 MB / 5.159 GB, free: 97.48 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/18.5, allocations: 481.2 kB / 5.16 GB, free: 97.42 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001401/18.5, allocations: 120 kB / 5.16 GB, free: 97.38 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=84): time 5.26e-06/18.5, allocations: 3.375 kB / 5.16 GB, free: 97.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84): time 0.003226/18.51, allocations: 0.9235 MB / 5.161 GB, free: 97.22 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/18.51, allocations: 162.5 kB / 5.161 GB, free: 97.04 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003155/18.51, allocations: 1.352 MB / 5.162 GB, free: 96.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003424/18.51, allocations: 52.02 kB / 5.162 GB, free: 96.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/18.51, allocations: 0.934 MB / 5.163 GB, free: 96.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004728/18.51, allocations: 297.9 kB / 5.164 GB, free: 96.27 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.511e-05/18.51, allocations: 22.27 kB / 5.164 GB, free: 96.27 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001089/18.51, allocations: 349 kB / 5.164 GB, free: 95.96 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009281/18.51, allocations: 340 kB / 5.164 GB, free: 95.96 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/18.52, allocations: 0.7277 MB / 5.165 GB, free: 95.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/18.52, allocations: 490.8 kB / 5.165 GB, free: 95.44 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/18.52, allocations: 3.938 kB / 5.165 GB, free: 95.44 MB / 0.9167 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003343/18.52, allocations: 1.234 MB / 5.167 GB, free: 94.95 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008177/18.52, allocations: 3.491 MB / 5.17 GB, free: 91.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.45e-05/18.52, allocations: 9.844 kB / 5.17 GB, free: 91.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.312e-05/18.52, allocations: 20.92 kB / 5.17 GB, free: 91.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/18.52, allocations: 253.8 kB / 5.17 GB, free: 91.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.524e-05/18.52, allocations: 21.11 kB / 5.17 GB, free: 91.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/18.53, allocations: 145.6 kB / 5.171 GB, free: 91.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/18.53, allocations: 61 kB / 5.171 GB, free: 91.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/18.53, allocations: 3.844 kB / 5.171 GB, free: 91.18 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002728/18.53, allocations: 1.052 MB / 5.172 GB, free: 90.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-05/18.53, allocations: 14.36 kB / 5.172 GB, free: 90.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/18.53, allocations: 17.72 kB / 5.172 GB, free: 90.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/18.53, allocations: 254.7 kB / 5.172 GB, free: 90.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.763e-05/18.53, allocations: 18.22 kB / 5.172 GB, free: 90.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/18.53, allocations: 150.6 kB / 5.172 GB, free: 90.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/18.53, allocations: 51.3 kB / 5.172 GB, free: 90.71 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004342/18.54, allocations: 182.5 kB / 5.172 GB, free: 90.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005211/18.54, allocations: 189 kB / 5.172 GB, free: 90.45 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/18.54, allocations: 0.9837 MB / 5.173 GB, free: 90.04 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/18.54, allocations: 9.531 kB / 5.173 GB, free: 90.04 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/18.54, allocations: 3.469 kB / 5.173 GB, free: 90.04 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001977/18.54, allocations: 1.054 MB / 5.174 GB, free: 89.36 MB / 0.9167 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.007594/18.55, allocations: 2.666 MB / 5.177 GB, free: 88.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/18.55, allocations: 0 / 5.177 GB, free: 88.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/18.55, allocations: 180.5 kB / 5.177 GB, free: 88.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/18.55, allocations: 52.02 kB / 5.177 GB, free: 88.01 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/18.55, allocations: 26.59 kB / 5.177 GB, free: 88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/18.55, allocations: 1.412 MB / 5.179 GB, free: 86.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/18.55, allocations: 7.656 kB / 5.179 GB, free: 86.62 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/18.56, allocations: 1.557 MB / 5.18 GB, free: 85.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/18.56, allocations: 341.8 kB / 5.181 GB, free: 85.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005017/18.56, allocations: 22.75 kB / 5.181 GB, free: 85.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/18.56, allocations: 149.5 kB / 5.181 GB, free: 85.52 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/18.56, allocations: 61.75 kB / 5.181 GB, free: 85.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/18.56, allocations: 28.81 kB / 5.181 GB, free: 85.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002389/18.56, allocations: 1.031 MB / 5.182 GB, free: 85.06 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.11e-07/18.56, allocations: 2.969 kB / 5.182 GB, free: 85.06 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006791/18.57, allocations: 1.318 MB / 5.183 GB, free: 84.68 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01115/18.58, allocations: 5.842 MB / 5.189 GB, free: 81.68 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004054/18.59, allocations: 1.649 MB / 5.19 GB, free: 80.97 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/18.59, allocations: 0 / 5.19 GB, free: 80.97 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/18.59, allocations: 0.5129 MB / 5.191 GB, free: 80.71 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006518/18.59, allocations: 0.7913 MB / 5.192 GB, free: 80.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/18.61, allocations: 3.406 MB / 5.195 GB, free: 79.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/18.61, allocations: 1.54 MB / 5.196 GB, free: 78.29 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005124/18.61, allocations: 0.6681 MB / 5.197 GB, free: 78.16 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/18.62, allocations: 0.7527 MB / 5.198 GB, free: 77.55 MB / 0.9167 GB Notification: Performance of SimCode: time 1.844e-06/18.62, allocations: 0 / 5.198 GB, free: 77.55 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2182/18.83, allocations: 98.58 MB / 5.294 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003177/18.83, allocations: 214.6 kB / 5.294 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/26.31, allocations: 4 kB / 5.294 GB, free: 0.7578 MB / 0.9323 GB