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 loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.219/2.219, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001366/0.001366, allocations: 174.7 kB / 326.2 MB, free: 2.867 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.842/2.842, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.000976/0.0009758, allocations: 85.05 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000627/0.0006271, allocations: 12.91 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.22, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.113/8.333, allocations: 2.24 GB / 3.139 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004255/8.334, allocations: 102.5 kB / 3.139 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 12.86/21.2, allocations: 1.899 GB / 5.038 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.026e-06/21.2, allocations: 3.938 kB / 5.038 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004801/21.2, allocations: 59.67 kB / 5.038 GB, free: 102.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.01276/21.21, allocations: 3.146 MB / 5.041 GB, free: 98.95 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/21.21, allocations: 8.031 kB / 5.041 GB, free: 98.94 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008282/21.22, allocations: 0.7938 MB / 5.042 GB, free: 98.17 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009461/21.23, allocations: 2.337 MB / 5.044 GB, free: 95.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/21.23, allocations: 118.5 kB / 5.044 GB, free: 95.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005863/21.23, allocations: 164 kB / 5.044 GB, free: 95.57 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005557/21.24, allocations: 1.821 MB / 5.046 GB, free: 93.68 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.424e-05/21.24, allocations: 3.422 kB / 5.046 GB, free: 93.68 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/21.24, allocations: 71.94 kB / 5.046 GB, free: 93.61 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.078e-05/21.24, allocations: 60.86 kB / 5.046 GB, free: 93.55 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005385/21.24, allocations: 1.457 MB / 5.048 GB, free: 92.09 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.01781/21.26, allocations: 8.07 MB / 5.056 GB, free: 83.55 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00378/21.26, allocations: 1.74 MB / 5.057 GB, free: 81.67 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/21.26, allocations: 0.6059 MB / 5.058 GB, free: 81.07 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006861/21.27, allocations: 214.8 kB / 5.058 GB, free: 80.83 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002015/21.27, allocations: 0.6409 MB / 5.059 GB, free: 80.18 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001639/21.27, allocations: 129.4 kB / 5.059 GB, free: 80.06 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=102): time 5.751e-06/21.27, allocations: 0 / 5.059 GB, free: 80.06 MB / 0.9167 GB Notification: Performance of matching and sorting (n=105): time 0.01345/21.28, allocations: 3.435 MB / 5.062 GB, free: 76.56 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/21.28, allocations: 167.2 kB / 5.062 GB, free: 76.36 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00323/21.29, allocations: 1.554 MB / 5.064 GB, free: 74.77 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004066/21.29, allocations: 49.7 kB / 5.064 GB, free: 74.71 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/21.29, allocations: 0.9708 MB / 5.065 GB, free: 73.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005673/21.29, allocations: 369.4 kB / 5.065 GB, free: 73.37 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/21.29, allocations: 26.48 kB / 5.065 GB, free: 73.35 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001097/21.29, allocations: 357.9 kB / 5.066 GB, free: 73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/21.29, allocations: 493.7 kB / 5.066 GB, free: 72.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/21.29, allocations: 0.8648 MB / 5.067 GB, free: 71.51 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.01653/21.31, allocations: 2.309 MB / 5.069 GB, free: 69.23 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-06/21.31, allocations: 0 / 5.069 GB, free: 69.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005332/21.31, allocations: 1.569 MB / 5.071 GB, free: 67.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002406/21.31, allocations: 344.6 kB / 5.071 GB, free: 67.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/21.31, allocations: 12 kB / 5.071 GB, free: 67.22 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/21.31, allocations: 47.95 kB / 5.071 GB, free: 67.17 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/21.32, allocations: 287.5 kB / 5.071 GB, free: 66.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/21.32, allocations: 1.496 MB / 5.073 GB, free: 65.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/21.32, allocations: 163.7 kB / 5.073 GB, free: 65.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/21.32, allocations: 55.98 kB / 5.073 GB, free: 65.05 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/21.32, allocations: 4 kB / 5.073 GB, free: 65.04 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004404/21.33, allocations: 1.388 MB / 5.074 GB, free: 63.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/21.33, allocations: 8 kB / 5.074 GB, free: 63.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/21.33, allocations: 48.78 kB / 5.074 GB, free: 63.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/21.33, allocations: 280.2 kB / 5.075 GB, free: 63.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/21.33, allocations: 1.502 MB / 5.076 GB, free: 61.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003309/21.33, allocations: 167.6 kB / 5.076 GB, free: 61.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/21.33, allocations: 51.98 kB / 5.076 GB, free: 61.47 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 () * 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.001789/21.34, allocations: 0.5982 MB / 5.077 GB, free: 60.86 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005751/21.34, allocations: 193.6 kB / 5.077 GB, free: 60.67 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004695/21.34, allocations: 1.35 MB / 5.078 GB, free: 59.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/21.34, allocations: 12 kB / 5.078 GB, free: 59.29 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/21.34, allocations: 3.984 kB / 5.078 GB, free: 59.29 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003537/21.34, allocations: 1.098 MB / 5.08 GB, free: 58.17 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.009956/21.35, allocations: 3.462 MB / 5.083 GB, free: 54.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/21.35, allocations: 8 kB / 5.083 GB, free: 54.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/21.36, allocations: 227.9 kB / 5.083 GB, free: 54.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003609/21.36, allocations: 69.66 kB / 5.083 GB, free: 54.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/21.36, allocations: 31.98 kB / 5.083 GB, free: 54.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/21.36, allocations: 2.744 MB / 5.086 GB, free: 51.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/21.36, allocations: 4.031 kB / 5.086 GB, free: 51.26 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006204/21.37, allocations: 2.052 MB / 5.088 GB, free: 49.17 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/21.37, allocations: 382.6 kB / 5.088 GB, free: 48.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005573/21.37, allocations: 24 kB / 5.088 GB, free: 48.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002891/21.37, allocations: 171.3 kB / 5.088 GB, free: 48.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/21.37, allocations: 72.89 kB / 5.089 GB, free: 48.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/21.37, allocations: 35.98 kB / 5.089 GB, free: 48.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002253/21.37, allocations: 1.051 MB / 5.09 GB, free: 47.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.71e-07/21.37, allocations: 0 / 5.09 GB, free: 47.41 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006564/21.38, allocations: 1.28 MB / 5.091 GB, free: 46.13 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.006465/21.39, allocations: 3.46 MB / 5.094 GB, free: 42.76 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006761/21.39, allocations: 2.326 MB / 5.097 GB, free: 40.38 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/21.39, allocations: 0 / 5.097 GB, free: 40.38 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/21.4, allocations: 0.8162 MB / 5.097 GB, free: 39.54 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008402/21.4, allocations: 0.9913 MB / 5.098 GB, free: 38.57 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/21.42, allocations: 4.851 MB / 5.103 GB, free: 33.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/21.42, allocations: 1.594 MB / 5.105 GB, free: 32.07 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004063/21.42, allocations: 0.5098 MB / 5.105 GB, free: 31.58 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008971/21.42, allocations: 147.4 kB / 5.105 GB, free: 31.44 MB / 0.9167 GB Notification: Performance of SimCode: time 1.322e-06/21.42, allocations: 0 / 5.105 GB, free: 31.44 MB / 0.9167 GB Notification: Performance of Templates: time 1.052/22.48, allocations: 68.62 MB / 5.172 GB, free: 130.3 MB / 0.9323 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)