Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 117.3 kB / 17.09 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 192.7 kB / 18.01 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.734/0.734, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 65.61 kB / 0.5584 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1734, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.721/0.8944, allocations: 236.4 MB / 0.8636 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03158/0.9261, allocations: 17.52 MB / 0.8807 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005302/0.9314, allocations: 91.5 kB / 0.8808 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007475/0.9389, allocations: 2.13 MB / 0.8828 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01238/0.9513, allocations: 3.585 MB / 0.8863 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007958/0.9593, allocations: 2.58 MB / 0.8889 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01393/0.9733, allocations: 7.887 MB / 0.8966 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004302/0.9776, allocations: 1.939 MB / 0.8985 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007287/0.9849, allocations: 2.678 MB / 0.9011 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004418/0.9894, allocations: 1.641 MB / 0.9027 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.9904, allocations: 208 kB / 0.9029 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008845/0.9993, allocations: 3.606 MB / 0.9064 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001747/1.001, allocations: 0.8918 MB / 0.9073 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003693/1.005, allocations: 1.38 MB / 0.9086 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01383/1.019, allocations: 4.911 MB / 0.9134 GB, free: 12.99 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/1.019, allocations: 3.984 kB / 0.9134 GB, free: 12.98 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.745e-06/1.019, allocations: 0 / 0.9134 GB, free: 12.98 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001901/1.019, allocations: 0 / 0.9134 GB, free: 12.98 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.01234/1.031, allocations: 3.245 MB / 0.9166 GB, free: 9.66 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.031, allocations: 8.031 kB / 0.9166 GB, free: 9.652 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005988/1.037, allocations: 0.8794 MB / 0.9175 GB, free: 8.77 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006215/1.044, allocations: 2.798 MB / 0.9202 GB, free: 5.898 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/1.044, allocations: 102.6 kB / 0.9203 GB, free: 5.797 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004823/1.044, allocations: 140 kB / 0.9204 GB, free: 5.66 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004162/1.048, allocations: 1.675 MB / 0.9221 GB, free: 3.906 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/1.048, allocations: 7.938 kB / 0.9221 GB, free: 3.898 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/1.049, allocations: 52 kB / 0.9221 GB, free: 3.848 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-05/1.049, allocations: 50.52 kB / 0.9222 GB, free: 3.797 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003672/1.052, allocations: 1.446 MB / 0.9236 GB, free: 2.344 MB / 0.67 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.0135/1.066, allocations: 8.113 MB / 0.9315 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/1.069, allocations: 1.555 MB / 0.933 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/1.07, allocations: 0.5181 MB / 0.9335 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/1.071, allocations: 0.7669 MB / 0.9343 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0013/1.073, allocations: 0.5507 MB / 0.9348 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 3.697e-06/1.073, allocations: 0 / 0.9348 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.004766/1.077, allocations: 1.602 MB / 0.9364 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/1.077, allocations: 64 kB / 0.9364 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005048/1.082, allocations: 2.16 MB / 0.9385 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001738/1.083, allocations: 46.36 kB / 0.9386 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/1.084, allocations: 1.058 MB / 0.9396 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/1.084, allocations: 291.9 kB / 0.9399 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005788/1.085, allocations: 322.5 kB / 0.9402 GB, free: 332 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.085, allocations: 305.1 kB / 0.9405 GB, free: 24 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/1.086, allocations: 0.6196 MB / 0.9411 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/1.088, allocations: 1.014 MB / 0.9421 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/1.091, allocations: 1.551 MB / 0.9436 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/1.091, allocations: 0.5 kB / 0.9436 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003797/1.094, allocations: 1.909 MB / 0.9455 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/1.095, allocations: 33.7 kB / 0.9455 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/1.095, allocations: 8 kB / 0.9455 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.521e-05/1.095, allocations: 16 kB / 0.9455 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.096, allocations: 328.1 kB / 0.9458 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.42e-05/1.096, allocations: 23.92 kB / 0.9459 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/1.098, allocations: 186.6 kB / 0.946 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/1.098, allocations: 59.97 kB / 0.9461 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002131/1.1, allocations: 1.112 MB / 0.9472 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001533/1.102, allocations: 1.01 MB / 0.9482 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002564/1.104, allocations: 1.55 MB / 0.9497 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.01e-05/1.104, allocations: 4 kB / 0.9497 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003697/1.108, allocations: 1.901 MB / 0.9515 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/1.108, allocations: 36.2 kB / 0.9516 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.108, allocations: 16.09 kB / 0.9516 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.108, allocations: 16 kB / 0.9516 GB, free: 4.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/1.109, allocations: 319.5 kB / 0.9519 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.212e-05/1.109, allocations: 27.92 kB / 0.9519 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/1.111, allocations: 159 kB / 0.9521 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/1.111, allocations: 59.98 kB / 0.9521 GB, free: 3.465 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.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 (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003745/1.111, allocations: 263 kB / 0.9524 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005601/1.112, allocations: 217.3 kB / 0.9526 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/1.115, allocations: 1.178 MB / 0.9538 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/1.115, allocations: 8 kB / 0.9538 GB, free: 1.793 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.115, allocations: 0 / 0.9538 GB, free: 1.793 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002232/1.117, allocations: 1.227 MB / 0.955 GB, free: 484 kB / 0.7012 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.00648/1.124, allocations: 3.113 MB / 0.958 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.124, allocations: 8.125 kB / 0.958 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009229/1.125, allocations: 187.7 kB / 0.9582 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/1.125, allocations: 48.77 kB / 0.9582 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-05/1.125, allocations: 23.98 kB / 0.9583 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/1.126, allocations: 1.535 MB / 0.9598 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.126, allocations: 0 / 0.9598 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/1.13, allocations: 1.759 MB / 0.9615 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009859/1.131, allocations: 406 kB / 0.9619 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004903/1.132, allocations: 16 kB / 0.9619 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.133, allocations: 81.89 kB / 0.962 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/1.133, allocations: 56.58 kB / 0.962 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.732e-05/1.133, allocations: 31.98 kB / 0.962 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002754/1.136, allocations: 1.437 MB / 0.9634 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/1.136, allocations: 0 / 0.9634 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003389/1.139, allocations: 1.095 MB / 0.9645 GB, free: 6.383 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,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.002011/1.141, allocations: 0.737 MB / 0.9652 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004868/1.146, allocations: 2.295 MB / 0.9675 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.146, allocations: 4.625 kB / 0.9675 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/1.148, allocations: 0.6039 MB / 0.9681 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005027/1.153, allocations: 1.017 MB / 0.9691 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.163, allocations: 4.311 MB / 0.9733 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002016/1.165, allocations: 1.664 MB / 0.9749 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007937/1.166, allocations: 171.4 kB / 0.9751 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of SimCode: time 9.51e-07/1.166, allocations: 0 / 0.9751 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of Templates: time 0.062/1.228, allocations: 40.84 MB / 1.015 GB, free: 2.977 MB / 0.7637 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)