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.582/1.582, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009859/0.0009856, allocations: 176.7 kB / 326.5 MB, free: 2.707 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.929/1.929, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0007429/0.000743, allocations: 94.23 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 14.83 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2296, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.8075/1.037, allocations: 258.5 MB / 1.149 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03277/1.07, allocations: 20.26 MB / 1.169 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005625/1.076, allocations: 83.5 kB / 1.169 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005375/1.081, allocations: 1.287 MB / 1.17 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01333/1.094, allocations: 3.797 MB / 1.174 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01246/1.107, allocations: 3.429 MB / 1.177 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01195/1.119, allocations: 7.992 MB / 1.185 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004257/1.123, allocations: 1.784 MB / 1.187 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006905/1.13, allocations: 2.337 MB / 1.189 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005271/1.135, allocations: 1.812 MB / 1.191 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000949/1.136, allocations: 94.47 kB / 1.191 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/1.147, allocations: 4.585 MB / 1.195 GB, free: 36 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001774/1.149, allocations: 0.7381 MB / 1.196 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.003425/1.152, allocations: 1.218 MB / 1.197 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0081/1.16, allocations: 3.833 MB / 1.201 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.161, allocations: 0 / 1.201 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.775e-06/1.161, allocations: 0 / 1.201 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000176/1.161, allocations: 0 / 1.201 GB, free: 10.44 MB / 0.7292 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.007584/1.168, allocations: 2.717 MB / 1.204 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/1.168, allocations: 8.031 kB / 1.204 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006102/1.174, allocations: 0.8086 MB / 1.205 GB, free: 6.852 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004935/1.179, allocations: 1.798 MB / 1.206 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004763/1.18, allocations: 190.9 kB / 1.207 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006103/1.181, allocations: 187.3 kB / 1.207 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005192/1.186, allocations: 1.894 MB / 1.209 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.332e-05/1.186, allocations: 3.906 kB / 1.209 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002756/1.186, allocations: 64 kB / 1.209 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.934e-05/1.186, allocations: 58.92 kB / 1.209 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/1.19, allocations: 1.628 MB / 1.21 GB, free: 0.9609 MB / 0.7292 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.01439/1.205, allocations: 8.37 MB / 1.218 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/1.208, allocations: 1.819 MB / 1.22 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/1.209, allocations: 0.6909 MB / 1.221 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005639/1.21, allocations: 243.8 kB / 1.221 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/1.211, allocations: 0.7079 MB / 1.222 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001205/1.212, allocations: 115.2 kB / 1.222 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=101): time 8.106e-06/1.213, allocations: 0 / 1.222 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=104): time 0.01018/1.223, allocations: 3.743 MB / 1.226 GB, free: 472 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/1.223, allocations: 145.5 kB / 1.226 GB, free: 296 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003262/1.226, allocations: 1.641 MB / 1.227 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/1.226, allocations: 49.7 kB / 1.227 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/1.227, allocations: 0.9666 MB / 1.228 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000451/1.228, allocations: 369.3 kB / 1.229 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/1.228, allocations: 117.6 kB / 1.229 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.228, allocations: 353.9 kB / 1.229 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/1.229, allocations: 0.5804 MB / 1.23 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/1.231, allocations: 0.9576 MB / 1.231 GB, free: 11.07 MB / 0.7605 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.01668/1.248, allocations: 4.736 MB / 1.235 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/1.248, allocations: 4 kB / 1.235 GB, free: 6.188 MB / 0.7605 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004526/1.252, allocations: 1.784 MB / 1.237 GB, free: 4.383 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002916/1.253, allocations: 345.2 kB / 1.237 GB, free: 3.941 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/1.253, allocations: 11.98 kB / 1.237 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/1.253, allocations: 48.84 kB / 1.237 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.254, allocations: 311.5 kB / 1.238 GB, free: 3.574 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/1.256, allocations: 1.51 MB / 1.239 GB, free: 1.934 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/1.258, allocations: 191.8 kB / 1.239 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/1.258, allocations: 63.73 kB / 1.239 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/1.258, allocations: 4 kB / 1.239 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003411/1.262, allocations: 1.566 MB / 1.241 GB, free: 108 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/1.262, allocations: 8 kB / 1.241 GB, free: 100 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/1.262, allocations: 57.08 kB / 1.241 GB, free: 40 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.263, allocations: 303.6 kB / 1.241 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/1.265, allocations: 1.51 MB / 1.243 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/1.267, allocations: 196.4 kB / 1.243 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/1.267, allocations: 55.98 kB / 1.243 GB, free: 13.86 MB / 0.7761 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.count,$PRE.TSet.T_start,TSet.count,TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 146 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001444/1.269, allocations: 0.602 MB / 1.244 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006958/1.269, allocations: 189.7 kB / 1.244 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003593/1.273, allocations: 1.468 MB / 1.245 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/1.273, allocations: 8 kB / 1.245 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.273, allocations: 7.938 kB / 1.245 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002484/1.275, allocations: 1.219 MB / 1.246 GB, free: 10.32 MB / 0.7761 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.007972/1.283, allocations: 3.646 MB / 1.25 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.283, allocations: 0 / 1.25 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/1.285, allocations: 247.8 kB / 1.25 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002963/1.285, allocations: 85.59 kB / 1.25 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/1.285, allocations: 31.98 kB / 1.25 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/1.287, allocations: 2.764 MB / 1.253 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.287, allocations: 0 / 1.253 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004659/1.292, allocations: 2.267 MB / 1.255 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.293, allocations: 390.6 kB / 1.256 GB, free: 484 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005025/1.294, allocations: 31.98 kB / 1.256 GB, free: 452 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/1.296, allocations: 187.6 kB / 1.256 GB, free: 268 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.296, allocations: 80.83 kB / 1.256 GB, free: 188 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/1.296, allocations: 39.97 kB / 1.256 GB, free: 148 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002213/1.298, allocations: 1.102 MB / 1.257 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.8e-07/1.298, allocations: 192 / 1.257 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003911/1.302, allocations: 0.9762 MB / 1.258 GB, free: 14.05 MB / 0.7917 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/1.303, allocations: 403.9 kB / 1.258 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005464/1.309, allocations: 2.587 MB / 1.261 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.309, allocations: 0 / 1.261 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/1.31, allocations: 0.8704 MB / 1.262 GB, free: 10.13 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005539/1.316, allocations: 0.9878 MB / 1.263 GB, free: 9.148 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009745/1.326, allocations: 5.015 MB / 1.268 GB, free: 4.09 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/1.327, allocations: 1.598 MB / 1.269 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007746/1.328, allocations: 163.4 kB / 1.269 GB, free: 2.301 MB / 0.7917 GB Notification: Performance of SimCode: time 7.01e-07/1.328, allocations: 0 / 1.269 GB, free: 2.301 MB / 0.7917 GB Notification: Performance of Templates: time 0.07067/1.399, allocations: 48.21 MB / 1.316 GB, free: 2.23 MB / 0.8386 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)