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.001198/0.001198, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001423, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7112/0.7112, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 60.14 kB / 0.5018 GB, free: 8.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1441, allocations: 80.2 MB / 0.5801 GB, free: 8.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.4646/0.6087, allocations: 235.9 MB / 0.8105 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0218/0.6305, allocations: 15.73 MB / 0.8258 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00325/0.6338, allocations: 87.5 kB / 0.8259 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003854/0.6377, allocations: 1.316 MB / 0.8272 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01254/0.6503, allocations: 3.41 MB / 0.8305 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006324/0.6566, allocations: 2.485 MB / 0.833 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006785/0.6634, allocations: 4.952 MB / 0.8378 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002703/0.6661, allocations: 1.921 MB / 0.8397 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005508/0.6716, allocations: 2.674 MB / 0.8423 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003153/0.6748, allocations: 1.557 MB / 0.8438 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006424/0.6755, allocations: 196 kB / 0.844 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008141/0.6836, allocations: 3.422 MB / 0.8473 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.6851, allocations: 0.7555 MB / 0.8481 GB, free: 108 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002523/0.6876, allocations: 1.189 MB / 0.8492 GB, free: 14.91 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008432/0.6961, allocations: 4.261 MB / 0.8534 GB, free: 10.64 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.6961, allocations: 3.938 kB / 0.8534 GB, free: 10.63 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6961, allocations: 7.938 kB / 0.8534 GB, free: 10.62 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001228/0.6962, allocations: 0 / 0.8534 GB, free: 10.62 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.007198/0.7034, allocations: 2.824 MB / 0.8562 GB, free: 7.738 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.166e-05/0.7035, allocations: 8.031 kB / 0.8562 GB, free: 7.73 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005349/0.7089, allocations: 0.7736 MB / 0.8569 GB, free: 6.953 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003798/0.7127, allocations: 1.649 MB / 0.8585 GB, free: 5.254 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000399/0.7131, allocations: 162.5 kB / 0.8587 GB, free: 5.094 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003707/0.7135, allocations: 155.8 kB / 0.8588 GB, free: 4.941 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/0.717, allocations: 1.655 MB / 0.8605 GB, free: 3.211 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.717, allocations: 7.875 kB / 0.8605 GB, free: 3.203 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.7172, allocations: 52 kB / 0.8605 GB, free: 3.152 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.197e-05/0.7172, allocations: 50.48 kB / 0.8606 GB, free: 3.102 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003345/0.7206, allocations: 1.427 MB / 0.862 GB, free: 1.668 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.2626/0.9832, allocations: 7.77 MB / 0.8695 GB, free: 221.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.9854, allocations: 1.573 MB / 0.8711 GB, free: 220.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009142/0.9863, allocations: 0.5173 MB / 0.8716 GB, free: 220 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.9874, allocations: 0.7793 MB / 0.8724 GB, free: 219.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.9884, allocations: 0.548 MB / 0.8729 GB, free: 219 MB / 0.67 GB Notification: Performance of pre-optimization done (n=83): time 3.106e-06/0.9884, allocations: 0.7656 kB / 0.8729 GB, free: 219 MB / 0.67 GB Notification: Performance of matching and sorting (n=83): time 0.003465/0.9919, allocations: 1.6 MB / 0.8744 GB, free: 218.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.9919, allocations: 61.06 kB / 0.8745 GB, free: 218.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.9934, allocations: 1.566 MB / 0.876 GB, free: 217.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.22e-05/0.9935, allocations: 44.17 kB / 0.8761 GB, free: 217.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004935/0.994, allocations: 0.9323 MB / 0.877 GB, free: 217.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.9942, allocations: 291.3 kB / 0.8773 GB, free: 217 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.9945, allocations: 209 kB / 0.8775 GB, free: 216.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.933e-05/0.9945, allocations: 348.4 kB / 0.8778 GB, free: 216.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008738/0.9954, allocations: 456.2 kB / 0.8782 GB, free: 216.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009956/0.9964, allocations: 0.7926 MB / 0.879 GB, free: 215.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.9983, allocations: 1.218 MB / 0.8802 GB, free: 215.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.9983, allocations: 2.906 kB / 0.8802 GB, free: 215.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002427/1.001, allocations: 1.439 MB / 0.8816 GB, free: 214.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/1.001, allocations: 42.42 kB / 0.8816 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.001, allocations: 6.25 kB / 0.8817 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/1.001, allocations: 19.34 kB / 0.8817 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/1.002, allocations: 265.1 kB / 0.8819 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/1.002, allocations: 26.73 kB / 0.8819 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.003, allocations: 134.9 kB / 0.8821 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-05/1.003, allocations: 49.45 kB / 0.8821 GB, free: 214.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001301/1.004, allocations: 0.8092 MB / 0.8829 GB, free: 214.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000963/1.005, allocations: 0.7675 MB / 0.8837 GB, free: 213.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001797/1.007, allocations: 1.197 MB / 0.8848 GB, free: 212.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.942e-06/1.007, allocations: 9.922 kB / 0.8848 GB, free: 212.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.002327/1.009, allocations: 1.401 MB / 0.8862 GB, free: 212.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.01, allocations: 34.42 kB / 0.8862 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.01, allocations: 8.25 kB / 0.8863 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/1.01, allocations: 13.56 kB / 0.8863 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009598/1.011, allocations: 270.1 kB / 0.8865 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.011, allocations: 21.39 kB / 0.8865 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/1.012, allocations: 131.8 kB / 0.8867 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.838e-05/1.012, allocations: 47.81 kB / 0.8867 GB, free: 212.2 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 (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.0002166/1.012, allocations: 250.4 kB / 0.887 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/1.012, allocations: 177.8 kB / 0.8871 GB, free: 211.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/1.014, allocations: 1.169 MB / 0.8883 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/1.014, allocations: 9.219 kB / 0.8883 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.014, allocations: 0 / 0.8883 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001844/1.016, allocations: 1.232 MB / 0.8895 GB, free: 210.7 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.004137/1.02, allocations: 2.917 MB / 0.8923 GB, free: 209.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.02, allocations: 2.656 kB / 0.8923 GB, free: 209.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008372/1.021, allocations: 187.9 kB / 0.8925 GB, free: 209.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/1.022, allocations: 44.3 kB / 0.8925 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/1.022, allocations: 24.66 kB / 0.8926 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008362/1.022, allocations: 1.539 MB / 0.8941 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.022, allocations: 0 / 0.8941 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/1.025, allocations: 1.78 MB / 0.8958 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/1.026, allocations: 337.2 kB / 0.8961 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/1.026, allocations: 23.2 kB / 0.8962 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008687/1.027, allocations: 59.48 kB / 0.8962 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.027, allocations: 65.72 kB / 0.8963 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/1.027, allocations: 30.38 kB / 0.8963 GB, free: 206.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001134/1.028, allocations: 1.055 MB / 0.8973 GB, free: 206.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/1.028, allocations: 0.5938 kB / 0.8973 GB, free: 206.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00212/1.03, allocations: 0.9366 MB / 0.8983 GB, free: 206.1 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 (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.001301/1.032, allocations: 0.5932 MB / 0.8988 GB, free: 205.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004058/1.036, allocations: 1.918 MB / 0.9007 GB, free: 205.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.036, allocations: 0 / 0.9007 GB, free: 205.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/1.037, allocations: 0.6101 MB / 0.9013 GB, free: 205 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/1.04, allocations: 0.8245 MB / 0.9021 GB, free: 204.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006396/1.046, allocations: 3.649 MB / 0.9057 GB, free: 202.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008619/1.047, allocations: 1.489 MB / 0.9071 GB, free: 202.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001816/1.049, allocations: 450.7 kB / 0.9076 GB, free: 202 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/1.049, allocations: 133.8 kB / 0.9077 GB, free: 202 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/1.049, allocations: 0 / 0.9077 GB, free: 202 MB / 0.67 GB Notification: Performance of Templates: time 0.05094/1.1, allocations: 31.28 MB / 0.9382 GB, free: 192.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)