Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.641/1.641, allocations: 288.4 MB / 304.3 MB, free: 8.141 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.0009643/0.0009643, allocations: 186.2 kB / 373 MB, free: 10.14 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.588/1.588, allocations: 205.4 MB / 0.6317 GB, free: 9.871 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.0007947/0.0007947, allocations: 102.1 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004401, allocations: 16.59 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2582, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.581/4.84, allocations: 2.122 GB / 3.102 GB, free: 183.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/4.84, allocations: 103.9 kB / 3.103 GB, free: 183.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.339/11.18, allocations: 1.958 GB / 5.061 GB, free: 53.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.523e-06/11.18, allocations: 0 / 5.061 GB, free: 53.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000262/11.18, allocations: 59.98 kB / 5.061 GB, free: 53.44 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.009284/11.19, allocations: 3.117 MB / 5.064 GB, free: 50.24 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/11.19, allocations: 8.031 kB / 5.064 GB, free: 50.23 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006117/11.19, allocations: 0.7939 MB / 5.065 GB, free: 49.43 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006097/11.2, allocations: 2.399 MB / 5.067 GB, free: 46.98 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.95e-05/11.2, allocations: 119.3 kB / 5.067 GB, free: 46.87 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/11.2, allocations: 172.9 kB / 5.067 GB, free: 46.7 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/11.2, allocations: 1.799 MB / 5.069 GB, free: 44.82 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/11.2, allocations: 7.875 kB / 5.069 GB, free: 44.81 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/11.2, allocations: 68 kB / 5.069 GB, free: 44.75 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-05/11.2, allocations: 54.91 kB / 5.069 GB, free: 44.69 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/11.21, allocations: 1.452 MB / 5.071 GB, free: 43.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.01021/11.22, allocations: 8.096 MB / 5.078 GB, free: 34.54 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/11.22, allocations: 1.738 MB / 5.08 GB, free: 32.64 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009704/11.22, allocations: 0.6192 MB / 5.081 GB, free: 32.02 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004083/11.22, allocations: 211.1 kB / 5.081 GB, free: 31.78 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/11.22, allocations: 0.6337 MB / 5.082 GB, free: 31.13 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001081/11.22, allocations: 123.2 kB / 5.082 GB, free: 31.01 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=102): time 3.827e-06/11.22, allocations: 0 / 5.082 GB, free: 31.01 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.007239/11.23, allocations: 3.458 MB / 5.085 GB, free: 27.47 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/11.23, allocations: 167.2 kB / 5.085 GB, free: 27.27 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/11.23, allocations: 1.55 MB / 5.087 GB, free: 25.68 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/11.23, allocations: 53.64 kB / 5.087 GB, free: 25.62 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007511/11.23, allocations: 0.9755 MB / 5.088 GB, free: 24.63 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/11.23, allocations: 366.7 kB / 5.088 GB, free: 24.27 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/11.23, allocations: 20 kB / 5.088 GB, free: 24.25 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/11.23, allocations: 357.9 kB / 5.088 GB, free: 23.89 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008734/11.23, allocations: 498.3 kB / 5.089 GB, free: 23.41 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/11.24, allocations: 0.879 MB / 5.09 GB, free: 22.36 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.01036/11.25, allocations: 3.528 MB / 5.093 GB, free: 18.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/11.25, allocations: 4 kB / 5.093 GB, free: 18.69 MB / 0.9792 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003254/11.25, allocations: 1.583 MB / 5.095 GB, free: 17.09 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000199/11.25, allocations: 353.4 kB / 5.095 GB, free: 16.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/11.25, allocations: 11.94 kB / 5.095 GB, free: 16.62 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/11.25, allocations: 44.83 kB / 5.095 GB, free: 16.58 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/11.25, allocations: 291.5 kB / 5.095 GB, free: 16.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/11.25, allocations: 1.495 MB / 5.097 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/11.25, allocations: 159.7 kB / 5.097 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/11.25, allocations: 63.97 kB / 5.097 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/11.25, allocations: 7.938 kB / 5.097 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002815/11.26, allocations: 1.392 MB / 5.098 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.8e-05/11.26, allocations: 11.98 kB / 5.099 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/11.26, allocations: 48.78 kB / 5.099 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/11.26, allocations: 284.1 kB / 5.099 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/11.26, allocations: 1.506 MB / 5.1 GB, free: 11.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003229/11.26, allocations: 151.8 kB / 5.1 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/11.26, allocations: 59.98 kB / 5.1 GB, free: 10.85 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: 34 * 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 (149): * Single equations (assignments): 144 * 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.002008/11.27, allocations: 0.5975 MB / 5.101 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009306/11.27, allocations: 201.5 kB / 5.101 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004158/11.27, allocations: 1.354 MB / 5.103 GB, free: 8.676 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/11.27, allocations: 11.98 kB / 5.103 GB, free: 8.664 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/11.27, allocations: 7.938 kB / 5.103 GB, free: 8.656 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002191/11.27, allocations: 1.098 MB / 5.104 GB, free: 7.539 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.008809/11.28, allocations: 3.471 MB / 5.107 GB, free: 3.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/11.28, allocations: 0 / 5.107 GB, free: 3.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/11.28, allocations: 235.8 kB / 5.107 GB, free: 3.699 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002796/11.28, allocations: 65.67 kB / 5.107 GB, free: 3.629 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/11.28, allocations: 35.92 kB / 5.107 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/11.29, allocations: 2.752 MB / 5.11 GB, free: 0.5742 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/11.29, allocations: 4.031 kB / 5.11 GB, free: 0.5703 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/11.29, allocations: 2.064 MB / 5.112 GB, free: 14.47 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/11.29, allocations: 374.5 kB / 5.112 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005531/11.29, allocations: 28 kB / 5.112 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/11.29, allocations: 151.7 kB / 5.113 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/11.29, allocations: 80.92 kB / 5.113 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/11.29, allocations: 43.97 kB / 5.113 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002403/11.3, allocations: 1.032 MB / 5.114 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.485e-06/11.3, allocations: 4 kB / 5.114 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005844/11.3, allocations: 1.289 MB / 5.115 GB, free: 11.44 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) * 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.006502/11.31, allocations: 3.493 MB / 5.118 GB, free: 7.602 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005502/11.31, allocations: 2.351 MB / 5.121 GB, free: 5.191 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/11.31, allocations: 0 / 5.121 GB, free: 5.191 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/11.32, allocations: 0.8202 MB / 5.122 GB, free: 4.344 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006432/11.32, allocations: 0.9686 MB / 5.122 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5855/11.91, allocations: 4.813 MB / 5.127 GB, free: 127 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/11.91, allocations: 1.594 MB / 5.129 GB, free: 126.3 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002929/11.91, allocations: 0.5163 MB / 5.129 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/11.91, allocations: 146.6 kB / 5.129 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of SimCode: time 8.71e-07/11.91, allocations: 0 / 5.129 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.113/12.03, allocations: 69.5 MB / 5.197 GB, free: 125.1 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)