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.001384/0.001384, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001669/0.001669, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.359/1.359, 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.8186/0.8186, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 63.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3892, allocations: 80.19 MB / 0.5815 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6461/1.035, allocations: 235.9 MB / 0.8119 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02162/1.057, allocations: 15.74 MB / 0.8272 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004362/1.061, allocations: 88.44 kB / 0.8273 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004208/1.066, allocations: 1.315 MB / 0.8286 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009702/1.075, allocations: 3.409 MB / 0.8319 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006883/1.082, allocations: 2.498 MB / 0.8344 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008448/1.091, allocations: 4.981 MB / 0.8393 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003442/1.094, allocations: 1.905 MB / 0.8411 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008134/1.102, allocations: 2.689 MB / 0.8437 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005629/1.108, allocations: 1.568 MB / 0.8453 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008315/1.109, allocations: 199.8 kB / 0.8455 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008785/1.118, allocations: 3.417 MB / 0.8488 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001398/1.119, allocations: 0.7577 MB / 0.8495 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002253/1.121, allocations: 1.195 MB / 0.8507 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009348/1.131, allocations: 4.314 MB / 0.8549 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.131, allocations: 11.94 kB / 0.8549 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/1.131, allocations: 0 / 0.8549 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.276e-05/1.131, allocations: 0 / 0.8549 GB, free: 5.535 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.005585/1.136, allocations: 2.815 MB / 0.8577 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.137, allocations: 11.12 kB / 0.8577 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/1.141, allocations: 0.7712 MB / 0.8584 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003853/1.145, allocations: 1.726 MB / 0.8601 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.732e-05/1.145, allocations: 109.5 kB / 0.8602 GB, free: 96 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/1.146, allocations: 151 kB / 0.8604 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/1.149, allocations: 1.641 MB / 0.862 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/1.149, allocations: 4 kB / 0.862 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/1.149, allocations: 55.44 kB / 0.862 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.286e-05/1.149, allocations: 54.42 kB / 0.8621 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/1.152, allocations: 1.421 MB / 0.8635 GB, free: 12.71 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.01143/1.164, allocations: 7.714 MB / 0.871 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/1.166, allocations: 1.57 MB / 0.8725 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/1.167, allocations: 0.5142 MB / 0.873 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/1.169, allocations: 0.7746 MB / 0.8738 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/1.17, allocations: 0.5458 MB / 0.8743 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=83): time 4.148e-06/1.17, allocations: 4 kB / 0.8743 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.004583/1.174, allocations: 1.577 MB / 0.8759 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/1.175, allocations: 60.41 kB / 0.8759 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/1.177, allocations: 1.567 MB / 0.8775 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/1.177, allocations: 49.7 kB / 0.8775 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009003/1.178, allocations: 0.9221 MB / 0.8784 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/1.179, allocations: 292.2 kB / 0.8787 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/1.179, allocations: 222.8 kB / 0.8789 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.179, allocations: 345.9 kB / 0.8792 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/1.18, allocations: 453.8 kB / 0.8797 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/1.181, allocations: 0.7851 MB / 0.8804 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/1.183, allocations: 1.209 MB / 0.8816 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.183, allocations: 2.344 kB / 0.8816 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002858/1.186, allocations: 1.419 MB / 0.883 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/1.186, allocations: 33.7 kB / 0.883 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.186, allocations: 12.84 kB / 0.883 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/1.186, allocations: 15.98 kB / 0.8831 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.188, allocations: 269.8 kB / 0.8833 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/1.188, allocations: 18.34 kB / 0.8833 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/1.189, allocations: 139.6 kB / 0.8835 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.773e-05/1.189, allocations: 55.86 kB / 0.8835 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001581/1.191, allocations: 0.8076 MB / 0.8843 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001166/1.192, allocations: 0.7762 MB / 0.8851 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00204/1.194, allocations: 1.172 MB / 0.8862 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.409e-06/1.194, allocations: 4 kB / 0.8862 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.002713/1.197, allocations: 1.387 MB / 0.8876 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/1.197, allocations: 33.7 kB / 0.8876 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.197, allocations: 16.06 kB / 0.8876 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.197, allocations: 12 kB / 0.8876 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.198, allocations: 267.9 kB / 0.8879 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/1.198, allocations: 22.98 kB / 0.8879 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/1.199, allocations: 123.8 kB / 0.888 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.779e-05/1.199, allocations: 51.98 kB / 0.8881 GB, free: 2.371 MB / 0.6231 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.0002962/1.199, allocations: 253.8 kB / 0.8883 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/1.2, allocations: 173.8 kB / 0.8885 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/1.202, allocations: 1.163 MB / 0.8896 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/1.202, allocations: 8 kB / 0.8896 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.202, allocations: 0 / 0.8896 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00216/1.204, allocations: 1.225 MB / 0.8908 GB, free: 15.46 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.005217/1.21, allocations: 2.901 MB / 0.8937 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/1.21, allocations: 0 / 0.8937 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009426/1.211, allocations: 183.6 kB / 0.8938 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002355/1.211, allocations: 52.84 kB / 0.8939 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/1.211, allocations: 23.98 kB / 0.8939 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/1.212, allocations: 1.527 MB / 0.8954 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.212, allocations: 6.469 kB / 0.8954 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/1.216, allocations: 1.76 MB / 0.8971 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006855/1.216, allocations: 346.6 kB / 0.8975 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/1.217, allocations: 19.98 kB / 0.8975 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009222/1.217, allocations: 59.95 kB / 0.8975 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.218, allocations: 63.09 kB / 0.8976 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-05/1.218, allocations: 31.98 kB / 0.8976 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001428/1.219, allocations: 1.049 MB / 0.8986 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/1.219, allocations: 0 / 0.8986 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002195/1.221, allocations: 0.935 MB / 0.8996 GB, free: 6.289 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.001385/1.223, allocations: 0.6035 MB / 0.9001 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003581/1.226, allocations: 1.775 MB / 0.9019 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.226, allocations: 0 / 0.9019 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/1.228, allocations: 0.6144 MB / 0.9025 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/1.23, allocations: 0.8105 MB / 0.9033 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007417/1.238, allocations: 3.601 MB / 0.9068 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.239, allocations: 1.483 MB / 0.9082 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00152/1.241, allocations: 458.3 kB / 0.9087 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/1.241, allocations: 135.4 kB / 0.9088 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/1.241, allocations: 0 / 0.9088 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.05282/1.294, allocations: 31.24 MB / 0.9393 GB, free: 14.3 MB / 0.6856 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)