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.0009217/0.0009216, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00509/0.005091, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9891/0.9891, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003837, allocations: 16.64 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1815, allocations: 82.31 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6218/0.8034, allocations: 230.5 MB / 0.8131 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02677/0.8302, allocations: 15.7 MB / 0.8284 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006333/0.8366, allocations: 79.5 kB / 0.8285 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004794/0.8414, allocations: 1.142 MB / 0.8296 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.8524, allocations: 3.176 MB / 0.8327 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007777/0.8602, allocations: 2.232 MB / 0.8349 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01021/0.8704, allocations: 6.535 MB / 0.8413 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0039/0.8744, allocations: 1.596 MB / 0.8428 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007179/0.8816, allocations: 2.35 MB / 0.8451 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004307/0.8859, allocations: 1.523 MB / 0.8466 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008268/0.8868, allocations: 80 kB / 0.8467 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008878/0.8957, allocations: 3.733 MB / 0.8504 GB, free: 15.55 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.8972, allocations: 0.6228 MB / 0.851 GB, free: 14.93 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00273/0.9, allocations: 1.07 MB / 0.852 GB, free: 13.85 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.9104, allocations: 4.291 MB / 0.8562 GB, free: 9.543 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.9104, allocations: 8 kB / 0.8562 GB, free: 9.535 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.127e-06/0.9104, allocations: 0 / 0.8562 GB, free: 9.535 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001688/0.9106, allocations: 0 / 0.8562 GB, free: 9.535 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.006912/0.9175, allocations: 2.433 MB / 0.8586 GB, free: 7.039 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.9176, allocations: 8.031 kB / 0.8586 GB, free: 7.031 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005703/0.9233, allocations: 0.8166 MB / 0.8594 GB, free: 6.211 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005097/0.9284, allocations: 1.664 MB / 0.861 GB, free: 4.496 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005136/0.929, allocations: 170.5 kB / 0.8612 GB, free: 4.328 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006062/0.9296, allocations: 140 kB / 0.8613 GB, free: 4.191 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004902/0.9345, allocations: 1.68 MB / 0.8629 GB, free: 2.441 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.386e-05/0.9346, allocations: 3.938 kB / 0.8629 GB, free: 2.438 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002687/0.9349, allocations: 55.98 kB / 0.863 GB, free: 2.383 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-05/0.935, allocations: 50.52 kB / 0.8631 GB, free: 2.332 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004073/0.9391, allocations: 1.497 MB / 0.8645 GB, free: 0.8281 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.4086/1.348, allocations: 7.59 MB / 0.8719 GB, free: 214.4 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/1.35, allocations: 1.638 MB / 0.8735 GB, free: 213.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/1.351, allocations: 0.5389 MB / 0.874 GB, free: 213.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/1.353, allocations: 0.8131 MB / 0.8748 GB, free: 213 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001252/1.354, allocations: 0.5869 MB / 0.8754 GB, free: 212.9 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001069/1.355, allocations: 122.4 kB / 0.8755 GB, free: 212.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 4.469e-06/1.355, allocations: 0.75 kB / 0.8755 GB, free: 212.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.00378/1.359, allocations: 1.648 MB / 0.8771 GB, free: 212.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.359, allocations: 64.59 kB / 0.8772 GB, free: 212.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/1.361, allocations: 1.565 MB / 0.8787 GB, free: 212 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.989e-05/1.361, allocations: 46.2 kB / 0.8788 GB, free: 211.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008425/1.362, allocations: 0.9258 MB / 0.8797 GB, free: 211.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/1.362, allocations: 297.8 kB / 0.88 GB, free: 211 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/1.362, allocations: 96.64 kB / 0.8801 GB, free: 210.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.363, allocations: 349.9 kB / 0.8804 GB, free: 210.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/1.364, allocations: 474.4 kB / 0.8808 GB, free: 210.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/1.365, allocations: 0.8096 MB / 0.8816 GB, free: 209.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/1.367, allocations: 1.266 MB / 0.8829 GB, free: 209.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.367, allocations: 3.125 kB / 0.8829 GB, free: 209.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002756/1.37, allocations: 1.473 MB / 0.8843 GB, free: 208.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002109/1.37, allocations: 370.5 kB / 0.8847 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/1.37, allocations: 11.59 kB / 0.8847 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.395e-05/1.37, allocations: 14.53 kB / 0.8847 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/1.371, allocations: 284.7 kB / 0.885 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/1.371, allocations: 26.61 kB / 0.885 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/1.373, allocations: 153 kB / 0.8851 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.106e-05/1.373, allocations: 52.05 kB / 0.8852 GB, free: 208.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/1.373, allocations: 8.438 kB / 0.8852 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002292/1.375, allocations: 1.268 MB / 0.8864 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.375, allocations: 12.91 kB / 0.8864 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/1.375, allocations: 15.09 kB / 0.8865 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.376, allocations: 279 kB / 0.8867 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/1.376, allocations: 21.31 kB / 0.8867 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.378, allocations: 162.8 kB / 0.8869 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-05/1.378, allocations: 48.62 kB / 0.8869 GB, free: 207.5 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.0008537/1.379, allocations: 0.5395 MB / 0.8875 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/1.379, allocations: 177.9 kB / 0.8876 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/1.381, allocations: 1.207 MB / 0.8888 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.381, allocations: 6.5 kB / 0.8888 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/1.381, allocations: 6.812 kB / 0.8888 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002037/1.383, allocations: 1.274 MB / 0.8901 GB, free: 205.9 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.00508/1.388, allocations: 2.977 MB / 0.893 GB, free: 204.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.388, allocations: 2.75 kB / 0.893 GB, free: 204.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008906/1.389, allocations: 201.4 kB / 0.8932 GB, free: 204.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/1.39, allocations: 43.58 kB / 0.8932 GB, free: 204.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-05/1.39, allocations: 23.62 kB / 0.8932 GB, free: 204.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/1.391, allocations: 1.417 MB / 0.8946 GB, free: 203 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.391, allocations: 10.52 kB / 0.8946 GB, free: 203 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/1.394, allocations: 1.835 MB / 0.8964 GB, free: 202.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005797/1.395, allocations: 334.6 kB / 0.8967 GB, free: 202 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/1.395, allocations: 29.23 kB / 0.8968 GB, free: 202 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.396, allocations: 156.2 kB / 0.8969 GB, free: 201.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/1.396, allocations: 60.89 kB / 0.897 GB, free: 201.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/1.396, allocations: 34.34 kB / 0.897 GB, free: 201.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00137/1.398, allocations: 1.051 MB / 0.898 GB, free: 201.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.398, allocations: 3.938 kB / 0.898 GB, free: 201.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003033/1.401, allocations: 0.9576 MB / 0.899 GB, free: 201.4 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.001682/1.403, allocations: 0.5994 MB / 0.8996 GB, free: 201.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004215/1.407, allocations: 1.858 MB / 0.9014 GB, free: 200.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.407, allocations: 1.188 kB / 0.9014 GB, free: 200.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/1.408, allocations: 0.632 MB / 0.902 GB, free: 200.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/1.412, allocations: 0.7847 MB / 0.9028 GB, free: 200.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007992/1.42, allocations: 4.494 MB / 0.9072 GB, free: 197.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.421, allocations: 1.49 MB / 0.9086 GB, free: 196.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002149/1.423, allocations: 445.4 kB / 0.909 GB, free: 196.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/1.424, allocations: 133.1 kB / 0.9092 GB, free: 196.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.572e-06/1.424, allocations: 0 / 0.9092 GB, free: 196.5 MB / 0.67 GB Notification: Performance of Templates: time 0.06788/1.492, allocations: 30.35 MB / 0.9388 GB, free: 188 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)