Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001378/0.001378, allocations: 117.5 kB / 16.37 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.001388/0.001388, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8109/0.8109, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3459, allocations: 80.19 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5135/0.8595, allocations: 235.9 MB / 0.8119 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02063/0.8802, allocations: 15.73 MB / 0.8273 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003749/0.884, allocations: 90.16 kB / 0.8273 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003773/0.8878, allocations: 1.313 MB / 0.8286 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00858/0.8964, allocations: 3.416 MB / 0.832 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005804/0.9022, allocations: 2.491 MB / 0.8344 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007007/0.9092, allocations: 4.999 MB / 0.8393 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002765/0.912, allocations: 1.914 MB / 0.8411 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005638/0.9177, allocations: 2.682 MB / 0.8438 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003326/0.921, allocations: 1.563 MB / 0.8453 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004411/0.9215, allocations: 197.7 kB / 0.8455 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006787/0.9283, allocations: 3.427 MB / 0.8488 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.9294, allocations: 0.7475 MB / 0.8496 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.9312, allocations: 1.197 MB / 0.8507 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009501/0.9407, allocations: 4.313 MB / 0.8549 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.9408, allocations: 4 kB / 0.8549 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9408, allocations: 0 / 0.8549 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.516e-05/0.9409, allocations: 0 / 0.8549 GB, free: 5.465 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.005347/0.9462, allocations: 2.826 MB / 0.8577 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.9463, allocations: 12.03 kB / 0.8577 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005002/0.9513, allocations: 0.7693 MB / 0.8585 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003666/0.955, allocations: 1.732 MB / 0.8602 GB, free: 120 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-05/0.9551, allocations: 102.6 kB / 0.8602 GB, free: 16 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/0.9554, allocations: 144 kB / 0.8604 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.9585, allocations: 1.643 MB / 0.862 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.9586, allocations: 3.984 kB / 0.862 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.9587, allocations: 56 kB / 0.862 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.788e-05/0.9588, allocations: 54.44 kB / 0.8621 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003305/0.9621, allocations: 1.417 MB / 0.8635 GB, free: 12.64 MB / 0.6075 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.01123/0.9733, allocations: 7.733 MB / 0.871 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/0.9761, allocations: 1.564 MB / 0.8726 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.9772, allocations: 0.5076 MB / 0.8731 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.9786, allocations: 0.7827 MB / 0.8738 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/0.9799, allocations: 0.5461 MB / 0.8744 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=83): time 3.417e-06/0.9799, allocations: 0 / 0.8744 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.004287/0.9842, allocations: 1.577 MB / 0.8759 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.9843, allocations: 64.41 kB / 0.876 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/0.9868, allocations: 1.567 MB / 0.8775 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.9869, allocations: 45.7 kB / 0.8775 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008216/0.9877, allocations: 0.923 MB / 0.8784 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/0.988, allocations: 300.7 kB / 0.8787 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.9884, allocations: 210.8 kB / 0.8789 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.9886, allocations: 353.9 kB / 0.8793 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.9896, allocations: 453.8 kB / 0.8797 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.9909, allocations: 0.7755 MB / 0.8804 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/0.9933, allocations: 1.214 MB / 0.8816 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.9933, allocations: 4 kB / 0.8816 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003139/0.9964, allocations: 1.423 MB / 0.883 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.9965, allocations: 33.7 kB / 0.8831 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.9965, allocations: 11 kB / 0.8831 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.9966, allocations: 16.75 kB / 0.8831 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.9978, allocations: 268 kB / 0.8833 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/0.9978, allocations: 22.69 kB / 0.8834 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.9993, allocations: 143.6 kB / 0.8835 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.9994, allocations: 51.94 kB / 0.8835 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001681/1.001, allocations: 0.8037 MB / 0.8843 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001266/1.002, allocations: 0.7693 MB / 0.8851 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002248/1.005, allocations: 1.178 MB / 0.8862 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.628e-06/1.005, allocations: 8 kB / 0.8862 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.003416/1.008, allocations: 1.386 MB / 0.8876 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/1.008, allocations: 38.53 kB / 0.8876 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.008, allocations: 8 kB / 0.8876 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.008, allocations: 20 kB / 0.8877 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.009, allocations: 267.4 kB / 0.8879 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.333e-05/1.009, allocations: 18.28 kB / 0.8879 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/1.011, allocations: 123.9 kB / 0.888 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.011, allocations: 51.98 kB / 0.8881 GB, free: 2.289 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (131): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0003149/1.011, allocations: 245.4 kB / 0.8883 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/1.012, allocations: 177.8 kB / 0.8885 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/1.015, allocations: 1.166 MB / 0.8896 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/1.015, allocations: 8 kB / 0.8896 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.015, allocations: 0 / 0.8896 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002275/1.017, allocations: 1.227 MB / 0.8908 GB, free: 15.38 MB / 0.6387 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.005886/1.023, allocations: 2.889 MB / 0.8937 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.023, allocations: 8.125 kB / 0.8937 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.024, allocations: 191.5 kB / 0.8939 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/1.024, allocations: 44.83 kB / 0.8939 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/1.024, allocations: 27.98 kB / 0.8939 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/1.025, allocations: 1.531 MB / 0.8954 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.025, allocations: 0 / 0.8954 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0037/1.029, allocations: 1.77 MB / 0.8972 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007914/1.03, allocations: 342.6 kB / 0.8975 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/1.03, allocations: 23.94 kB / 0.8975 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.031, allocations: 61.83 kB / 0.8976 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/1.032, allocations: 56.58 kB / 0.8976 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/1.032, allocations: 31.98 kB / 0.8976 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001676/1.033, allocations: 1.056 MB / 0.8987 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.31e-07/1.033, allocations: 0 / 0.8987 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002469/1.036, allocations: 0.935 MB / 0.8996 GB, free: 6.199 MB / 0.6387 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.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 (83): * Single equations (assignments): 80 * 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.001526/1.037, allocations: 0.5904 MB / 0.9002 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003916/1.041, allocations: 1.781 MB / 0.9019 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.041, allocations: 0 / 0.9019 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/1.043, allocations: 0.6103 MB / 0.9025 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00355/1.046, allocations: 0.8263 MB / 0.9033 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007537/1.054, allocations: 3.59 MB / 0.9068 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/1.055, allocations: 1.494 MB / 0.9083 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001782/1.057, allocations: 446.3 kB / 0.9087 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/1.057, allocations: 131.4 kB / 0.9088 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of SimCode: time 9.82e-07/1.057, allocations: 4 kB / 0.9088 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.05248/1.11, allocations: 31.24 MB / 0.9393 GB, free: 14.21 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)