Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001098/0.001098, allocations: 108.9 kB / 16.37 MB, free: 6.465 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.001101/0.001102, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.256/1.256, 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-master/package.mo): time 0.759/0.759, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 0.5068 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3046, allocations: 80.9 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5291/0.8338, allocations: 235.9 MB / 0.8162 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.8521, allocations: 15.72 MB / 0.8315 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/0.8551, allocations: 90.16 kB / 0.8316 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003086/0.8582, allocations: 1.329 MB / 0.8329 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007669/0.8659, allocations: 3.4 MB / 0.8362 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005713/0.8716, allocations: 2.502 MB / 0.8387 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006424/0.878, allocations: 4.971 MB / 0.8435 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.8809, allocations: 1.9 MB / 0.8454 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008832/0.8897, allocations: 2.683 MB / 0.848 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004346/0.8941, allocations: 1.57 MB / 0.8495 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009048/0.895, allocations: 197.9 kB / 0.8497 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00701/0.9021, allocations: 3.427 MB / 0.8531 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.9032, allocations: 0.7435 MB / 0.8538 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002236/0.9054, allocations: 1.194 MB / 0.855 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007092/0.9125, allocations: 4.31 MB / 0.8592 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9126, allocations: 8 kB / 0.8592 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9126, allocations: 0 / 0.8592 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.627e-05/0.9127, allocations: 2.531 kB / 0.8592 GB, free: 3.035 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.005664/0.9184, allocations: 2.819 MB / 0.8619 GB, free: 184 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.9184, allocations: 9.109 kB / 0.8619 GB, free: 176 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/0.9232, allocations: 0.7711 MB / 0.8627 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/0.9267, allocations: 1.734 MB / 0.8644 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.604e-05/0.9268, allocations: 110.6 kB / 0.8645 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.9271, allocations: 139.9 kB / 0.8646 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/0.9301, allocations: 1.654 MB / 0.8662 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.9302, allocations: 0 / 0.8662 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.9303, allocations: 54.03 kB / 0.8663 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.9303, allocations: 46.5 kB / 0.8663 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003085/0.9334, allocations: 1.42 MB / 0.8677 GB, free: 10.21 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.01013/0.9436, allocations: 7.726 MB / 0.8753 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.9461, allocations: 1.568 MB / 0.8768 GB, free: 372 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.9472, allocations: 0.5142 MB / 0.8773 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.9484, allocations: 0.7697 MB / 0.878 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.9495, allocations: 0.5461 MB / 0.8786 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=83): time 2.695e-06/0.9495, allocations: 0 / 0.8786 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83): time 0.003757/0.9533, allocations: 1.596 MB / 0.8801 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.9533, allocations: 62.84 kB / 0.8802 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.9553, allocations: 1.563 MB / 0.8817 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.385e-05/0.9554, allocations: 49.7 kB / 0.8818 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000686/0.9561, allocations: 0.9191 MB / 0.8827 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.9564, allocations: 293.4 kB / 0.883 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.9567, allocations: 216.9 kB / 0.8832 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9568, allocations: 345.9 kB / 0.8835 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009749/0.9578, allocations: 453.8 kB / 0.8839 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.959, allocations: 0.7792 MB / 0.8847 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.9611, allocations: 1.216 MB / 0.8859 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.9611, allocations: 0 / 0.8859 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002885/0.964, allocations: 1.423 MB / 0.8873 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.9641, allocations: 33.7 kB / 0.8873 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.9641, allocations: 12 kB / 0.8873 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/0.9641, allocations: 15.94 kB / 0.8873 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.9653, allocations: 272.3 kB / 0.8876 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/0.9653, allocations: 21.05 kB / 0.8876 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.9666, allocations: 138.9 kB / 0.8877 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.9667, allocations: 47.98 kB / 0.8878 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001689/0.9684, allocations: 0.807 MB / 0.8886 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001185/0.9696, allocations: 0.7675 MB / 0.8893 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002033/0.9716, allocations: 1.177 MB / 0.8905 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.064e-06/0.9717, allocations: 4 kB / 0.8905 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.002849/0.9745, allocations: 1.388 MB / 0.8918 GB, free: 376 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.9746, allocations: 42.53 kB / 0.8919 GB, free: 328 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.9746, allocations: 12 kB / 0.8919 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.9746, allocations: 16 kB / 0.8919 GB, free: 300 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.9757, allocations: 263.2 kB / 0.8921 GB, free: 52 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.576e-05/0.9757, allocations: 25 kB / 0.8922 GB, free: 32 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.977, allocations: 116 kB / 0.8923 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.937e-05/0.9772, allocations: 51.98 kB / 0.8923 GB, free: 15.87 MB / 0.6387 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.0002937/0.9775, allocations: 251.6 kB / 0.8926 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/0.9779, allocations: 177.8 kB / 0.8927 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.9805, allocations: 1.167 MB / 0.8939 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.9805, allocations: 10.62 kB / 0.8939 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-05/0.9806, allocations: 4 kB / 0.8939 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002063/0.9827, allocations: 1.225 MB / 0.8951 GB, free: 12.95 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.005522/0.9882, allocations: 2.89 MB / 0.8979 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.9882, allocations: 8.062 kB / 0.8979 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009413/0.9892, allocations: 190 kB / 0.8981 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002132/0.9894, allocations: 48.83 kB / 0.8981 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.277e-05/0.9895, allocations: 23.98 kB / 0.8982 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.9907, allocations: 1.529 MB / 0.8997 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9907, allocations: 4.031 kB / 0.8997 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00341/0.9941, allocations: 1.762 MB / 0.9014 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007933/0.9949, allocations: 346.6 kB / 0.9017 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/0.9953, allocations: 16 kB / 0.9017 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.9964, allocations: 63.94 kB / 0.9018 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.9966, allocations: 64.45 kB / 0.9019 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.836e-05/0.9966, allocations: 31.98 kB / 0.9019 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001718/0.9984, allocations: 1.049 MB / 0.9029 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9984, allocations: 0 / 0.9029 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002557/1.001, allocations: 0.9311 MB / 0.9038 GB, free: 3.777 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.001464/1.002, allocations: 0.6014 MB / 0.9044 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003695/1.006, allocations: 1.773 MB / 0.9061 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.006, allocations: 4 kB / 0.9061 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/1.007, allocations: 0.5987 MB / 0.9067 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/1.011, allocations: 0.8295 MB / 0.9075 GB, free: 248 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007131/1.018, allocations: 3.597 MB / 0.911 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.019, allocations: 1.487 MB / 0.9125 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001743/1.021, allocations: 446.3 kB / 0.9129 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/1.021, allocations: 131.4 kB / 0.9131 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of SimCode: time 1.132e-06/1.021, allocations: 4 kB / 0.9131 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.05239/1.074, allocations: 31.26 MB / 0.9436 GB, free: 11.74 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)