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.001337/0.001337, allocations: 105.6 kB / 16.4 MB, free: 6.027 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.001515/0.001515, allocations: 198.1 kB / 17.34 MB, free: 5.605 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6894/0.6894, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 68.58 kB / 0.5577 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1437, allocations: 76.17 MB / 0.6321 GB, free: 4.5 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5687/0.7124, allocations: 236.4 MB / 0.8629 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02771/0.7401, allocations: 17.54 MB / 0.88 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004255/0.7444, allocations: 87.5 kB / 0.8801 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006033/0.7505, allocations: 2.124 MB / 0.8822 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00973/0.7602, allocations: 3.584 MB / 0.8857 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006414/0.7666, allocations: 2.585 MB / 0.8882 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01304/0.7797, allocations: 7.887 MB / 0.8959 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003719/0.7834, allocations: 1.933 MB / 0.8978 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006799/0.7903, allocations: 2.728 MB / 0.9005 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003745/0.7941, allocations: 1.629 MB / 0.9021 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006915/0.7948, allocations: 212 kB / 0.9023 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007281/0.8021, allocations: 3.606 MB / 0.9058 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.8033, allocations: 0.8919 MB / 0.9067 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001954/0.8053, allocations: 1.391 MB / 0.908 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009349/0.8146, allocations: 4.904 MB / 0.9128 GB, free: 13.01 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.8147, allocations: 0 / 0.9128 GB, free: 13.01 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8147, allocations: 3.938 kB / 0.9128 GB, free: 13.01 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.562e-05/0.8148, allocations: 0 / 0.9128 GB, free: 13.01 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.005943/0.8207, allocations: 3.245 MB / 0.916 GB, free: 9.684 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.8208, allocations: 12.03 kB / 0.916 GB, free: 9.672 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005509/0.8263, allocations: 0.8785 MB / 0.9168 GB, free: 8.789 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005424/0.8317, allocations: 2.794 MB / 0.9196 GB, free: 5.922 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-05/0.8319, allocations: 107.5 kB / 0.9197 GB, free: 5.816 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.8321, allocations: 140 kB / 0.9198 GB, free: 5.68 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/0.8356, allocations: 1.671 MB / 0.9214 GB, free: 3.93 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.8356, allocations: 7.938 kB / 0.9214 GB, free: 3.922 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.8358, allocations: 55.98 kB / 0.9215 GB, free: 3.867 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.376e-05/0.8358, allocations: 50.5 kB / 0.9215 GB, free: 3.816 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003707/0.8395, allocations: 1.442 MB / 0.923 GB, free: 2.367 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.01255/0.8521, allocations: 8.123 MB / 0.9309 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.855, allocations: 1.563 MB / 0.9324 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.8562, allocations: 0.5142 MB / 0.9329 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.8576, allocations: 0.7669 MB / 0.9337 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/0.8589, allocations: 0.543 MB / 0.9342 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.866e-06/0.8589, allocations: 3.938 kB / 0.9342 GB, free: 5.961 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.004569/0.8635, allocations: 1.602 MB / 0.9358 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.8635, allocations: 68.05 kB / 0.9358 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/0.8669, allocations: 2.156 MB / 0.9379 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.8671, allocations: 45.7 kB / 0.938 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009496/0.868, allocations: 1.058 MB / 0.939 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.8683, allocations: 295.9 kB / 0.9393 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004703/0.8688, allocations: 322.5 kB / 0.9396 GB, free: 340 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.8689, allocations: 305.1 kB / 0.9399 GB, free: 32 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.8703, allocations: 0.6157 MB / 0.9405 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.872, allocations: 1.014 MB / 0.9415 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002819/0.8748, allocations: 1.551 MB / 0.943 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.8749, allocations: 4.656 kB / 0.943 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004055/0.8789, allocations: 1.901 MB / 0.9449 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.879, allocations: 37.7 kB / 0.9449 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.879, allocations: 8.875 kB / 0.9449 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.65e-05/0.8791, allocations: 16 kB / 0.9449 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.8804, allocations: 327.5 kB / 0.9452 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.664e-05/0.8804, allocations: 27.86 kB / 0.9453 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.8821, allocations: 182.6 kB / 0.9454 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.8823, allocations: 59.98 kB / 0.9455 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002202/0.8845, allocations: 1.104 MB / 0.9466 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001604/0.8861, allocations: 1.01 MB / 0.9476 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002762/0.8889, allocations: 1.55 MB / 0.9491 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.414e-06/0.8889, allocations: 4 kB / 0.9491 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.0039/0.8928, allocations: 1.905 MB / 0.9509 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.8929, allocations: 35.73 kB / 0.951 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.8929, allocations: 8 kB / 0.951 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.8929, allocations: 16 kB / 0.951 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.8943, allocations: 331.6 kB / 0.9513 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/0.8943, allocations: 19.94 kB / 0.9513 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.896, allocations: 163 kB / 0.9515 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.8961, allocations: 56 kB / 0.9515 GB, free: 3.484 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.0003405/0.8964, allocations: 266.9 kB / 0.9518 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/0.8968, allocations: 209.3 kB / 0.952 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/0.8998, allocations: 1.192 MB / 0.9532 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.8998, allocations: 8 kB / 0.9532 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8998, allocations: 0 / 0.9532 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002391/0.9022, allocations: 1.227 MB / 0.9544 GB, free: 492 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.006632/0.9089, allocations: 3.12 MB / 0.9574 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.9089, allocations: 192 / 0.9574 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.91, allocations: 191.9 kB / 0.9576 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.9102, allocations: 48.75 kB / 0.9576 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.272e-05/0.9103, allocations: 23.98 kB / 0.9577 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.9117, allocations: 1.527 MB / 0.9591 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9117, allocations: 0 / 0.9591 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/0.9158, allocations: 1.759 MB / 0.9609 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.9169, allocations: 402 kB / 0.9613 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/0.9172, allocations: 20 kB / 0.9613 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.9184, allocations: 75.83 kB / 0.9613 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.9186, allocations: 56.58 kB / 0.9614 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/0.9187, allocations: 31.98 kB / 0.9614 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00233/0.9211, allocations: 1.441 MB / 0.9628 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9211, allocations: 4 kB / 0.9628 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002899/0.924, allocations: 1.095 MB / 0.9639 GB, free: 6.391 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.001828/0.9258, allocations: 0.7262 MB / 0.9646 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00477/0.9306, allocations: 2.303 MB / 0.9669 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.9306, allocations: 4.188 kB / 0.9669 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.932, allocations: 0.6116 MB / 0.9675 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004414/0.9365, allocations: 1.019 MB / 0.9685 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008276/0.9448, allocations: 4.18 MB / 0.9725 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.946, allocations: 1.66 MB / 0.9742 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002071/0.9481, allocations: 0.5557 MB / 0.9747 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/0.9486, allocations: 167.4 kB / 0.9749 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/0.9486, allocations: 0 / 0.9749 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.06776/1.016, allocations: 39.94 MB / 1.014 GB, free: 3.707 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)