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.001444/0.001444, allocations: 108.9 kB / 16.41 MB, free: 6.445 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.001511/0.001512, allocations: 187 kB / 17.34 MB, free: 5.711 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8303/0.8303, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001538, allocations: 62.84 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1823, allocations: 80.91 MB / 0.6653 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7321/0.9144, allocations: 235.9 MB / 0.8957 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02336/0.9378, allocations: 15.72 MB / 0.9111 GB, free: 3.324 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/0.9417, allocations: 87.5 kB / 0.9112 GB, free: 3.238 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004277/0.946, allocations: 1.315 MB / 0.9124 GB, free: 1.918 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009894/0.9559, allocations: 3.412 MB / 0.9158 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006827/0.9628, allocations: 2.493 MB / 0.9182 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007982/0.9708, allocations: 4.969 MB / 0.9231 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003219/0.974, allocations: 1.908 MB / 0.9249 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006606/0.9807, allocations: 2.732 MB / 0.9276 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003488/0.9842, allocations: 1.555 MB / 0.9291 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000625/0.9848, allocations: 200 kB / 0.9293 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006992/0.9918, allocations: 3.426 MB / 0.9327 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.9931, allocations: 0.74 MB / 0.9334 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001856/0.9949, allocations: 1.209 MB / 0.9346 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008566/1.004, allocations: 4.316 MB / 0.9388 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/1.004, allocations: 4 kB / 0.9388 GB, free: 6.863 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.134e-06/1.004, allocations: 0 / 0.9388 GB, free: 6.863 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.986e-05/1.004, allocations: 0 / 0.9388 GB, free: 6.863 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.00584/1.01, allocations: 2.82 MB / 0.9415 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.01, allocations: 9.109 kB / 0.9415 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005006/1.015, allocations: 0.7698 MB / 0.9423 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003992/1.019, allocations: 1.734 MB / 0.944 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/1.019, allocations: 106.6 kB / 0.9441 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002737/1.019, allocations: 140 kB / 0.9442 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003284/1.022, allocations: 1.655 MB / 0.9458 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/1.022, allocations: 3.938 kB / 0.9458 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/1.023, allocations: 59.97 kB / 0.9459 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.622e-05/1.023, allocations: 50.5 kB / 0.9459 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/1.026, allocations: 1.415 MB / 0.9473 GB, free: 13.9 MB / 0.7169 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.037, allocations: 7.731 MB / 0.9549 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/1.04, allocations: 1.557 MB / 0.9564 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/1.041, allocations: 0.518 MB / 0.9569 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/1.042, allocations: 0.7708 MB / 0.9577 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/1.044, allocations: 0.5555 MB / 0.9582 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=83): time 3.637e-06/1.044, allocations: 4 kB / 0.9582 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=83): time 0.004218/1.048, allocations: 1.578 MB / 0.9597 GB, free: 296 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/1.048, allocations: 68.28 kB / 0.9598 GB, free: 216 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/1.05, allocations: 1.559 MB / 0.9613 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/1.05, allocations: 49.7 kB / 0.9614 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008196/1.051, allocations: 0.924 MB / 0.9623 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/1.051, allocations: 295.8 kB / 0.9626 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/1.052, allocations: 214.8 kB / 0.9628 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.052, allocations: 349.9 kB / 0.9631 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/1.053, allocations: 450.8 kB / 0.9635 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/1.054, allocations: 0.7819 MB / 0.9643 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/1.057, allocations: 1.211 MB / 0.9655 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.057, allocations: 0 / 0.9655 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003702/1.06, allocations: 1.422 MB / 0.9669 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.596e-05/1.06, allocations: 33.7 kB / 0.9669 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/1.06, allocations: 12.84 kB / 0.9669 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.822e-05/1.06, allocations: 12 kB / 0.9669 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.062, allocations: 272.3 kB / 0.9672 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.144e-05/1.062, allocations: 23.88 kB / 0.9672 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/1.064, allocations: 139.6 kB / 0.9673 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.064, allocations: 51.98 kB / 0.9674 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001993/1.066, allocations: 0.8031 MB / 0.9682 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001332/1.067, allocations: 0.7663 MB / 0.9689 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002333/1.069, allocations: 1.184 MB / 0.9701 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.195e-06/1.07, allocations: 7.938 kB / 0.9701 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.003357/1.073, allocations: 1.388 MB / 0.9714 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/1.073, allocations: 33.7 kB / 0.9715 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/1.073, allocations: 20.66 kB / 0.9715 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.073, allocations: 15.94 kB / 0.9715 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/1.074, allocations: 263.6 kB / 0.9718 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.365e-05/1.074, allocations: 23.92 kB / 0.9718 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.076, allocations: 124 kB / 0.9719 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.076, allocations: 48 kB / 0.9719 GB, free: 3.168 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.0003503/1.076, allocations: 251.9 kB / 0.9722 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004628/1.077, allocations: 177.8 kB / 0.9724 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/1.08, allocations: 1.158 MB / 0.9735 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/1.08, allocations: 8 kB / 0.9735 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.08, allocations: 0 / 0.9735 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002245/1.082, allocations: 1.231 MB / 0.9747 GB, free: 248 kB / 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.006728/1.089, allocations: 2.898 MB / 0.9775 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.089, allocations: 3.938 kB / 0.9775 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009888/1.09, allocations: 183.8 kB / 0.9777 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/1.09, allocations: 48.86 kB / 0.9777 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/1.09, allocations: 23.98 kB / 0.9778 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/1.091, allocations: 1.535 MB / 0.9793 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.092, allocations: 8.016 kB / 0.9793 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003982/1.095, allocations: 1.761 MB / 0.981 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.097, allocations: 350.5 kB / 0.9813 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/1.097, allocations: 16 kB / 0.9813 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/1.098, allocations: 63.94 kB / 0.9814 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/1.099, allocations: 64.45 kB / 0.9815 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.793e-05/1.099, allocations: 35.97 kB / 0.9815 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002209/1.101, allocations: 1.049 MB / 0.9825 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/1.101, allocations: 0 / 0.9825 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003227/1.104, allocations: 0.9312 MB / 0.9834 GB, free: 6.988 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.001878/1.106, allocations: 0.6003 MB / 0.984 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004376/1.11, allocations: 1.771 MB / 0.9858 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.11, allocations: 4 kB / 0.9858 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/1.112, allocations: 0.6049 MB / 0.9863 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004551/1.116, allocations: 0.8194 MB / 0.9871 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00909/1.126, allocations: 3.691 MB / 0.9908 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/1.127, allocations: 1.483 MB / 0.9922 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006874/1.128, allocations: 143.4 kB / 0.9923 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of SimCode: time 8.62e-07/1.128, allocations: 0 / 0.9923 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of Templates: time 0.05804/1.186, allocations: 34.36 MB / 1.026 GB, free: 11.71 MB / 0.795 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)