Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 288.4 MB / 303.7 MB, free: 8.086 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.0009651/0.0009651, allocations: 184.5 kB / 372.3 MB, free: 10.12 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.532/1.532, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.000815/0.000815, allocations: 100.8 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003954, allocations: 20.52 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.238, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7268/0.9649, allocations: 215.2 MB / 1.19 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02726/0.9922, allocations: 17.12 MB / 1.207 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003952/0.9962, allocations: 71.97 kB / 1.207 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004232/1, allocations: 1.043 MB / 1.208 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.009567/1.01, allocations: 2.917 MB / 1.211 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.009233/1.019, allocations: 2.956 MB / 1.214 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008691/1.028, allocations: 5.65 MB / 1.219 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003106/1.031, allocations: 1.584 MB / 1.221 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006138/1.037, allocations: 2.274 MB / 1.223 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003594/1.041, allocations: 1.491 MB / 1.225 GB, free: 244 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003838/1.041, allocations: 80 kB / 1.225 GB, free: 164 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007526/1.049, allocations: 3.792 MB / 1.228 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0009873/1.05, allocations: 0.6228 MB / 1.229 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/1.052, allocations: 1.047 MB / 1.23 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004978/1.057, allocations: 3.25 MB / 1.233 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.057, allocations: 0 / 1.233 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.705e-06/1.057, allocations: 0 / 1.233 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.868e-05/1.057, allocations: 0 / 1.233 GB, free: 7.418 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.004716/1.062, allocations: 2.484 MB / 1.236 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/1.062, allocations: 8.031 kB / 1.236 GB, free: 4.859 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/1.066, allocations: 0.8089 MB / 1.236 GB, free: 4.047 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003259/1.069, allocations: 1.653 MB / 1.238 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000396/1.07, allocations: 178.8 kB / 1.238 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/1.07, allocations: 143.9 kB / 1.238 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/1.073, allocations: 1.706 MB / 1.24 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/1.073, allocations: 4 kB / 1.24 GB, free: 244 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/1.074, allocations: 52 kB / 1.24 GB, free: 192 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/1.074, allocations: 46.53 kB / 1.24 GB, free: 144 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/1.077, allocations: 1.489 MB / 1.242 GB, free: 14.64 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 preOpt removeSimpleEquations (simulation): time 0.01079/1.088, allocations: 7.632 MB / 1.249 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/1.091, allocations: 1.656 MB / 1.251 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/1.092, allocations: 0.5393 MB / 1.251 GB, free: 4.133 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/1.093, allocations: 0.8103 MB / 1.252 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/1.094, allocations: 0.5871 MB / 1.252 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008834/1.095, allocations: 123.2 kB / 1.253 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=84): time 4.238e-06/1.095, allocations: 0 / 1.253 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of matching and sorting (n=84): time 0.00397/1.099, allocations: 1.66 MB / 1.254 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/1.099, allocations: 141.5 kB / 1.254 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/1.102, allocations: 1.616 MB / 1.256 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.833e-05/1.102, allocations: 49.7 kB / 1.256 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008349/1.103, allocations: 0.9359 MB / 1.257 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/1.103, allocations: 299.8 kB / 1.257 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/1.103, allocations: 20 kB / 1.257 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.103, allocations: 349.9 kB / 1.258 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/1.104, allocations: 470.3 kB / 1.258 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/1.105, allocations: 0.8313 MB / 1.259 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/1.108, allocations: 1.255 MB / 1.26 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.108, allocations: 4 kB / 1.26 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002983/1.111, allocations: 1.477 MB / 1.261 GB, free: 8.953 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002789/1.111, allocations: 377.7 kB / 1.262 GB, free: 8.461 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/1.111, allocations: 11.94 kB / 1.262 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/1.111, allocations: 16 kB / 1.262 GB, free: 8.434 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.112, allocations: 287.6 kB / 1.262 GB, free: 8.152 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/1.112, allocations: 15.94 kB / 1.262 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/1.114, allocations: 163.3 kB / 1.262 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.696e-05/1.114, allocations: 51.98 kB / 1.262 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/1.114, allocations: 4 kB / 1.262 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002673/1.117, allocations: 1.306 MB / 1.264 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/1.117, allocations: 8 kB / 1.264 GB, free: 6.609 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/1.117, allocations: 12 kB / 1.264 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/1.118, allocations: 284 kB / 1.264 GB, free: 6.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/1.118, allocations: 12 kB / 1.264 GB, free: 6.309 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/1.119, allocations: 162.6 kB / 1.264 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.701e-05/1.12, allocations: 59.92 kB / 1.264 GB, free: 6.094 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (134): * Single equations (assignments): 130 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001045/1.121, allocations: 0.5435 MB / 1.265 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/1.121, allocations: 177.8 kB / 1.265 GB, free: 5.363 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/1.124, allocations: 1.22 MB / 1.266 GB, free: 4.125 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/1.124, allocations: 8 kB / 1.266 GB, free: 4.117 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.124, allocations: 0 / 1.266 GB, free: 4.117 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002307/1.126, allocations: 1.281 MB / 1.267 GB, free: 2.746 MB / 0.7917 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.005725/1.132, allocations: 2.972 MB / 1.27 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.132, allocations: 7.938 kB / 1.27 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.133, allocations: 203.9 kB / 1.27 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002337/1.133, allocations: 48.81 kB / 1.27 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.935e-05/1.133, allocations: 27.98 kB / 1.27 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/1.135, allocations: 1.425 MB / 1.272 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.135, allocations: 4.031 kB / 1.272 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003818/1.138, allocations: 1.847 MB / 1.274 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008116/1.139, allocations: 346.7 kB / 1.274 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/1.139, allocations: 20 kB / 1.274 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.141, allocations: 159.8 kB / 1.274 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/1.141, allocations: 60.58 kB / 1.274 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/1.141, allocations: 35.97 kB / 1.274 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00169/1.143, allocations: 1.082 MB / 1.275 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.5e-07/1.143, allocations: 4 kB / 1.275 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0028/1.145, allocations: 1.013 MB / 1.276 GB, free: 9.176 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * 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 (84): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/1.147, allocations: 0.645 MB / 1.277 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00438/1.152, allocations: 1.938 MB / 1.279 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.152, allocations: 0 / 1.279 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/1.153, allocations: 0.6352 MB / 1.279 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/1.157, allocations: 0.8085 MB / 1.28 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00879/1.166, allocations: 4.463 MB / 1.285 GB, free: 0.6992 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/1.168, allocations: 1.495 MB / 1.286 GB, free: 15.16 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002229/1.17, allocations: 450.7 kB / 1.287 GB, free: 14.72 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/1.17, allocations: 135.4 kB / 1.287 GB, free: 14.59 MB / 0.823 GB Notification: Performance of SimCode: time 1.052e-06/1.17, allocations: 0 / 1.287 GB, free: 14.59 MB / 0.823 GB Notification: Performance of Templates: time 0.05724/1.228, allocations: 32.33 MB / 1.318 GB, free: 14.58 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)