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.001504/0.001504, allocations: 107.8 kB / 16.41 MB, free: 6.496 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.001813/0.001813, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7796/0.7796, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 65.08 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1704, allocations: 80.21 MB / 0.6604 GB, free: 10.26 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.665/0.8355, allocations: 235.9 MB / 0.8908 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02527/0.8608, allocations: 15.73 MB / 0.9061 GB, free: 10.11 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003893/0.8647, allocations: 87.5 kB / 0.9062 GB, free: 10.03 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004398/0.8691, allocations: 1.311 MB / 0.9075 GB, free: 8.711 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.8793, allocations: 3.415 MB / 0.9108 GB, free: 5.289 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007064/0.8864, allocations: 2.5 MB / 0.9133 GB, free: 2.805 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008276/0.8947, allocations: 4.968 MB / 0.9181 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003728/0.8985, allocations: 1.898 MB / 0.92 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006779/0.9053, allocations: 2.74 MB / 0.9226 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003633/0.909, allocations: 1.557 MB / 0.9242 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008789/0.9099, allocations: 200 kB / 0.9243 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007194/0.9171, allocations: 3.43 MB / 0.9277 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001335/0.9185, allocations: 0.7439 MB / 0.9284 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002664/0.9211, allocations: 1.201 MB / 0.9296 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009683/0.9308, allocations: 4.316 MB / 0.9338 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.9309, allocations: 0 / 0.9338 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9309, allocations: 0 / 0.9338 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001266/0.931, allocations: 0 / 0.9338 GB, free: 13.66 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.007206/0.9382, allocations: 2.826 MB / 0.9366 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.9383, allocations: 11.97 kB / 0.9366 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005281/0.9436, allocations: 0.7698 MB / 0.9373 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004125/0.9478, allocations: 1.73 MB / 0.939 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.9479, allocations: 106.6 kB / 0.9391 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004268/0.9484, allocations: 140 kB / 0.9393 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003895/0.9523, allocations: 1.655 MB / 0.9409 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/0.9523, allocations: 4.812 kB / 0.9409 GB, free: 6.219 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.9525, allocations: 52 kB / 0.9409 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.27e-05/0.9526, allocations: 50.5 kB / 0.941 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003514/0.9561, allocations: 1.419 MB / 0.9424 GB, free: 4.691 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.0124/0.9685, allocations: 7.72 MB / 0.9499 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/0.9713, allocations: 1.573 MB / 0.9514 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.9724, allocations: 0.5209 MB / 0.9519 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/0.9738, allocations: 0.7712 MB / 0.9527 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/0.9751, allocations: 0.5523 MB / 0.9532 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=83): time 4.699e-06/0.9751, allocations: 0 / 0.9532 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=83): time 0.004307/0.9794, allocations: 1.582 MB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.9795, allocations: 64.34 kB / 0.9548 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/0.9821, allocations: 1.559 MB / 0.9564 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.9822, allocations: 45.7 kB / 0.9564 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000908/0.9831, allocations: 0.9319 MB / 0.9573 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/0.9835, allocations: 291.8 kB / 0.9576 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/0.9839, allocations: 210.8 kB / 0.9578 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.984, allocations: 349.9 kB / 0.9581 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.9851, allocations: 453.8 kB / 0.9586 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.9864, allocations: 0.788 MB / 0.9593 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.9887, allocations: 1.211 MB / 0.9605 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.9887, allocations: 0 / 0.9605 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003216/0.992, allocations: 1.415 MB / 0.9619 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/0.992, allocations: 37.83 kB / 0.9619 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.9921, allocations: 12 kB / 0.9619 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/0.9921, allocations: 16 kB / 0.962 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.9932, allocations: 271.6 kB / 0.9622 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.037e-05/0.9933, allocations: 23.88 kB / 0.9622 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.9947, allocations: 139.6 kB / 0.9624 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.9948, allocations: 47.98 kB / 0.9624 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00171/0.9965, allocations: 0.8069 MB / 0.9632 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001229/0.9978, allocations: 0.7702 MB / 0.964 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002185/1, allocations: 1.187 MB / 0.9651 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.955e-06/1, allocations: 7.938 kB / 0.9651 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.002978/1.003, allocations: 1.391 MB / 0.9665 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/1.003, allocations: 33.7 kB / 0.9665 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.003, allocations: 12 kB / 0.9665 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.003, allocations: 12 kB / 0.9665 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.004, allocations: 267.8 kB / 0.9668 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-05/1.004, allocations: 23.92 kB / 0.9668 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.006, allocations: 123.8 kB / 0.9669 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/1.006, allocations: 51.98 kB / 0.967 GB, free: 9.953 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.0003548/1.006, allocations: 248 kB / 0.9672 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004698/1.007, allocations: 177.8 kB / 0.9674 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/1.01, allocations: 1.157 MB / 0.9685 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/1.01, allocations: 8 kB / 0.9685 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.01, allocations: 0 / 0.9685 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002209/1.012, allocations: 1.231 MB / 0.9697 GB, free: 7.023 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.005709/1.018, allocations: 2.894 MB / 0.9726 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.018, allocations: 0 / 0.9726 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009388/1.019, allocations: 183.9 kB / 0.9727 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002457/1.019, allocations: 52.81 kB / 0.9728 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.873e-05/1.019, allocations: 27.98 kB / 0.9728 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/1.02, allocations: 1.527 MB / 0.9743 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.02, allocations: 4.031 kB / 0.9743 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003724/1.024, allocations: 1.761 MB / 0.976 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007853/1.025, allocations: 350.5 kB / 0.9764 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003768/1.025, allocations: 16 kB / 0.9764 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.026, allocations: 63.94 kB / 0.9764 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.026, allocations: 68.44 kB / 0.9765 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.176e-05/1.026, allocations: 31.92 kB / 0.9765 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001791/1.028, allocations: 1.057 MB / 0.9776 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.028, allocations: 0 / 0.9776 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002765/1.031, allocations: 0.9311 MB / 0.9785 GB, free: 13.78 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.001644/1.033, allocations: 0.6015 MB / 0.9791 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003953/1.037, allocations: 1.775 MB / 0.9808 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.037, allocations: 64 / 0.9808 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/1.038, allocations: 0.6044 MB / 0.9814 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/1.042, allocations: 0.8135 MB / 0.9822 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008022/1.05, allocations: 3.691 MB / 0.9858 GB, free: 6.402 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/1.051, allocations: 1.487 MB / 0.9872 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005777/1.052, allocations: 143.4 kB / 0.9874 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of SimCode: time 8.31e-07/1.052, allocations: 0 / 0.9874 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of Templates: time 0.05219/1.104, allocations: 34.07 MB / 1.021 GB, free: 2.824 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)