Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001167/0.001167, allocations: 100.1 kB / 15.88 MB, free: 12 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.001122/0.001122, allocations: 196.7 kB / 16.79 MB, free: 6.809 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9807/0.9807, allocations: 135.1 MB / 425.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 60.06 kB / 0.5053 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1878, allocations: 80.93 MB / 0.5843 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6079/0.7957, allocations: 233.7 MB / 0.8126 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02369/0.8195, allocations: 15.89 MB / 0.8281 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004071/0.8236, allocations: 83.5 kB / 0.8282 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004503/0.8282, allocations: 1.137 MB / 0.8293 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009872/0.8381, allocations: 3.175 MB / 0.8324 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006494/0.8446, allocations: 2.224 MB / 0.8346 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008656/0.8532, allocations: 6.547 MB / 0.841 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002842/0.8561, allocations: 1.642 MB / 0.8426 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005986/0.8621, allocations: 2.416 MB / 0.8449 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003789/0.8659, allocations: 1.604 MB / 0.8465 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005133/0.8665, allocations: 104 kB / 0.8466 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007541/0.874, allocations: 3.757 MB / 0.8503 GB, free: 12.93 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.8752, allocations: 0.6657 MB / 0.8509 GB, free: 12.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.877, allocations: 1.103 MB / 0.852 GB, free: 11.16 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004962/0.882, allocations: 3.185 MB / 0.8551 GB, free: 7.965 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.882, allocations: 4 kB / 0.8551 GB, free: 7.961 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.633e-06/0.882, allocations: 0 / 0.8551 GB, free: 7.961 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.563e-05/0.8821, allocations: 0 / 0.8551 GB, free: 7.961 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.005424/0.8875, allocations: 2.837 MB / 0.8579 GB, free: 5.059 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.8876, allocations: 12.03 kB / 0.8579 GB, free: 5.047 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004963/0.8925, allocations: 0.7735 MB / 0.8586 GB, free: 4.27 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003602/0.8962, allocations: 1.652 MB / 0.8602 GB, free: 2.566 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.8966, allocations: 166.5 kB / 0.8604 GB, free: 2.402 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/0.8968, allocations: 147.8 kB / 0.8605 GB, free: 2.258 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/0.9002, allocations: 1.657 MB / 0.8622 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/0.9002, allocations: 7.922 kB / 0.8622 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.9004, allocations: 56 kB / 0.8622 GB, free: 480 kB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/0.9004, allocations: 46.52 kB / 0.8623 GB, free: 432 kB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3553/1.256, allocations: 1.451 MB / 0.8637 GB, free: 222 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.01065/1.266, allocations: 7.549 MB / 0.8711 GB, free: 217.4 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/1.269, allocations: 1.588 MB / 0.8726 GB, free: 216.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009871/1.27, allocations: 0.5274 MB / 0.8731 GB, free: 216.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/1.271, allocations: 0.77 MB / 0.8739 GB, free: 215.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/1.272, allocations: 0.5668 MB / 0.8744 GB, free: 215.3 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009846/1.273, allocations: 114.5 kB / 0.8745 GB, free: 215.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 4.008e-06/1.273, allocations: 2.094 kB / 0.8745 GB, free: 215.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003891/1.277, allocations: 1.608 MB / 0.8761 GB, free: 214.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.277, allocations: 61.97 kB / 0.8762 GB, free: 214.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/1.279, allocations: 1.568 MB / 0.8777 GB, free: 214 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/1.279, allocations: 48.17 kB / 0.8777 GB, free: 213.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006842/1.28, allocations: 0.9223 MB / 0.8786 GB, free: 213.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/1.28, allocations: 303.2 kB / 0.8789 GB, free: 213 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003052/1.281, allocations: 216.6 kB / 0.8791 GB, free: 212.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/1.281, allocations: 355.7 kB / 0.8795 GB, free: 212.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009459/1.282, allocations: 455.4 kB / 0.8799 GB, free: 212.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.283, allocations: 0.7911 MB / 0.8807 GB, free: 211.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/1.285, allocations: 1.232 MB / 0.8819 GB, free: 211.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.285, allocations: 3.031 kB / 0.8819 GB, free: 211.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002869/1.288, allocations: 1.437 MB / 0.8833 GB, free: 210.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/1.288, allocations: 41.06 kB / 0.8833 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.288, allocations: 7.641 kB / 0.8833 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.104e-05/1.288, allocations: 16 kB / 0.8834 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.289, allocations: 274.8 kB / 0.8836 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/1.289, allocations: 19.66 kB / 0.8836 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/1.291, allocations: 155.2 kB / 0.8838 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.432e-05/1.291, allocations: 55.12 kB / 0.8838 GB, free: 210.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001655/1.292, allocations: 0.8136 MB / 0.8846 GB, free: 210.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001062/1.294, allocations: 0.769 MB / 0.8854 GB, free: 209.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001899/1.295, allocations: 1.204 MB / 0.8866 GB, free: 208.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.791e-06/1.295, allocations: 2.781 kB / 0.8866 GB, free: 208.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002673/1.298, allocations: 1.409 MB / 0.8879 GB, free: 208.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/1.298, allocations: 36.23 kB / 0.888 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.298, allocations: 12.66 kB / 0.888 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.298, allocations: 14.81 kB / 0.888 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.299, allocations: 273.2 kB / 0.8883 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/1.299, allocations: 22.34 kB / 0.8883 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/1.301, allocations: 152.5 kB / 0.8884 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.492e-05/1.301, allocations: 49.48 kB / 0.8885 GB, free: 208.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 (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.0003348/1.301, allocations: 258.7 kB / 0.8887 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/1.302, allocations: 180.6 kB / 0.8889 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/1.304, allocations: 1.178 MB / 0.89 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/1.304, allocations: 7.875 kB / 0.8901 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.304, allocations: 9.844 kB / 0.8901 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001961/1.306, allocations: 1.239 MB / 0.8913 GB, free: 206.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.005395/1.312, allocations: 2.941 MB / 0.8941 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.312, allocations: 3.094 kB / 0.8941 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009313/1.313, allocations: 189.1 kB / 0.8943 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/1.313, allocations: 43.52 kB / 0.8944 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-05/1.313, allocations: 25.33 kB / 0.8944 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/1.314, allocations: 1.421 MB / 0.8958 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.314, allocations: 3.938 kB / 0.8958 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003924/1.318, allocations: 1.786 MB / 0.8975 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009088/1.319, allocations: 338.6 kB / 0.8979 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/1.319, allocations: 21.39 kB / 0.8979 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.32, allocations: 143.4 kB / 0.898 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/1.321, allocations: 64.92 kB / 0.8981 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.121e-05/1.321, allocations: 32.22 kB / 0.8981 GB, free: 202.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001712/1.322, allocations: 1.053 MB / 0.8991 GB, free: 202.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.322, allocations: 0 / 0.8991 GB, free: 202.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003447/1.326, allocations: 0.9588 MB / 0.9001 GB, free: 202.2 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 (85): * Single equations (assignments): 82 * 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.001683/1.327, allocations: 0.597 MB / 0.9006 GB, free: 202.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004251/1.332, allocations: 1.804 MB / 0.9024 GB, free: 201.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.332, allocations: 1.062 kB / 0.9024 GB, free: 201.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/1.333, allocations: 0.6113 MB / 0.903 GB, free: 201.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003873/1.337, allocations: 0.777 MB / 0.9038 GB, free: 200.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008473/1.346, allocations: 4.47 MB / 0.9081 GB, free: 198.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/1.347, allocations: 1.487 MB / 0.9096 GB, free: 197.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006975/1.348, allocations: 144.1 kB / 0.9097 GB, free: 197.5 MB / 0.67 GB Notification: Performance of SimCode: time 2.755e-06/1.348, allocations: 0 / 0.9097 GB, free: 197.5 MB / 0.67 GB Notification: Performance of Templates: time 0.0695/1.417, allocations: 33.9 MB / 0.9428 GB, free: 183.9 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)