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: 251 MB / 265.9 MB, free: 11.72 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.001568/0.001568, allocations: 181.7 kB / 325.5 MB, free: 2.906 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.286/2.286, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001187/0.001187, allocations: 92.61 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.0004889, allocations: 15.03 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2152, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.304/7.519, allocations: 2.246 GB / 3.145 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/7.519, allocations: 99.3 kB / 3.145 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 11/18.52, allocations: 2.007 GB / 5.152 GB, free: 131.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.465e-06/18.52, allocations: 0 / 5.152 GB, free: 131.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004685/18.52, allocations: 58.61 kB / 5.152 GB, free: 131.6 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: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.01317/18.53, allocations: 2.957 MB / 5.154 GB, free: 131 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/18.53, allocations: 11.84 kB / 5.154 GB, free: 131 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009827/18.53, allocations: 200.3 kB / 5.155 GB, free: 130.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008366/18.54, allocations: 0.7661 MB / 5.155 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/18.55, allocations: 2.234 MB / 5.158 GB, free: 130.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/18.55, allocations: 113.9 kB / 5.158 GB, free: 130.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000715/18.55, allocations: 151.6 kB / 5.158 GB, free: 130.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006789/18.56, allocations: 1.601 MB / 5.159 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.147e-05/18.56, allocations: 1.594 kB / 5.159 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002934/18.56, allocations: 56.94 kB / 5.159 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/18.56, allocations: 53.22 kB / 5.16 GB, free: 130.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006517/18.57, allocations: 1.288 MB / 5.161 GB, free: 130.1 MB / 0.9323 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.01943/18.59, allocations: 7.39 MB / 5.168 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/18.59, allocations: 1.497 MB / 5.169 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/18.59, allocations: 0.7556 MB / 5.17 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002083/18.6, allocations: 0.5183 MB / 5.171 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00161/18.6, allocations: 133.9 kB / 5.171 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=84): time 7.795e-06/18.6, allocations: 0 / 5.171 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=84): time 0.006803/18.6, allocations: 1.49 MB / 5.172 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/18.6, allocations: 164 kB / 5.172 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003641/18.61, allocations: 1.365 MB / 5.174 GB, free: 124.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003873/18.61, allocations: 53 kB / 5.174 GB, free: 124.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/18.61, allocations: 0.9392 MB / 5.175 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005308/18.61, allocations: 290.2 kB / 5.175 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/18.61, allocations: 25.47 kB / 5.175 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001162/18.61, allocations: 348.9 kB / 5.175 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/18.61, allocations: 401.7 kB / 5.176 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/18.61, allocations: 0.7955 MB / 5.177 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/18.62, allocations: 0.5249 MB / 5.177 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/18.62, allocations: 0 / 5.177 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004743/18.62, allocations: 1.363 MB / 5.178 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008389/18.62, allocations: 3.482 MB / 5.182 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.373e-05/18.62, allocations: 13.09 kB / 5.182 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.966e-05/18.62, allocations: 20.16 kB / 5.182 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/18.62, allocations: 262.5 kB / 5.182 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-05/18.62, allocations: 15.19 kB / 5.182 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/18.63, allocations: 154.6 kB / 5.182 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003332/18.63, allocations: 52.22 kB / 5.182 GB, free: 119 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/18.63, allocations: 3.906 kB / 5.182 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004252/18.63, allocations: 1.177 MB / 5.183 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.462e-05/18.63, allocations: 11.97 kB / 5.183 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/18.63, allocations: 15.84 kB / 5.183 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/18.63, allocations: 257.3 kB / 5.184 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.739e-05/18.63, allocations: 20.72 kB / 5.184 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/18.64, allocations: 144 kB / 5.184 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/18.64, allocations: 57.78 kB / 5.184 GB, free: 119 MB / 0.9323 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 () * Number of clocked 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.001845/18.64, allocations: 0.5505 MB / 5.184 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006905/18.64, allocations: 179.4 kB / 5.185 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/18.64, allocations: 1.108 MB / 5.186 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/18.64, allocations: 6.375 kB / 5.186 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/18.64, allocations: 0 / 5.186 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003133/18.65, allocations: 1.173 MB / 5.187 GB, free: 118.1 MB / 0.9323 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.008649/18.66, allocations: 2.695 MB / 5.189 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/18.66, allocations: 0 / 5.189 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/18.66, allocations: 183.2 kB / 5.19 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003331/18.66, allocations: 43.64 kB / 5.19 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/18.66, allocations: 23.05 kB / 5.19 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/18.66, allocations: 1.421 MB / 5.191 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/18.66, allocations: 10.02 kB / 5.191 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00545/18.66, allocations: 1.726 MB / 5.193 GB, free: 116 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/18.67, allocations: 338.8 kB / 5.193 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006948/18.67, allocations: 21.44 kB / 5.193 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00359/18.67, allocations: 144.8 kB / 5.193 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/18.67, allocations: 68.05 kB / 5.193 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/18.67, allocations: 33.64 kB / 5.193 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003911/18.68, allocations: 1.051 MB / 5.194 GB, free: 115.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.373e-06/18.68, allocations: 0 / 5.194 GB, free: 115.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.009775/18.69, allocations: 1.317 MB / 5.196 GB, free: 115.6 MB / 0.9323 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) * Number of clocked 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: 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.01917/18.7, allocations: 6.08 MB / 5.202 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008751/18.71, allocations: 1.753 MB / 5.203 GB, free: 113 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/18.71, allocations: 0 / 5.203 GB, free: 113 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002858/18.72, allocations: 0.5733 MB / 5.204 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009965/18.73, allocations: 0.7907 MB / 5.205 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02605/18.75, allocations: 11.49 MB / 5.216 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/18.75, allocations: 1.549 MB / 5.217 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005112/18.76, allocations: 450.8 kB / 5.218 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002341/18.76, allocations: 0.7732 MB / 5.219 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.723e-06/18.76, allocations: 2.875 kB / 5.219 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.209/18.97, allocations: 87.78 MB / 5.304 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/18.97, allocations: 241.4 kB / 5.305 GB, free: 100.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.638/25.61, allocations: 0 / 5.305 GB, free: 100.9 MB / 0.9323 GB