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.498/2.498, allocations: 248.5 MB / 261.1 MB, free: 5.938 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.001526/0.001526, allocations: 178.7 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.869/1.869, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001086/0.001086, allocations: 98.47 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.863e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1992, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.256/7.455, allocations: 2.24 GB / 3.13 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/7.455, allocations: 88.89 kB / 3.13 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.53/17.98, allocations: 1.924 GB / 5.054 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.124e-06/17.98, allocations: 0 / 5.054 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004035/17.98, allocations: 55.66 kB / 5.054 GB, free: 107.3 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.009629/17.99, allocations: 2.621 MB / 5.057 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/17.99, allocations: 11.59 kB / 5.057 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007281/17.99, allocations: 220.5 kB / 5.057 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008207/18, allocations: 0.7836 MB / 5.058 GB, free: 106 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009403/18.01, allocations: 2.365 MB / 5.06 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/18.01, allocations: 123.5 kB / 5.06 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004834/18.01, allocations: 163.8 kB / 5.061 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00459/18.02, allocations: 1.727 MB / 5.062 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-05/18.02, allocations: 4.406 kB / 5.062 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/18.02, allocations: 67.97 kB / 5.062 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.41e-05/18.02, allocations: 55.97 kB / 5.062 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003801/18.02, allocations: 1.329 MB / 5.064 GB, free: 105.4 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.01712/18.04, allocations: 8.077 MB / 5.072 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/18.04, allocations: 1.609 MB / 5.073 GB, free: 100.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/18.04, allocations: 0.5526 MB / 5.074 GB, free: 100.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006452/18.04, allocations: 213.9 kB / 5.074 GB, free: 100.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001347/18.04, allocations: 0.5767 MB / 5.074 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001495/18.04, allocations: 128.1 kB / 5.075 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=102): time 4.859e-06/18.04, allocations: 2.531 kB / 5.075 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=105): time 0.008652/18.05, allocations: 2.673 MB / 5.077 GB, free: 99.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/18.05, allocations: 174.3 kB / 5.077 GB, free: 99.61 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/18.06, allocations: 1.317 MB / 5.079 GB, free: 99.39 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003674/18.06, allocations: 56.91 kB / 5.079 GB, free: 99.36 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/18.06, allocations: 0.9731 MB / 5.08 GB, free: 99.03 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006344/18.06, allocations: 368.6 kB / 5.08 GB, free: 98.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/18.06, allocations: 26.22 kB / 5.08 GB, free: 98.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001151/18.06, allocations: 351.4 kB / 5.08 GB, free: 98.49 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/18.06, allocations: 435.5 kB / 5.081 GB, free: 98.49 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/18.06, allocations: 0.7958 MB / 5.082 GB, free: 98.07 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.01508/18.08, allocations: 2.169 MB / 5.084 GB, free: 97.88 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/18.08, allocations: 3.906 kB / 5.084 GB, free: 97.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004148/18.08, allocations: 1.451 MB / 5.085 GB, free: 97.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007192/18.08, allocations: 3.041 MB / 5.088 GB, free: 94.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.102e-05/18.08, allocations: 10.78 kB / 5.088 GB, free: 94.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/18.08, allocations: 48.45 kB / 5.088 GB, free: 94.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/18.08, allocations: 282.5 kB / 5.088 GB, free: 94.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/18.09, allocations: 1.497 MB / 5.09 GB, free: 93.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/18.09, allocations: 161 kB / 5.09 GB, free: 93.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003242/18.09, allocations: 57.23 kB / 5.09 GB, free: 93.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/18.09, allocations: 3.344 kB / 5.09 GB, free: 93.18 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003277/18.09, allocations: 1.268 MB / 5.091 GB, free: 93.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/18.09, allocations: 7.75 kB / 5.091 GB, free: 93.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/18.09, allocations: 46.31 kB / 5.091 GB, free: 93.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/18.1, allocations: 276.7 kB / 5.092 GB, free: 93.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/18.1, allocations: 1.509 MB / 5.093 GB, free: 91.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/18.1, allocations: 160.1 kB / 5.093 GB, free: 91.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003146/18.1, allocations: 56.28 kB / 5.093 GB, free: 91.77 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005373/18.1, allocations: 185.2 kB / 5.093 GB, free: 91.65 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006/18.1, allocations: 197 kB / 5.094 GB, free: 91.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003622/18.11, allocations: 1.232 MB / 5.095 GB, free: 91.46 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/18.11, allocations: 10.75 kB / 5.095 GB, free: 91.46 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/18.11, allocations: 2.562 kB / 5.095 GB, free: 91.46 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002407/18.11, allocations: 0.9758 MB / 5.096 GB, free: 91.35 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.009198/18.12, allocations: 3.353 MB / 5.099 GB, free: 90.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/18.12, allocations: 3.562 kB / 5.099 GB, free: 90.67 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/18.12, allocations: 228.4 kB / 5.099 GB, free: 90.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004086/18.12, allocations: 74.19 kB / 5.099 GB, free: 90.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/18.12, allocations: 30.83 kB / 5.099 GB, free: 90.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/18.12, allocations: 2.746 MB / 5.102 GB, free: 88.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/18.12, allocations: 0 / 5.102 GB, free: 88.15 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004662/18.13, allocations: 1.957 MB / 5.104 GB, free: 87.73 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/18.13, allocations: 382.5 kB / 5.104 GB, free: 87.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/18.13, allocations: 24.86 kB / 5.104 GB, free: 87.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003024/18.13, allocations: 160.4 kB / 5.105 GB, free: 87.52 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/18.13, allocations: 80.12 kB / 5.105 GB, free: 87.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/18.13, allocations: 40.75 kB / 5.105 GB, free: 87.52 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002346/18.14, allocations: 1.022 MB / 5.106 GB, free: 87.36 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.192e-06/18.14, allocations: 0 / 5.106 GB, free: 87.36 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007021/18.14, allocations: 1.295 MB / 5.107 GB, free: 87.3 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01168/18.15, allocations: 6.14 MB / 5.113 GB, free: 84.82 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005542/18.16, allocations: 2.219 MB / 5.115 GB, free: 84.37 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/18.16, allocations: 3.984 kB / 5.115 GB, free: 84.36 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/18.16, allocations: 0.7515 MB / 5.116 GB, free: 84.14 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008108/18.17, allocations: 0.9589 MB / 5.117 GB, free: 84.11 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/18.18, allocations: 3.766 MB / 5.12 GB, free: 83.17 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/18.18, allocations: 1.651 MB / 5.122 GB, free: 82.43 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005463/18.19, allocations: 0.7014 MB / 5.123 GB, free: 82.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001868/18.19, allocations: 0.8186 MB / 5.124 GB, free: 82.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.834e-06/18.19, allocations: 2.844 kB / 5.124 GB, free: 82.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2322/18.42, allocations: 106.6 MB / 5.228 GB, free: 38.43 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/18.42, allocations: 213 kB / 5.228 GB, free: 38.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/26.38, allocations: 4 kB / 5.228 GB, free: 38.2 MB / 0.9167 GB