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.001439/0.001439, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001609/0.001609, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.322/1.322, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7288/0.7288, allocations: 132.2 MB / 422.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 68.61 kB / 0.5013 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.138, allocations: 80.21 MB / 0.5796 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.4862/0.6242, allocations: 233 MB / 0.8072 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.021/0.6452, allocations: 15.61 MB / 0.8224 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003265/0.6485, allocations: 83.5 kB / 0.8225 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003446/0.652, allocations: 1.19 MB / 0.8237 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00834/0.6603, allocations: 3.183 MB / 0.8268 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006328/0.6667, allocations: 2.275 MB / 0.829 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006807/0.6735, allocations: 4.979 MB / 0.8339 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002729/0.6762, allocations: 1.89 MB / 0.8357 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005679/0.6819, allocations: 2.697 MB / 0.8383 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003208/0.6852, allocations: 1.651 MB / 0.8399 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003777/0.6856, allocations: 203.9 kB / 0.8401 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006195/0.6918, allocations: 3.543 MB / 0.8436 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008516/0.6927, allocations: 0.7595 MB / 0.8443 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001523/0.6942, allocations: 1.201 MB / 0.8455 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007959/0.7022, allocations: 4.46 MB / 0.8499 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.7022, allocations: 4 kB / 0.8499 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7022, allocations: 0 / 0.8499 GB, free: 14.18 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001045/0.7023, allocations: 0 / 0.8499 GB, free: 14.18 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.006079/0.7084, allocations: 2.832 MB / 0.8526 GB, free: 11.29 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.7085, allocations: 12.03 kB / 0.8526 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005284/0.7138, allocations: 0.7697 MB / 0.8534 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003471/0.7173, allocations: 1.656 MB / 0.855 GB, free: 8.793 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003981/0.7177, allocations: 170.5 kB / 0.8552 GB, free: 8.625 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/0.718, allocations: 143.9 kB / 0.8553 GB, free: 8.484 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/0.7213, allocations: 1.657 MB / 0.8569 GB, free: 6.758 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/0.7213, allocations: 3.938 kB / 0.8569 GB, free: 6.754 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.7215, allocations: 52 kB / 0.857 GB, free: 6.703 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-05/0.7215, allocations: 50.5 kB / 0.857 GB, free: 6.652 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003329/0.7249, allocations: 1.458 MB / 0.8585 GB, free: 5.188 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.2811/1.006, allocations: 7.539 MB / 0.8658 GB, free: 222.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/1.008, allocations: 1.587 MB / 0.8674 GB, free: 221.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009954/1.009, allocations: 0.5243 MB / 0.8679 GB, free: 221.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/1.01, allocations: 0.7759 MB / 0.8686 GB, free: 220.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/1.012, allocations: 0.5663 MB / 0.8692 GB, free: 220.7 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008008/1.012, allocations: 93.89 kB / 0.8693 GB, free: 220.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 3.737e-06/1.012, allocations: 3.969 kB / 0.8693 GB, free: 220.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003645/1.016, allocations: 1.613 MB / 0.8709 GB, free: 220.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/1.016, allocations: 68.47 kB / 0.8709 GB, free: 220.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/1.018, allocations: 1.564 MB / 0.8725 GB, free: 219.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-05/1.018, allocations: 47.83 kB / 0.8725 GB, free: 219.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000544/1.018, allocations: 0.9188 MB / 0.8734 GB, free: 219 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/1.019, allocations: 307.4 kB / 0.8737 GB, free: 218.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/1.019, allocations: 212.1 kB / 0.8739 GB, free: 218.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/1.019, allocations: 355.5 kB / 0.8742 GB, free: 218.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008972/1.02, allocations: 462.3 kB / 0.8747 GB, free: 218.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.021, allocations: 0.7976 MB / 0.8755 GB, free: 217.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/1.023, allocations: 1.235 MB / 0.8767 GB, free: 216.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/1.023, allocations: 2.875 kB / 0.8767 GB, free: 216.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002445/1.025, allocations: 1.451 MB / 0.8781 GB, free: 216.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/1.025, allocations: 38.42 kB / 0.8781 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.025, allocations: 14.62 kB / 0.8781 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.025, allocations: 15.5 kB / 0.8781 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.027, allocations: 277.3 kB / 0.8784 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/1.027, allocations: 18.94 kB / 0.8784 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.028, allocations: 152.6 kB / 0.8786 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/1.028, allocations: 49.17 kB / 0.8786 GB, free: 216.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001357/1.029, allocations: 0.8172 MB / 0.8794 GB, free: 216 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001003/1.03, allocations: 0.7777 MB / 0.8802 GB, free: 215.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001851/1.032, allocations: 1.212 MB / 0.8814 GB, free: 214.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.369e-06/1.032, allocations: 1.203 kB / 0.8814 GB, free: 214.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002394/1.035, allocations: 1.411 MB / 0.8827 GB, free: 214.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/1.035, allocations: 42.14 kB / 0.8828 GB, free: 214.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.035, allocations: 12.81 kB / 0.8828 GB, free: 214.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/1.035, allocations: 13.81 kB / 0.8828 GB, free: 214.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/1.036, allocations: 272.6 kB / 0.8831 GB, free: 214.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/1.036, allocations: 21.52 kB / 0.8831 GB, free: 214.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/1.037, allocations: 151.9 kB / 0.8832 GB, free: 214.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.049e-05/1.037, allocations: 47.89 kB / 0.8833 GB, free: 214.1 MB / 0.67 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 (133): * Single equations (assignments): 131 * 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.0002379/1.038, allocations: 255 kB / 0.8835 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/1.038, allocations: 176.7 kB / 0.8837 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/1.04, allocations: 1.202 MB / 0.8849 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/1.04, allocations: 12.81 kB / 0.8849 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.04, allocations: 3.422 kB / 0.8849 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00194/1.042, allocations: 1.254 MB / 0.8861 GB, free: 212.5 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 postOpt removeSimpleEquations (simulation): time 0.004453/1.047, allocations: 2.929 MB / 0.889 GB, free: 211.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.047, allocations: 0 / 0.889 GB, free: 211.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009214/1.048, allocations: 190.7 kB / 0.8891 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001909/1.048, allocations: 47.09 kB / 0.8892 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.399e-05/1.048, allocations: 26.62 kB / 0.8892 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009648/1.049, allocations: 1.524 MB / 0.8907 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.049, allocations: 3.938 kB / 0.8907 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/1.052, allocations: 1.813 MB / 0.8925 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/1.052, allocations: 335.6 kB / 0.8928 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/1.053, allocations: 18 kB / 0.8928 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.054, allocations: 133.2 kB / 0.8929 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/1.054, allocations: 60.53 kB / 0.893 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/1.054, allocations: 33.22 kB / 0.893 GB, free: 208.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001133/1.055, allocations: 1.058 MB / 0.8941 GB, free: 208.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.01e-07/1.055, allocations: 0 / 0.8941 GB, free: 208.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002626/1.058, allocations: 0.9572 MB / 0.895 GB, free: 207.9 MB / 0.67 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 (86): * Single equations (assignments): 83 * 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.001387/1.059, allocations: 0.6028 MB / 0.8956 GB, free: 207.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004158/1.063, allocations: 1.955 MB / 0.8975 GB, free: 207.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.063, allocations: 0.875 kB / 0.8975 GB, free: 207.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/1.064, allocations: 0.6285 MB / 0.8981 GB, free: 206.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/1.068, allocations: 0.8299 MB / 0.8989 GB, free: 206.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008011/1.076, allocations: 4.497 MB / 0.9033 GB, free: 204 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009692/1.077, allocations: 1.492 MB / 0.9048 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001902/1.079, allocations: 450.5 kB / 0.9052 GB, free: 203.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/1.079, allocations: 131.1 kB / 0.9053 GB, free: 203.1 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/1.079, allocations: 0 / 0.9053 GB, free: 203.1 MB / 0.67 GB Notification: Performance of Templates: time 0.0547/1.134, allocations: 31.45 MB / 0.936 GB, free: 194.5 MB / 0.67 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)