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.001039/0.001039, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001087/0.001087, allocations: 192.1 kB / 17.31 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.802/0.802, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.91 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3474, allocations: 80.9 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5797/0.9271, allocations: 235.9 MB / 0.8162 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02003/0.9472, allocations: 15.71 MB / 0.8315 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003558/0.9508, allocations: 90.19 kB / 0.8316 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003701/0.9545, allocations: 1.322 MB / 0.8329 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00853/0.9631, allocations: 3.412 MB / 0.8362 GB, free: 0 / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006197/0.9693, allocations: 2.509 MB / 0.8387 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00672/0.9761, allocations: 4.969 MB / 0.8435 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002693/0.9788, allocations: 1.909 MB / 0.8454 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00538/0.9842, allocations: 2.68 MB / 0.848 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/0.9873, allocations: 1.558 MB / 0.8495 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000338/0.9876, allocations: 205.5 kB / 0.8497 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006375/0.994, allocations: 3.422 MB / 0.8531 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008645/0.9949, allocations: 0.7389 MB / 0.8538 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.9966, allocations: 1.205 MB / 0.855 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006744/1.003, allocations: 4.308 MB / 0.8592 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.003, allocations: 2.625 kB / 0.8592 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.994e-06/1.003, allocations: 0 / 0.8592 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.012e-05/1.003, allocations: 0 / 0.8592 GB, free: 3.074 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.004545/1.008, allocations: 2.821 MB / 0.8619 GB, free: 224 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/1.008, allocations: 13.11 kB / 0.8619 GB, free: 212 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004683/1.013, allocations: 0.7712 MB / 0.8627 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/1.016, allocations: 1.733 MB / 0.8644 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.369e-05/1.016, allocations: 105.4 kB / 0.8645 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/1.016, allocations: 147.9 kB / 0.8646 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/1.019, allocations: 1.652 MB / 0.8662 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/1.019, allocations: 6.625 kB / 0.8662 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/1.019, allocations: 52 kB / 0.8663 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/1.019, allocations: 54.48 kB / 0.8663 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003035/1.023, allocations: 1.412 MB / 0.8677 GB, free: 10.25 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.01039/1.033, allocations: 7.722 MB / 0.8753 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/1.036, allocations: 1.565 MB / 0.8768 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/1.037, allocations: 0.5116 MB / 0.8773 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/1.038, allocations: 0.7846 MB / 0.8781 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/1.039, allocations: 0.5461 MB / 0.8786 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=83): time 4.429e-06/1.039, allocations: 0 / 0.8786 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83): time 0.004216/1.044, allocations: 1.588 MB / 0.8801 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.044, allocations: 64.39 kB / 0.8802 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/1.046, allocations: 1.563 MB / 0.8817 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/1.046, allocations: 49.7 kB / 0.8818 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008539/1.047, allocations: 0.9186 MB / 0.8827 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/1.047, allocations: 297.9 kB / 0.883 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/1.047, allocations: 210.8 kB / 0.8832 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.048, allocations: 345.9 kB / 0.8835 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/1.049, allocations: 449.8 kB / 0.8839 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/1.05, allocations: 0.787 MB / 0.8847 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/1.052, allocations: 1.206 MB / 0.8859 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/1.052, allocations: 4 kB / 0.8859 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00312/1.055, allocations: 1.426 MB / 0.8873 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/1.055, allocations: 37.69 kB / 0.8873 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.055, allocations: 9.562 kB / 0.8873 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.158e-05/1.055, allocations: 19.94 kB / 0.8873 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.056, allocations: 267.2 kB / 0.8876 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/1.056, allocations: 21.06 kB / 0.8876 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.058, allocations: 131.7 kB / 0.8877 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.346e-05/1.058, allocations: 47.98 kB / 0.8878 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001603/1.059, allocations: 0.8109 MB / 0.8886 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001291/1.061, allocations: 0.7636 MB / 0.8893 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002152/1.063, allocations: 1.179 MB / 0.8905 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.311e-06/1.063, allocations: 4 kB / 0.8905 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.002837/1.066, allocations: 1.395 MB / 0.8918 GB, free: 408 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/1.066, allocations: 33.7 kB / 0.8919 GB, free: 368 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.066, allocations: 8 kB / 0.8919 GB, free: 360 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.066, allocations: 16 kB / 0.8919 GB, free: 344 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.067, allocations: 271.5 kB / 0.8921 GB, free: 88 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/1.067, allocations: 28.92 kB / 0.8922 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/1.068, allocations: 120 kB / 0.8923 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/1.068, allocations: 50.72 kB / 0.8923 GB, free: 15.9 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.0003057/1.069, allocations: 251.8 kB / 0.8926 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/1.069, allocations: 177.8 kB / 0.8927 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/1.072, allocations: 1.167 MB / 0.8939 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.072, allocations: 8 kB / 0.8939 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.072, allocations: 0 / 0.8939 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002198/1.074, allocations: 1.236 MB / 0.8951 GB, free: 12.98 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.005244/1.079, allocations: 2.889 MB / 0.8979 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.079, allocations: 3.938 kB / 0.8979 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009606/1.08, allocations: 190.1 kB / 0.8981 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/1.08, allocations: 44.83 kB / 0.8981 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.721e-05/1.08, allocations: 23.98 kB / 0.8982 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/1.082, allocations: 1.523 MB / 0.8997 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.082, allocations: 4 kB / 0.8997 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/1.085, allocations: 1.77 MB / 0.9014 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008251/1.086, allocations: 346.6 kB / 0.9017 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/1.086, allocations: 23.98 kB / 0.9017 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009411/1.087, allocations: 51.95 kB / 0.9018 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/1.087, allocations: 72.5 kB / 0.9019 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/1.087, allocations: 35.98 kB / 0.9019 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001589/1.089, allocations: 1.049 MB / 0.9029 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/1.089, allocations: 0 / 0.9029 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002217/1.091, allocations: 0.9311 MB / 0.9038 GB, free: 3.801 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.001414/1.093, allocations: 0.5896 MB / 0.9044 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003708/1.096, allocations: 1.781 MB / 0.9061 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.096, allocations: 0 / 0.9061 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/1.098, allocations: 0.6061 MB / 0.9067 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00321/1.101, allocations: 0.8199 MB / 0.9075 GB, free: 284 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007301/1.108, allocations: 3.6 MB / 0.9111 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.109, allocations: 1.487 MB / 0.9125 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001682/1.111, allocations: 446.3 kB / 0.9129 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/1.111, allocations: 131.4 kB / 0.9131 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of SimCode: time 7.82e-07/1.111, allocations: 0 / 0.9131 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.05542/1.167, allocations: 31.26 MB / 0.9436 GB, free: 11.78 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)