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.303/2.303, allocations: 248.7 MB / 256.2 MB, free: 7.047 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.001463/0.001463, allocations: 180.5 kB / 315.4 MB, free: 4.008 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.164/2.164, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 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.001051/0.001051, allocations: 94.25 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.77e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2108, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.296/7.506, allocations: 2.246 GB / 3.13 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/7.507, allocations: 100.9 kB / 3.13 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.76/18.27, allocations: 1.982 GB / 5.113 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.926e-06/18.27, allocations: 3.219 kB / 5.113 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004581/18.27, allocations: 59.95 kB / 5.113 GB, free: 110.6 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.008894/18.28, allocations: 2.446 MB / 5.115 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/18.28, allocations: 10.78 kB / 5.115 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008123/18.28, allocations: 0.7646 MB / 5.116 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/18.29, allocations: 2.216 MB / 5.118 GB, free: 109 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/18.3, allocations: 46.34 kB / 5.118 GB, free: 109 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005772/18.3, allocations: 91.31 kB / 5.118 GB, free: 109 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004149/18.3, allocations: 1.079 MB / 5.119 GB, free: 109 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007146/18.31, allocations: 1.331 MB / 5.121 GB, free: 108.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.553e-05/18.31, allocations: 1.594 kB / 5.121 GB, free: 108.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003947/18.31, allocations: 3.094 kB / 5.121 GB, free: 108.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/18.31, allocations: 47.58 kB / 5.121 GB, free: 108.7 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.02435/18.33, allocations: 7.174 MB / 5.128 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/18.34, allocations: 1.356 MB / 5.129 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/18.34, allocations: 403.2 kB / 5.13 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/18.34, allocations: 0.7513 MB / 5.13 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001605/18.34, allocations: 445.2 kB / 5.131 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001748/18.34, allocations: 104.1 kB / 5.131 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=84): time 7.344e-06/18.34, allocations: 0 / 5.131 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84): time 0.01471/18.36, allocations: 1.495 MB / 5.132 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.455e-05/18.36, allocations: 161.7 kB / 5.132 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003216/18.36, allocations: 1.244 MB / 5.134 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003372/18.36, allocations: 28.7 kB / 5.134 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/18.36, allocations: 0.9369 MB / 5.135 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003926/18.36, allocations: 281 kB / 5.135 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/18.36, allocations: 5.562 kB / 5.135 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000103/18.36, allocations: 350.6 kB / 5.135 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008127/18.36, allocations: 333.5 kB / 5.135 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/18.36, allocations: 0.7134 MB / 5.136 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007757/18.37, allocations: 1.026 MB / 5.137 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/18.37, allocations: 3.812 kB / 5.137 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.009786/18.38, allocations: 1.74 MB / 5.139 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007856/18.38, allocations: 3.483 MB / 5.142 GB, free: 97.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.801e-05/18.38, allocations: 14.72 kB / 5.142 GB, free: 97.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.036e-05/18.38, allocations: 14.22 kB / 5.142 GB, free: 97.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/18.39, allocations: 257 kB / 5.143 GB, free: 97.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/18.39, allocations: 19.61 kB / 5.143 GB, free: 97.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/18.39, allocations: 127 kB / 5.143 GB, free: 97.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/18.39, allocations: 52.02 kB / 5.143 GB, free: 97.58 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/18.39, allocations: 5.594 kB / 5.143 GB, free: 97.58 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009031/18.4, allocations: 1.509 MB / 5.144 GB, free: 97.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/18.4, allocations: 11.5 kB / 5.144 GB, free: 97.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/18.4, allocations: 18.03 kB / 5.144 GB, free: 97.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/18.4, allocations: 257.3 kB / 5.144 GB, free: 97.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/18.4, allocations: 20.44 kB / 5.145 GB, free: 97.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/18.4, allocations: 127.5 kB / 5.145 GB, free: 97.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/18.4, allocations: 53.72 kB / 5.145 GB, free: 97.54 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.0004408/18.4, allocations: 139.6 kB / 5.145 GB, free: 97.43 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009091/18.41, allocations: 1.43 MB / 5.146 GB, free: 97.28 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005598/18.41, allocations: 179.8 kB / 5.146 GB, free: 97.19 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009461/18.42, allocations: 1.51 MB / 5.148 GB, free: 97.11 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/18.42, allocations: 11.5 kB / 5.148 GB, free: 97.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/18.42, allocations: 0 / 5.148 GB, free: 97.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008561/18.43, allocations: 1.599 MB / 5.149 GB, free: 96.64 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.01424/18.45, allocations: 3.054 MB / 5.152 GB, free: 96.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/18.45, allocations: 2.562 kB / 5.152 GB, free: 96.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/18.45, allocations: 177.6 kB / 5.153 GB, free: 96.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003531/18.45, allocations: 45.09 kB / 5.153 GB, free: 96.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/18.45, allocations: 20.47 kB / 5.153 GB, free: 96.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/18.45, allocations: 1.376 MB / 5.154 GB, free: 94.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/18.45, allocations: 5.438 kB / 5.154 GB, free: 94.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/18.46, allocations: 2.11 MB / 5.156 GB, free: 94.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/18.46, allocations: 337.8 kB / 5.156 GB, free: 94.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003273/18.46, allocations: 5.75 kB / 5.156 GB, free: 94.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002235/18.46, allocations: 131.3 kB / 5.157 GB, free: 94.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/18.46, allocations: 59.45 kB / 5.157 GB, free: 94.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/18.46, allocations: 37.56 kB / 5.157 GB, free: 94.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002001/18.47, allocations: 0.9231 MB / 5.158 GB, free: 94.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.62e-07/18.47, allocations: 7.188 kB / 5.158 GB, free: 94.15 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006734/18.47, allocations: 1.199 MB / 5.159 GB, free: 93.97 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.01769/18.49, allocations: 6.547 MB / 5.165 GB, free: 91.51 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00357/18.49, allocations: 1.565 MB / 5.167 GB, free: 91.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/18.49, allocations: 0 / 5.167 GB, free: 91.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/18.5, allocations: 0.4944 MB / 5.167 GB, free: 91.14 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00635/18.5, allocations: 0.7606 MB / 5.168 GB, free: 91.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/18.52, allocations: 3.316 MB / 5.171 GB, free: 90.22 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/18.52, allocations: 1.55 MB / 5.173 GB, free: 89.48 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005155/18.52, allocations: 0.648 MB / 5.173 GB, free: 89.43 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/18.52, allocations: 0.7466 MB / 5.174 GB, free: 89.43 MB / 0.9167 GB Notification: Performance of SimCode: time 1.513e-06/18.52, allocations: 0 / 5.174 GB, free: 89.43 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1724/18.7, allocations: 68.43 MB / 5.241 GB, free: 46.51 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/18.7, allocations: 174 kB / 5.241 GB, free: 46.31 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.857/24.55, allocations: 3.172 kB / 5.241 GB, free: 46.31 MB / 0.9167 GB