Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008827/0.000883, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4507/0.4507, allocations: 86.28 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 223.3 MB / 348.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007465/0.0007464, allocations: 94.3 kB / 420.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 12 kB / 0.4901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2968, allocations: 71.03 MB / 0.5595 GB, free: 43.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.426/3.722, allocations: 1.906 GB / 2.465 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/3.723, allocations: 95.95 kB / 2.465 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.148/9.871, allocations: 1.974 GB / 4.439 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.363e-06/9.871, allocations: 0 / 4.439 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003118/9.871, allocations: 57.02 kB / 4.439 GB, free: 68.03 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.007822/9.879, allocations: 3.055 MB / 4.442 GB, free: 66.09 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/9.879, allocations: 11.06 kB / 4.442 GB, free: 66.09 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/9.884, allocations: 0.7877 MB / 4.443 GB, free: 65.79 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006278/9.891, allocations: 2.365 MB / 4.445 GB, free: 64.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/9.891, allocations: 124 kB / 4.446 GB, free: 64.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005325/9.891, allocations: 157.9 kB / 4.446 GB, free: 64.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004605/9.896, allocations: 1.772 MB / 4.447 GB, free: 63.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.759e-05/9.896, allocations: 14.16 kB / 4.447 GB, free: 63.15 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/9.896, allocations: 65.34 kB / 4.447 GB, free: 63.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.176e-05/9.896, allocations: 58.22 kB / 4.448 GB, free: 63.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003642/9.9, allocations: 1.458 MB / 4.449 GB, free: 61.84 MB / 0.6511 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.01122/9.911, allocations: 8.127 MB / 4.457 GB, free: 53.26 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/9.913, allocations: 1.726 MB / 4.459 GB, free: 51.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/9.914, allocations: 0.6411 MB / 4.459 GB, free: 50.78 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003816/9.915, allocations: 213.4 kB / 4.459 GB, free: 50.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/9.916, allocations: 0.6414 MB / 4.46 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001018/9.917, allocations: 120.3 kB / 4.46 GB, free: 49.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 5.149e-06/9.917, allocations: 0.8438 kB / 4.46 GB, free: 49.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=107): time 0.007469/9.924, allocations: 3.469 MB / 4.464 GB, free: 46.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/9.924, allocations: 119.8 kB / 4.464 GB, free: 46.11 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/9.927, allocations: 1.509 MB / 4.465 GB, free: 44.55 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/9.927, allocations: 53.7 kB / 4.465 GB, free: 44.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006763/9.927, allocations: 0.9502 MB / 4.466 GB, free: 43.54 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000263/9.928, allocations: 375.6 kB / 4.466 GB, free: 43.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-05/9.928, allocations: 31.06 kB / 4.467 GB, free: 43.15 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.323e-05/9.928, allocations: 353.9 kB / 4.467 GB, free: 42.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009008/9.929, allocations: 481 kB / 4.467 GB, free: 42.33 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/9.93, allocations: 0.8466 MB / 4.468 GB, free: 41.34 MB / 0.6511 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.01045/9.94, allocations: 3.468 MB / 4.472 GB, free: 37.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/9.94, allocations: 4 kB / 4.472 GB, free: 37.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002945/9.943, allocations: 1.552 MB / 4.473 GB, free: 36.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000154/9.944, allocations: 346.3 kB / 4.473 GB, free: 35.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/9.944, allocations: 8 kB / 4.473 GB, free: 35.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/9.944, allocations: 36.84 kB / 4.473 GB, free: 35.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/9.945, allocations: 291.5 kB / 4.474 GB, free: 35.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009479/9.946, allocations: 1.5 MB / 4.475 GB, free: 33.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/9.948, allocations: 170.7 kB / 4.475 GB, free: 33.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/9.948, allocations: 55.98 kB / 4.475 GB, free: 33.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/9.948, allocations: 4 kB / 4.475 GB, free: 33.56 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002326/9.95, allocations: 1.365 MB / 4.477 GB, free: 32.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/9.95, allocations: 12.5 kB / 4.477 GB, free: 32.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/9.95, allocations: 48.84 kB / 4.477 GB, free: 32.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/9.952, allocations: 279.6 kB / 4.477 GB, free: 31.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008654/9.952, allocations: 1.506 MB / 4.478 GB, free: 30.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/9.954, allocations: 165.8 kB / 4.479 GB, free: 30.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/9.955, allocations: 55.05 kB / 4.479 GB, free: 29.99 MB / 0.6511 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): 145 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.001262/9.956, allocations: 0.5788 MB / 4.479 GB, free: 29.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004311/9.956, allocations: 189.7 kB / 4.479 GB, free: 29.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/9.959, allocations: 1.37 MB / 4.481 GB, free: 27.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/9.959, allocations: 12 kB / 4.481 GB, free: 27.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/9.959, allocations: 3.75 kB / 4.481 GB, free: 27.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001863/9.961, allocations: 1.114 MB / 4.482 GB, free: 26.69 MB / 0.6511 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.006647/9.968, allocations: 3.525 MB / 4.485 GB, free: 23.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/9.968, allocations: 0 / 4.485 GB, free: 23.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/9.969, allocations: 227.7 kB / 4.486 GB, free: 22.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/9.969, allocations: 73.7 kB / 4.486 GB, free: 22.76 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.406e-05/9.969, allocations: 27.98 kB / 4.486 GB, free: 22.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/9.971, allocations: 2.753 MB / 4.488 GB, free: 19.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/9.971, allocations: 4.125 kB / 4.488 GB, free: 19.72 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/9.974, allocations: 2.075 MB / 4.49 GB, free: 17.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/9.975, allocations: 374.6 kB / 4.491 GB, free: 17.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004729/9.976, allocations: 26.44 kB / 4.491 GB, free: 17.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/9.978, allocations: 155.7 kB / 4.491 GB, free: 17.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/9.978, allocations: 76.5 kB / 4.491 GB, free: 16.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/9.978, allocations: 43.98 kB / 4.491 GB, free: 16.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001761/9.98, allocations: 1.011 MB / 4.492 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/9.98, allocations: 0 / 4.492 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004977/9.985, allocations: 1.245 MB / 4.493 GB, free: 14.65 MB / 0.6511 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.s[1],mov.filter.s[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 (105): * Single equations (assignments): 101 * 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.005516/9.99, allocations: 3.456 MB / 4.497 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004959/9.995, allocations: 2.247 MB / 4.499 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/9.995, allocations: 4 kB / 4.499 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/9.997, allocations: 0.8273 MB / 4.5 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005379/10, allocations: 0.9539 MB / 4.501 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009128/10.01, allocations: 4.764 MB / 4.505 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/10.01, allocations: 1.575 MB / 4.507 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002843/10.02, allocations: 0.5204 MB / 4.507 GB, free: 368 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005558/10.02, allocations: 147.4 kB / 4.507 GB, free: 220 kB / 0.6511 GB Notification: Performance of SimCode: time 5.61e-07/10.02, allocations: 4 kB / 4.507 GB, free: 216 kB / 0.6511 GB Notification: Performance of Templates: time 0.4016/10.42, allocations: 68.23 MB / 4.574 GB, free: 64.77 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)