Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 289.7 MB / 302.2 MB, free: 2.113 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.001177/0.001177, allocations: 181.2 kB / 371.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.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: 89.77 kB / 0.745 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.689e-05/4.733e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3143, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.304/6.618, allocations: 2.122 GB / 3.102 GB, free: 114.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/6.618, allocations: 95.94 kB / 3.102 GB, free: 114.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.137/15.76, allocations: 1.983 GB / 5.085 GB, free: 105 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.953e-06/15.76, allocations: 0 / 5.085 GB, free: 105 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003035/15.76, allocations: 63.64 kB / 5.085 GB, free: 105 MB / 0.9948 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.009279/15.77, allocations: 2.617 MB / 5.088 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/15.77, allocations: 10.25 kB / 5.088 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007077/15.77, allocations: 0.7949 MB / 5.089 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00809/15.78, allocations: 2.342 MB / 5.091 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/15.78, allocations: 122.7 kB / 5.091 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/15.78, allocations: 168.1 kB / 5.091 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003737/15.78, allocations: 1.711 MB / 5.093 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/15.78, allocations: 4.734 kB / 5.093 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/15.79, allocations: 68.84 kB / 5.093 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/15.79, allocations: 57.31 kB / 5.093 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/15.79, allocations: 1.321 MB / 5.094 GB, free: 103.6 MB / 0.9948 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.01288/15.8, allocations: 8.056 MB / 5.102 GB, free: 99.72 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/15.8, allocations: 1.617 MB / 5.104 GB, free: 98.94 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000839/15.8, allocations: 0.5644 MB / 5.104 GB, free: 98.93 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004572/15.8, allocations: 210.2 kB / 5.105 GB, free: 98.74 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009551/15.8, allocations: 0.5715 MB / 5.105 GB, free: 98.68 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001539/15.81, allocations: 123.7 kB / 5.105 GB, free: 98.66 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=102): time 4.969e-06/15.81, allocations: 0 / 5.105 GB, free: 98.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=105): time 0.006414/15.81, allocations: 2.694 MB / 5.108 GB, free: 97.98 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/15.81, allocations: 172.4 kB / 5.108 GB, free: 97.79 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003109/15.82, allocations: 1.307 MB / 5.109 GB, free: 97.57 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/15.82, allocations: 54.08 kB / 5.109 GB, free: 97.54 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009484/15.82, allocations: 0.9756 MB / 5.11 GB, free: 97.29 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/15.82, allocations: 373.6 kB / 5.111 GB, free: 97.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/15.82, allocations: 21.78 kB / 5.111 GB, free: 97.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001302/15.82, allocations: 360 kB / 5.111 GB, free: 96.79 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007779/15.82, allocations: 434.4 kB / 5.111 GB, free: 96.79 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009815/15.82, allocations: 0.7963 MB / 5.112 GB, free: 96.38 MB / 0.9948 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.008598/15.83, allocations: 2.191 MB / 5.114 GB, free: 96.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/15.83, allocations: 3.656 kB / 5.114 GB, free: 96.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003386/15.83, allocations: 1.456 MB / 5.116 GB, free: 96 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000941/15.83, allocations: 3.037 MB / 5.119 GB, free: 92.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.045e-05/15.83, allocations: 11.78 kB / 5.119 GB, free: 92.85 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/15.83, allocations: 42.53 kB / 5.119 GB, free: 92.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/15.83, allocations: 281.5 kB / 5.119 GB, free: 92.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/15.84, allocations: 1.506 MB / 5.121 GB, free: 91.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/15.84, allocations: 164.4 kB / 5.121 GB, free: 91.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/15.84, allocations: 53.11 kB / 5.121 GB, free: 91.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/15.84, allocations: 8.438 kB / 5.121 GB, free: 91.5 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00251/15.84, allocations: 1.267 MB / 5.122 GB, free: 91.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/15.84, allocations: 14.61 kB / 5.122 GB, free: 91.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/15.84, allocations: 47.34 kB / 5.122 GB, free: 91.42 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/15.84, allocations: 277.8 kB / 5.122 GB, free: 91.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/15.84, allocations: 1.496 MB / 5.124 GB, free: 90.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/15.85, allocations: 152.9 kB / 5.124 GB, free: 90.09 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/15.85, allocations: 55.86 kB / 5.124 GB, free: 90.09 MB / 0.9948 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.0005319/15.85, allocations: 198.6 kB / 5.124 GB, free: 89.98 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00071/15.85, allocations: 195.5 kB / 5.124 GB, free: 89.88 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/15.85, allocations: 1.242 MB / 5.126 GB, free: 89.78 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/15.85, allocations: 14.36 kB / 5.126 GB, free: 89.78 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/15.85, allocations: 0 / 5.126 GB, free: 89.78 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001704/15.85, allocations: 0.9838 MB / 5.127 GB, free: 89.68 MB / 0.9948 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.008074/15.86, allocations: 3.36 MB / 5.13 GB, free: 89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/15.86, allocations: 0 / 5.13 GB, free: 89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/15.86, allocations: 225.5 kB / 5.13 GB, free: 89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002674/15.86, allocations: 91 kB / 5.13 GB, free: 88.98 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/15.86, allocations: 28.64 kB / 5.13 GB, free: 88.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/15.86, allocations: 2.738 MB / 5.133 GB, free: 86.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/15.86, allocations: 0 / 5.133 GB, free: 86.48 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/15.87, allocations: 1.973 MB / 5.135 GB, free: 86.05 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/15.87, allocations: 377.3 kB / 5.135 GB, free: 85.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008284/15.87, allocations: 23.38 kB / 5.135 GB, free: 85.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/15.87, allocations: 150.5 kB / 5.135 GB, free: 85.86 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/15.87, allocations: 84.83 kB / 5.135 GB, free: 85.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/15.87, allocations: 40.59 kB / 5.135 GB, free: 85.86 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002966/15.88, allocations: 1.009 MB / 5.136 GB, free: 85.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-07/15.88, allocations: 0 / 5.136 GB, free: 85.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.008131/15.88, allocations: 1.301 MB / 5.138 GB, free: 85.66 MB / 0.9948 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.006845/15.89, allocations: 3.486 MB / 5.141 GB, free: 84.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00466/15.9, allocations: 2.232 MB / 5.143 GB, free: 83.86 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/15.9, allocations: 0 / 5.143 GB, free: 83.86 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/15.9, allocations: 0.7556 MB / 5.144 GB, free: 83.63 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005736/15.9, allocations: 0.9705 MB / 5.145 GB, free: 83.61 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009091/15.91, allocations: 3.193 MB / 5.148 GB, free: 82.8 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/15.91, allocations: 1.636 MB / 5.15 GB, free: 82.07 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004917/15.92, allocations: 0.7008 MB / 5.15 GB, free: 82.05 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006201/15.92, allocations: 119.3 kB / 5.15 GB, free: 82.04 MB / 0.9948 GB Notification: Performance of SimCode: time 1.042e-06/15.92, allocations: 0 / 5.15 GB, free: 82.04 MB / 0.9948 GB Notification: Performance of Templates: time 0.1449/16.06, allocations: 79.81 MB / 5.228 GB, free: 79.11 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)