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.001239/0.001239, allocations: 106.5 kB / 16.41 MB, free: 6.512 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.001208/0.001208, allocations: 187 kB / 17.34 MB, free: 5.742 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.366/1.366, 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/package.mo): time 0.8165/0.8165, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 68.42 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1652, allocations: 80.2 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6718/0.837, allocations: 235.9 MB / 0.8908 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02616/0.8632, allocations: 15.72 MB / 0.9061 GB, free: 10.08 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004165/0.8674, allocations: 91.5 kB / 0.9062 GB, free: 9.992 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004371/0.8719, allocations: 1.308 MB / 0.9075 GB, free: 8.68 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.8825, allocations: 3.416 MB / 0.9108 GB, free: 5.254 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00692/0.8895, allocations: 2.485 MB / 0.9132 GB, free: 2.781 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009456/0.8989, allocations: 4.965 MB / 0.9181 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003075/0.9021, allocations: 1.91 MB / 0.92 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00615/0.9082, allocations: 2.736 MB / 0.9226 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003339/0.9116, allocations: 1.558 MB / 0.9241 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005317/0.9121, allocations: 200 kB / 0.9243 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007095/0.9192, allocations: 3.43 MB / 0.9277 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.9203, allocations: 0.7439 MB / 0.9284 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001871/0.9222, allocations: 1.197 MB / 0.9296 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007967/0.9301, allocations: 4.312 MB / 0.9338 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.9302, allocations: 0 / 0.9338 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9302, allocations: 0 / 0.9338 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.334e-05/0.9303, allocations: 0 / 0.9338 GB, free: 13.64 MB / 0.7012 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.005156/0.9354, allocations: 2.834 MB / 0.9366 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.9355, allocations: 12.03 kB / 0.9366 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004615/0.9401, allocations: 0.7708 MB / 0.9373 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/0.9437, allocations: 1.726 MB / 0.939 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-05/0.9438, allocations: 110.6 kB / 0.9391 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.944, allocations: 140 kB / 0.9392 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003086/0.9471, allocations: 1.647 MB / 0.9409 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.9471, allocations: 3.938 kB / 0.9409 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.9473, allocations: 60 kB / 0.9409 GB, free: 6.141 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.335e-05/0.9473, allocations: 54.38 kB / 0.941 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003133/0.9505, allocations: 1.419 MB / 0.9424 GB, free: 4.66 MB / 0.7012 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.01043/0.9609, allocations: 7.724 MB / 0.9499 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.9634, allocations: 1.564 MB / 0.9514 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.9645, allocations: 0.5141 MB / 0.9519 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.9658, allocations: 0.7864 MB / 0.9527 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.967, allocations: 0.5436 MB / 0.9532 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=83): time 2.746e-06/0.967, allocations: 0 / 0.9532 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=83): time 0.004015/0.971, allocations: 1.578 MB / 0.9548 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.9711, allocations: 68.34 kB / 0.9548 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.9731, allocations: 1.563 MB / 0.9564 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.9732, allocations: 49.7 kB / 0.9564 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007852/0.974, allocations: 0.924 MB / 0.9573 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.9743, allocations: 287.8 kB / 0.9576 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003266/0.9746, allocations: 218.7 kB / 0.9578 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9748, allocations: 345.9 kB / 0.9581 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009867/0.9757, allocations: 453.8 kB / 0.9586 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.977, allocations: 0.782 MB / 0.9593 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.9791, allocations: 1.215 MB / 0.9605 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.9791, allocations: 4 kB / 0.9605 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002898/0.982, allocations: 1.419 MB / 0.9619 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.9821, allocations: 39.72 kB / 0.9619 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.9821, allocations: 8 kB / 0.9619 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.9821, allocations: 16 kB / 0.962 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.9832, allocations: 267.8 kB / 0.9622 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.9832, allocations: 23.81 kB / 0.9622 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.9845, allocations: 135.6 kB / 0.9624 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.9846, allocations: 55.98 kB / 0.9624 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001637/0.9862, allocations: 0.8124 MB / 0.9632 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0012/0.9874, allocations: 0.7663 MB / 0.964 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002132/0.9896, allocations: 1.184 MB / 0.9651 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.52e-06/0.9896, allocations: 4 kB / 0.9651 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.002745/0.9923, allocations: 1.391 MB / 0.9665 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.9924, allocations: 37.7 kB / 0.9665 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.9924, allocations: 8 kB / 0.9665 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.9924, allocations: 16 kB / 0.9665 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.9935, allocations: 272 kB / 0.9668 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.9935, allocations: 15.94 kB / 0.9668 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.9947, allocations: 130.3 kB / 0.9669 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/0.9948, allocations: 47.98 kB / 0.967 GB, free: 9.926 MB / 0.7325 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.0003011/0.9951, allocations: 248 kB / 0.9672 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.9953, allocations: 177.8 kB / 0.9674 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.998, allocations: 1.158 MB / 0.9685 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.998, allocations: 8 kB / 0.9685 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.998, allocations: 4 kB / 0.9685 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002159/1, allocations: 1.223 MB / 0.9697 GB, free: 7 MB / 0.7325 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.005331/1.006, allocations: 2.893 MB / 0.9725 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.006, allocations: 4 kB / 0.9726 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009133/1.006, allocations: 187.9 kB / 0.9727 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002132/1.007, allocations: 44.77 kB / 0.9728 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/1.007, allocations: 27.98 kB / 0.9728 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/1.008, allocations: 1.531 MB / 0.9743 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.008, allocations: 3.984 kB / 0.9743 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003692/1.012, allocations: 1.769 MB / 0.976 GB, free: 272 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007054/1.013, allocations: 346.5 kB / 0.9764 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/1.013, allocations: 23.98 kB / 0.9764 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008796/1.014, allocations: 57.83 kB / 0.9764 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.014, allocations: 64.52 kB / 0.9765 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/1.014, allocations: 35.92 kB / 0.9765 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001592/1.015, allocations: 1.053 MB / 0.9776 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.016, allocations: 0 / 0.9776 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002394/1.018, allocations: 0.935 MB / 0.9785 GB, free: 13.75 MB / 0.7481 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.001477/1.019, allocations: 0.5912 MB / 0.9791 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003784/1.023, allocations: 1.783 MB / 0.9808 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.023, allocations: 0 / 0.9808 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/1.024, allocations: 0.6048 MB / 0.9814 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/1.028, allocations: 0.8187 MB / 0.9822 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007417/1.035, allocations: 3.703 MB / 0.9858 GB, free: 6.363 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/1.037, allocations: 1.479 MB / 0.9872 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/1.037, allocations: 143.4 kB / 0.9874 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/1.037, allocations: 0 / 0.9874 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of Templates: time 0.05134/1.088, allocations: 34.35 MB / 1.021 GB, free: 2.516 MB / 0.7794 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)