Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.27/1.27, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009774/0.0009774, allocations: 178.9 kB / 327.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 0.5785 GB, free: 20.19 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.0008107/0.0008108, allocations: 85.62 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 17.38 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1713, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.285/4.456, allocations: 2.24 GB / 3.141 GB, free: 313.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/4.456, allocations: 100.2 kB / 3.141 GB, free: 313.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.582/10.04, allocations: 1.899 GB / 5.041 GB, free: 111.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.134e-06/10.04, allocations: 3.5 kB / 5.041 GB, free: 111.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003649/10.04, allocations: 65.48 kB / 5.041 GB, free: 111.1 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.008492/10.05, allocations: 3.118 MB / 5.044 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/10.05, allocations: 11.19 kB / 5.044 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005042/10.05, allocations: 0.7887 MB / 5.044 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006083/10.06, allocations: 2.404 MB / 5.047 GB, free: 108.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/10.06, allocations: 132.2 kB / 5.047 GB, free: 108.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005071/10.06, allocations: 165.1 kB / 5.047 GB, free: 108.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003829/10.06, allocations: 1.814 MB / 5.049 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.96e-05/10.06, allocations: 4.844 kB / 5.049 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/10.06, allocations: 71.91 kB / 5.049 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.593e-05/10.06, allocations: 53.25 kB / 5.049 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002862/10.07, allocations: 1.463 MB / 5.05 GB, free: 108.5 MB / 0.9167 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.009837/10.08, allocations: 8.114 MB / 5.058 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/10.08, allocations: 1.742 MB / 5.06 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009166/10.08, allocations: 0.6087 MB / 5.061 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003801/10.08, allocations: 213.9 kB / 5.061 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/10.08, allocations: 0.6345 MB / 5.061 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001049/10.08, allocations: 127.3 kB / 5.062 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=102): time 3.717e-06/10.08, allocations: 0 / 5.062 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=105): time 0.006623/10.09, allocations: 3.434 MB / 5.065 GB, free: 102.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/10.09, allocations: 166.7 kB / 5.065 GB, free: 102.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/10.09, allocations: 1.559 MB / 5.067 GB, free: 102 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/10.09, allocations: 55.95 kB / 5.067 GB, free: 102 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006976/10.09, allocations: 0.9805 MB / 5.068 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/10.09, allocations: 364.4 kB / 5.068 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/10.09, allocations: 29.97 kB / 5.068 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.673e-05/10.09, allocations: 357 kB / 5.068 GB, free: 100.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008339/10.09, allocations: 496.6 kB / 5.069 GB, free: 100.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009989/10.09, allocations: 0.8737 MB / 5.07 GB, free: 99.8 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.009161/10.1, allocations: 3.489 MB / 5.073 GB, free: 98.43 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/10.1, allocations: 3.719 kB / 5.073 GB, free: 98.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002633/10.11, allocations: 1.579 MB / 5.075 GB, free: 97.78 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/10.11, allocations: 351.1 kB / 5.075 GB, free: 97.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/10.11, allocations: 10.5 kB / 5.075 GB, free: 97.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/10.11, allocations: 48.8 kB / 5.075 GB, free: 97.35 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/10.11, allocations: 284.7 kB / 5.075 GB, free: 97.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008622/10.11, allocations: 1.502 MB / 5.077 GB, free: 95.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/10.11, allocations: 172.4 kB / 5.077 GB, free: 95.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.87e-05/10.11, allocations: 51.88 kB / 5.077 GB, free: 95.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.159e-06/10.11, allocations: 6.156 kB / 5.077 GB, free: 95.82 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002082/10.11, allocations: 1.392 MB / 5.078 GB, free: 95.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/10.11, allocations: 6.219 kB / 5.078 GB, free: 95.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.81e-05/10.11, allocations: 49.05 kB / 5.078 GB, free: 95.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/10.11, allocations: 279.9 kB / 5.079 GB, free: 95.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007581/10.11, allocations: 1.503 MB / 5.08 GB, free: 93.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/10.11, allocations: 166.7 kB / 5.08 GB, free: 93.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/10.11, allocations: 54.28 kB / 5.08 GB, free: 93.73 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: 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.00115/10.12, allocations: 0.5971 MB / 5.081 GB, free: 93.32 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/10.12, allocations: 201.7 kB / 5.081 GB, free: 93.21 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/10.12, allocations: 1.354 MB / 5.082 GB, free: 92.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/10.12, allocations: 7.875 kB / 5.082 GB, free: 92.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/10.12, allocations: 3.25 kB / 5.082 GB, free: 92.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001704/10.12, allocations: 1.096 MB / 5.083 GB, free: 91.75 MB / 0.9167 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.005018/10.13, allocations: 3.475 MB / 5.087 GB, free: 88.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/10.13, allocations: 0 / 5.087 GB, free: 88.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009752/10.13, allocations: 237.7 kB / 5.087 GB, free: 88.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001973/10.13, allocations: 67.23 kB / 5.087 GB, free: 88.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.831e-05/10.13, allocations: 35.89 kB / 5.087 GB, free: 88.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/10.13, allocations: 2.741 MB / 5.09 GB, free: 85.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/10.13, allocations: 4.031 kB / 5.09 GB, free: 85.04 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/10.13, allocations: 2.062 MB / 5.092 GB, free: 82.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007463/10.13, allocations: 378.6 kB / 5.092 GB, free: 82.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/10.13, allocations: 19.98 kB / 5.092 GB, free: 82.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/10.13, allocations: 160.7 kB / 5.092 GB, free: 82.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/10.13, allocations: 73.86 kB / 5.092 GB, free: 82.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.49e-05/10.13, allocations: 40.06 kB / 5.093 GB, free: 82.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001324/10.13, allocations: 1.052 MB / 5.094 GB, free: 81.21 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/10.13, allocations: 0 / 5.094 GB, free: 81.21 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003837/10.14, allocations: 1.281 MB / 5.095 GB, free: 79.93 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) * 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.004252/10.14, allocations: 3.498 MB / 5.098 GB, free: 76.88 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003634/10.15, allocations: 2.332 MB / 5.1 GB, free: 74.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/10.15, allocations: 0 / 5.1 GB, free: 74.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/10.15, allocations: 0.8056 MB / 5.101 GB, free: 73.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004186/10.15, allocations: 0.9673 MB / 5.102 GB, free: 72.78 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006469/10.16, allocations: 4.86 MB / 5.107 GB, free: 67.98 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009293/10.16, allocations: 1.594 MB / 5.109 GB, free: 66.34 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002302/10.16, allocations: 0.5215 MB / 5.109 GB, free: 65.85 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/10.16, allocations: 147.4 kB / 5.109 GB, free: 65.71 MB / 0.9167 GB Notification: Performance of SimCode: time 1.903e-06/10.16, allocations: 0 / 5.109 GB, free: 65.71 MB / 0.9167 GB Notification: Performance of Templates: time 0.08774/10.25, allocations: 69.55 MB / 5.177 GB, free: 13.18 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)