Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3152/0.3152, allocations: 55.01 MB / 69.96 MB, free: 8.672 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001213/0.001212, allocations: 193.8 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.834/1.834, allocations: 194.4 MB / 292.3 MB, free: 3.605 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001792/0.001792, allocations: 108.4 kB / 350.7 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 57.66 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.447/5.567, allocations: 2.178 GB / 2.643 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/5.567, allocations: 95.95 kB / 2.643 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.34/11.91, allocations: 1.62 GB / 4.263 GB, free: 36.07 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.964e-06/11.91, allocations: 0 / 4.263 GB, free: 36.07 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002701/11.91, allocations: 61.67 kB / 4.263 GB, free: 36.06 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 383 * Number of variables: 383 Notification: Performance of Generate backend data structure: time 0.009124/11.92, allocations: 3.137 MB / 4.266 GB, free: 34.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/11.92, allocations: 16.89 kB / 4.266 GB, free: 34.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/11.92, allocations: 0.7776 MB / 4.267 GB, free: 34.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006842/11.93, allocations: 2.368 MB / 4.269 GB, free: 34.06 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/11.93, allocations: 126.3 kB / 4.27 GB, free: 34.06 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/11.93, allocations: 167.2 kB / 4.27 GB, free: 34.05 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003699/11.93, allocations: 1.845 MB / 4.271 GB, free: 33.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/11.93, allocations: 3.812 kB / 4.271 GB, free: 33.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/11.93, allocations: 64.69 kB / 4.272 GB, free: 33.81 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.24e-05/11.93, allocations: 57.98 kB / 4.272 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002982/11.94, allocations: 1.508 MB / 4.273 GB, free: 33.79 MB / 0.5417 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.01161/11.95, allocations: 8.108 MB / 4.281 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/11.95, allocations: 1.766 MB / 4.283 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/11.95, allocations: 119.2 kB / 4.283 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001446/11.95, allocations: 0.7372 MB / 4.284 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001373/11.95, allocations: 129.5 kB / 4.284 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=99): time 4.458e-06/11.95, allocations: 0 / 4.284 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=102): time 0.008886/11.96, allocations: 3.832 MB / 4.287 GB, free: 27.63 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/11.96, allocations: 322.6 kB / 4.288 GB, free: 27.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002131/11.97, allocations: 1.383 MB / 4.289 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/11.97, allocations: 53.8 kB / 4.289 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008303/11.97, allocations: 0.9871 MB / 4.29 GB, free: 26.67 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/11.97, allocations: 353.6 kB / 4.29 GB, free: 26.45 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/11.97, allocations: 24.62 kB / 4.29 GB, free: 26.45 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/11.97, allocations: 352.7 kB / 4.291 GB, free: 26.14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009886/11.97, allocations: 0.4975 MB / 4.291 GB, free: 26.14 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/11.97, allocations: 0.9003 MB / 4.292 GB, free: 25.71 MB / 0.5417 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00961/11.98, allocations: 2.35 MB / 4.294 GB, free: 25.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/11.98, allocations: 3.781 kB / 4.294 GB, free: 25.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003596/11.98, allocations: 1.714 MB / 4.296 GB, free: 25.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007095/11.98, allocations: 3.131 MB / 4.299 GB, free: 21.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/11.98, allocations: 9.844 kB / 4.299 GB, free: 21.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/11.98, allocations: 53.69 kB / 4.299 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/11.98, allocations: 285.7 kB / 4.3 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/11.99, allocations: 1.559 MB / 4.301 GB, free: 20.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/11.99, allocations: 169.5 kB / 4.301 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/11.99, allocations: 57.02 kB / 4.301 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/11.99, allocations: 3.219 kB / 4.301 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002559/11.99, allocations: 1.47 MB / 4.303 GB, free: 20.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/11.99, allocations: 9.859 kB / 4.303 GB, free: 20.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/11.99, allocations: 48.81 kB / 4.303 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/11.99, allocations: 274.2 kB / 4.303 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/11.99, allocations: 1.562 MB / 4.305 GB, free: 35.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/12, allocations: 153.6 kB / 4.305 GB, free: 35.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/12, allocations: 58.55 kB / 4.305 GB, free: 35.11 MB / 0.5573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 145 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001792/12, allocations: 0.604 MB / 4.305 GB, free: 34.92 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005692/12, allocations: 200.7 kB / 4.306 GB, free: 34.81 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/12, allocations: 1.422 MB / 4.307 GB, free: 34.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/12, allocations: 14.53 kB / 4.307 GB, free: 34.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/12, allocations: 7.766 kB / 4.307 GB, free: 34.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00205/12, allocations: 1.175 MB / 4.308 GB, free: 34.42 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006957/12.01, allocations: 3.502 MB / 4.311 GB, free: 33.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/12.01, allocations: 2.969 kB / 4.311 GB, free: 33.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/12.01, allocations: 218.1 kB / 4.312 GB, free: 33.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/12.01, allocations: 77.36 kB / 4.312 GB, free: 33.65 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.968e-05/12.01, allocations: 29.27 kB / 4.312 GB, free: 33.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/12.02, allocations: 2.919 MB / 4.315 GB, free: 31.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/12.02, allocations: 5.984 kB / 4.315 GB, free: 31.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003853/12.02, allocations: 2.132 MB / 4.317 GB, free: 30.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/12.02, allocations: 384 kB / 4.317 GB, free: 30.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002583/12.02, allocations: 27.89 kB / 4.317 GB, free: 30.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/12.02, allocations: 159.4 kB / 4.317 GB, free: 30.44 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/12.02, allocations: 67.7 kB / 4.317 GB, free: 30.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/12.02, allocations: 44.73 kB / 4.317 GB, free: 30.44 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001672/12.02, allocations: 1.068 MB / 4.318 GB, free: 30.29 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.222e-06/12.02, allocations: 0 / 4.318 GB, free: 30.29 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005055/12.03, allocations: 1.278 MB / 4.32 GB, free: 30.24 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005372/12.03, allocations: 3.452 MB / 4.323 GB, free: 28.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004508/12.04, allocations: 2.344 MB / 4.325 GB, free: 28.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/12.04, allocations: 2.406 kB / 4.325 GB, free: 28.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/12.04, allocations: 0.8066 MB / 4.326 GB, free: 28.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004723/12.05, allocations: 0.9919 MB / 4.327 GB, free: 28.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008781/12.05, allocations: 4.813 MB / 4.332 GB, free: 26.17 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/12.06, allocations: 1.639 MB / 4.333 GB, free: 25.44 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003139/12.06, allocations: 0.5096 MB / 4.334 GB, free: 25.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/12.06, allocations: 145.7 kB / 4.334 GB, free: 25.35 MB / 0.5573 GB Notification: Performance of SimCode: time 1.352e-06/12.06, allocations: 4 kB / 4.334 GB, free: 25.35 MB / 0.5573 GB Notification: Performance of Templates: time 0.1062/12.17, allocations: 69.75 MB / 4.402 GB, free: 0.8984 MB / 0.573 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)