Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.514/2.514, allocations: 287.5 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 186 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009225/0.0009219, allocations: 86.3 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005081, allocations: 12.97 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2197, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.356/6.576, allocations: 2.122 GB / 3.101 GB, free: 188.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/6.576, allocations: 99.95 kB / 3.101 GB, free: 188.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.698/16.27, allocations: 1.958 GB / 5.059 GB, free: 61.48 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.685e-06/16.27, allocations: 0 / 5.059 GB, free: 61.48 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003054/16.27, allocations: 59.98 kB / 5.059 GB, free: 61.43 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.01087/16.29, allocations: 3.106 MB / 5.062 GB, free: 58.24 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/16.29, allocations: 16.03 kB / 5.062 GB, free: 58.22 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007905/16.29, allocations: 0.7978 MB / 5.063 GB, free: 57.42 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008198/16.3, allocations: 2.388 MB / 5.065 GB, free: 54.98 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/16.3, allocations: 127.3 kB / 5.065 GB, free: 54.86 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003795/16.3, allocations: 168.8 kB / 5.065 GB, free: 54.7 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004843/16.31, allocations: 1.8 MB / 5.067 GB, free: 52.82 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.99e-05/16.31, allocations: 7.875 kB / 5.067 GB, free: 52.81 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/16.31, allocations: 60 kB / 5.067 GB, free: 52.75 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-05/16.31, allocations: 58.91 kB / 5.067 GB, free: 52.69 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004462/16.31, allocations: 1.456 MB / 5.069 GB, free: 51.23 MB / 0.9792 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.01501/16.33, allocations: 8.058 MB / 5.076 GB, free: 42.57 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/16.33, allocations: 1.746 MB / 5.078 GB, free: 40.68 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/16.33, allocations: 0.6154 MB / 5.079 GB, free: 40.05 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006124/16.33, allocations: 215.1 kB / 5.079 GB, free: 39.81 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001747/16.33, allocations: 0.6336 MB / 5.08 GB, free: 39.16 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001407/16.34, allocations: 119.2 kB / 5.08 GB, free: 39.04 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=102): time 4.117e-06/16.34, allocations: 0 / 5.08 GB, free: 39.04 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.01204/16.35, allocations: 3.458 MB / 5.083 GB, free: 35.51 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/16.35, allocations: 167.2 kB / 5.083 GB, free: 35.31 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/16.35, allocations: 1.546 MB / 5.085 GB, free: 33.72 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002419/16.35, allocations: 53.64 kB / 5.085 GB, free: 33.66 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009943/16.35, allocations: 0.9685 MB / 5.086 GB, free: 32.68 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000426/16.35, allocations: 374.7 kB / 5.086 GB, free: 32.31 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-05/16.35, allocations: 20 kB / 5.086 GB, free: 32.29 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001031/16.35, allocations: 349.9 kB / 5.086 GB, free: 31.94 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/16.35, allocations: 498.3 kB / 5.087 GB, free: 31.45 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/16.36, allocations: 0.8704 MB / 5.088 GB, free: 30.42 MB / 0.9792 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.01874/16.38, allocations: 3.512 MB / 5.091 GB, free: 26.77 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/16.38, allocations: 4 kB / 5.091 GB, free: 26.77 MB / 0.9792 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004839/16.38, allocations: 1.583 MB / 5.093 GB, free: 25.17 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002265/16.38, allocations: 342.4 kB / 5.093 GB, free: 24.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.528e-05/16.38, allocations: 11.94 kB / 5.093 GB, free: 24.71 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002482/16.38, allocations: 48.83 kB / 5.093 GB, free: 24.66 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/16.38, allocations: 275.6 kB / 5.093 GB, free: 24.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/16.38, allocations: 1.499 MB / 5.095 GB, free: 22.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003415/16.39, allocations: 171.6 kB / 5.095 GB, free: 22.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/16.39, allocations: 55.98 kB / 5.095 GB, free: 22.54 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/16.39, allocations: 9.5 kB / 5.095 GB, free: 22.53 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004333/16.39, allocations: 1.392 MB / 5.096 GB, free: 21.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/16.39, allocations: 8 kB / 5.096 GB, free: 21.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/16.39, allocations: 53.41 kB / 5.096 GB, free: 21.06 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/16.39, allocations: 275.6 kB / 5.097 GB, free: 20.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/16.4, allocations: 1.506 MB / 5.098 GB, free: 19.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003371/16.4, allocations: 159.7 kB / 5.098 GB, free: 18.99 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/16.4, allocations: 51.98 kB / 5.098 GB, free: 18.94 MB / 0.9792 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 ($PRE.TSet.T_start,$PRE.TSet.count,$whenCondition1,TSet.T_start,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 (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.001754/16.4, allocations: 0.5905 MB / 5.099 GB, free: 18.34 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/16.4, allocations: 197.5 kB / 5.099 GB, free: 18.14 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/16.41, allocations: 1.354 MB / 5.1 GB, free: 16.78 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/16.41, allocations: 8 kB / 5.1 GB, free: 16.77 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/16.41, allocations: 7.938 kB / 5.1 GB, free: 16.76 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003422/16.41, allocations: 1.102 MB / 5.102 GB, free: 15.64 MB / 0.9792 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.009907/16.42, allocations: 3.474 MB / 5.105 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/16.42, allocations: 4 kB / 5.105 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/16.42, allocations: 231.8 kB / 5.105 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003689/16.42, allocations: 73.67 kB / 5.105 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/16.42, allocations: 35.92 kB / 5.105 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/16.43, allocations: 2.74 MB / 5.108 GB, free: 8.688 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/16.43, allocations: 7.969 kB / 5.108 GB, free: 8.68 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006014/16.43, allocations: 2.06 MB / 5.11 GB, free: 6.582 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/16.43, allocations: 378.5 kB / 5.11 GB, free: 6.191 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004446/16.43, allocations: 27.98 kB / 5.11 GB, free: 6.164 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002661/16.44, allocations: 159.5 kB / 5.111 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/16.44, allocations: 72.89 kB / 5.111 GB, free: 5.938 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/16.44, allocations: 40.08 kB / 5.111 GB, free: 5.898 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002158/16.44, allocations: 1.035 MB / 5.112 GB, free: 4.84 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.6e-07/16.44, allocations: 0 / 5.112 GB, free: 4.84 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00612/16.44, allocations: 1.285 MB / 5.113 GB, free: 3.555 MB / 0.9792 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) * Number of clocked states: 0 () * 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.006417/16.45, allocations: 3.472 MB / 5.116 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.007367/16.46, allocations: 2.336 MB / 5.119 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/16.46, allocations: 448 / 5.119 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002317/16.46, allocations: 0.8123 MB / 5.119 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008828/16.47, allocations: 0.9713 MB / 5.12 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/16.48, allocations: 4.826 MB / 5.125 GB, free: 6.684 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/16.49, allocations: 1.59 MB / 5.127 GB, free: 5.059 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004067/16.49, allocations: 0.5155 MB / 5.127 GB, free: 4.539 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000783/16.49, allocations: 143.4 kB / 5.127 GB, free: 4.398 MB / 0.9948 GB Notification: Performance of SimCode: time 1.042e-06/16.49, allocations: 0 / 5.127 GB, free: 4.398 MB / 0.9948 GB Notification: Performance of Templates: time 0.9362/17.43, allocations: 68.58 MB / 5.194 GB, free: 127.9 MB / 0.9948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)