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.283/2.283, allocations: 248.7 MB / 256.2 MB, free: 7.066 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.001425/0.001425, allocations: 180.4 kB / 315.4 MB, free: 3.996 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.072/2.072, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 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.00106/0.00106, allocations: 95.97 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.004e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2159, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.289/7.505, allocations: 2.24 GB / 3.124 GB, free: 127 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/7.505, allocations: 91.83 kB / 3.124 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.58/18.08, allocations: 1.903 GB / 5.027 GB, free: 111 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.074e-06/18.08, allocations: 3.969 kB / 5.027 GB, free: 111 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005225/18.08, allocations: 66.48 kB / 5.027 GB, free: 111 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.01073/18.09, allocations: 2.618 MB / 5.03 GB, free: 110 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 7.267e-05/18.09, allocations: 10.34 kB / 5.03 GB, free: 110 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008974/18.1, allocations: 0.7917 MB / 5.031 GB, free: 109.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/18.11, allocations: 2.349 MB / 5.033 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/18.11, allocations: 49.53 kB / 5.033 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006686/18.11, allocations: 100.1 kB / 5.033 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004522/18.12, allocations: 1.278 MB / 5.034 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004526/18.12, allocations: 1.504 MB / 5.036 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.185e-05/18.12, allocations: 3.875 kB / 5.036 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/18.12, allocations: 3.312 kB / 5.036 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.001e-05/18.12, allocations: 57.58 kB / 5.036 GB, free: 109.3 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.0179/18.14, allocations: 7.803 MB / 5.043 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/18.14, allocations: 1.601 MB / 5.045 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/18.14, allocations: 0.5321 MB / 5.046 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006291/18.15, allocations: 211 kB / 5.046 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/18.15, allocations: 0.5562 MB / 5.046 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001482/18.15, allocations: 98.02 kB / 5.046 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=102): time 7.214e-06/18.15, allocations: 0 / 5.046 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=105): time 0.01007/18.16, allocations: 2.752 MB / 5.049 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/18.16, allocations: 167.5 kB / 5.049 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/18.16, allocations: 1.211 MB / 5.05 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003962/18.16, allocations: 27.8 kB / 5.05 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/18.16, allocations: 0.9712 MB / 5.051 GB, free: 103 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005757/18.16, allocations: 354 kB / 5.052 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.223e-05/18.16, allocations: 0 / 5.052 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000118/18.16, allocations: 350.6 kB / 5.052 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009805/18.16, allocations: 418.5 kB / 5.052 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/18.17, allocations: 0.7775 MB / 5.053 GB, free: 102.1 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.008368/18.17, allocations: 1.763 MB / 5.055 GB, free: 102 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/18.17, allocations: 3.031 kB / 5.055 GB, free: 102 MB / 0.9167 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00425/18.18, allocations: 1.403 MB / 5.056 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007682/18.18, allocations: 3.041 MB / 5.059 GB, free: 98.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.131e-05/18.18, allocations: 7.375 kB / 5.059 GB, free: 98.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/18.18, allocations: 46.7 kB / 5.059 GB, free: 98.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/18.18, allocations: 289.7 kB / 5.06 GB, free: 98.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/18.18, allocations: 1.432 MB / 5.061 GB, free: 97.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/18.19, allocations: 144 kB / 5.061 GB, free: 97.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/18.19, allocations: 57.27 kB / 5.061 GB, free: 97.37 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/18.19, allocations: 3.938 kB / 5.061 GB, free: 97.37 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003404/18.19, allocations: 1.164 MB / 5.062 GB, free: 97.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.405e-05/18.19, allocations: 8.938 kB / 5.062 GB, free: 97.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/18.19, allocations: 42.28 kB / 5.062 GB, free: 97.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/18.19, allocations: 288.4 kB / 5.063 GB, free: 97.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/18.19, allocations: 1.44 MB / 5.064 GB, free: 96.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/18.2, allocations: 133.5 kB / 5.064 GB, free: 96.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/18.2, allocations: 57.84 kB / 5.064 GB, free: 96.05 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.0005114/18.2, allocations: 146.2 kB / 5.064 GB, free: 95.94 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003357/18.2, allocations: 1.12 MB / 5.065 GB, free: 95.76 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005069/18.2, allocations: 194.2 kB / 5.066 GB, free: 95.66 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/18.21, allocations: 1.203 MB / 5.067 GB, free: 95.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/18.21, allocations: 22.81 kB / 5.067 GB, free: 95.55 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/18.21, allocations: 0 / 5.067 GB, free: 95.55 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002561/18.21, allocations: 0.9669 MB / 5.068 GB, free: 95.45 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.00887/18.22, allocations: 3.152 MB / 5.071 GB, free: 94.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/18.22, allocations: 2.406 kB / 5.071 GB, free: 94.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/18.22, allocations: 231.4 kB / 5.071 GB, free: 94.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003518/18.22, allocations: 72.34 kB / 5.071 GB, free: 94.78 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/18.22, allocations: 14.81 kB / 5.071 GB, free: 94.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00235/18.22, allocations: 2.666 MB / 5.074 GB, free: 92.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/18.22, allocations: 3.625 kB / 5.074 GB, free: 92.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004757/18.23, allocations: 1.929 MB / 5.076 GB, free: 91.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/18.23, allocations: 375 kB / 5.076 GB, free: 91.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004433/18.23, allocations: 15.12 kB / 5.076 GB, free: 91.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/18.23, allocations: 142.1 kB / 5.076 GB, free: 91.75 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/18.23, allocations: 76.36 kB / 5.076 GB, free: 91.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/18.23, allocations: 43.03 kB / 5.076 GB, free: 91.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002086/18.24, allocations: 0.9133 MB / 5.077 GB, free: 91.61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.41e-07/18.24, allocations: 0 / 5.077 GB, free: 91.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00709/18.24, allocations: 1.16 MB / 5.078 GB, free: 91.57 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.25, allocations: 6.278 MB / 5.084 GB, free: 89.11 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004821/18.26, allocations: 2.126 MB / 5.087 GB, free: 88.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/18.26, allocations: 1.844 kB / 5.087 GB, free: 88.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/18.26, allocations: 0.7162 MB / 5.087 GB, free: 88.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008431/18.27, allocations: 0.9259 MB / 5.088 GB, free: 88.45 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/18.28, allocations: 3.664 MB / 5.092 GB, free: 87.51 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/18.29, allocations: 1.638 MB / 5.093 GB, free: 86.77 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005685/18.29, allocations: 0.6872 MB / 5.094 GB, free: 86.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/18.29, allocations: 0.8249 MB / 5.095 GB, free: 86.75 MB / 0.9167 GB Notification: Performance of SimCode: time 1.292e-06/18.29, allocations: 2.25 kB / 5.095 GB, free: 86.75 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1999/18.49, allocations: 75.62 MB / 5.169 GB, free: 83.28 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/18.49, allocations: 179.1 kB / 5.169 GB, free: 83.08 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.221/24.71, allocations: 0 / 5.169 GB, free: 83.08 MB / 0.9167 GB