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.3597/0.3597, allocations: 54.42 MB / 61.89 MB, free: 13.78 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.001053/0.001053, allocations: 195.5 kB / 75.62 MB, free: 0.8047 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.99/1.99, allocations: 194.3 MB / 283.5 MB, free: 14.81 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00153/0.00153, allocations: 115.2 kB / 341.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.981e-05, allocations: 0 / 405.5 MB, free: 4.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4031, allocations: 57.65 MB / 463.1 MB, free: 51.77 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.641/6.044, allocations: 2.177 GB / 2.629 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/6.044, allocations: 91.39 kB / 2.629 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.744/12.79, allocations: 1.6 GB / 4.23 GB, free: 41.61 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.265e-06/12.79, allocations: 0 / 4.23 GB, free: 41.61 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005525/12.79, allocations: 64.86 kB / 4.23 GB, free: 41.6 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.01152/12.8, allocations: 2.614 MB / 4.232 GB, free: 40.42 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/12.8, allocations: 10.34 kB / 4.232 GB, free: 40.42 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006475/12.81, allocations: 0.7797 MB / 4.233 GB, free: 40.28 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008874/12.82, allocations: 2.347 MB / 4.235 GB, free: 39.79 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/12.82, allocations: 48.88 kB / 4.235 GB, free: 39.79 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/12.82, allocations: 102.5 kB / 4.236 GB, free: 39.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005034/12.82, allocations: 1.299 MB / 4.237 GB, free: 39.78 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005346/12.83, allocations: 1.534 MB / 4.238 GB, free: 39.55 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.686e-05/12.83, allocations: 7.094 kB / 4.238 GB, free: 39.54 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/12.83, allocations: 7.828 kB / 4.238 GB, free: 39.54 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-05/12.83, allocations: 55.45 kB / 4.238 GB, free: 39.54 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.01268/12.84, allocations: 7.82 MB / 4.246 GB, free: 35.63 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/12.84, allocations: 1.601 MB / 4.248 GB, free: 34.86 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/12.84, allocations: 0.5196 MB / 4.248 GB, free: 34.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/12.84, allocations: 119 kB / 4.248 GB, free: 34.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009845/12.84, allocations: 0.6361 MB / 4.249 GB, free: 34.64 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001225/12.85, allocations: 96.67 kB / 4.249 GB, free: 34.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=99): time 3.837e-06/12.85, allocations: 1.531 kB / 4.249 GB, free: 34.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=102): time 0.007719/12.85, allocations: 3.058 MB / 4.252 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/12.85, allocations: 324.8 kB / 4.252 GB, free: 33.17 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/12.86, allocations: 1.228 MB / 4.253 GB, free: 32.96 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.84e-05/12.86, allocations: 31.3 kB / 4.253 GB, free: 32.93 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009151/12.86, allocations: 0.9808 MB / 4.254 GB, free: 32.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/12.86, allocations: 346.7 kB / 4.255 GB, free: 32.35 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/12.86, allocations: 0 / 4.255 GB, free: 32.35 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001186/12.86, allocations: 358.2 kB / 4.255 GB, free: 32.04 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/12.86, allocations: 430.6 kB / 4.255 GB, free: 32.04 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008971/12.86, allocations: 0.8036 MB / 4.256 GB, free: 31.6 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.004796/12.86, allocations: 1.793 MB / 4.258 GB, free: 31.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/12.86, allocations: 0 / 4.258 GB, free: 31.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002764/12.87, allocations: 1.504 MB / 4.259 GB, free: 31.19 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008381/12.87, allocations: 3.129 MB / 4.263 GB, free: 27.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/12.87, allocations: 13.48 kB / 4.263 GB, free: 27.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/12.87, allocations: 46.22 kB / 4.263 GB, free: 27.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/12.87, allocations: 288.2 kB / 4.263 GB, free: 27.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/12.87, allocations: 1.415 MB / 4.264 GB, free: 26.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/12.87, allocations: 144.1 kB / 4.264 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/12.87, allocations: 56.14 kB / 4.264 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/12.87, allocations: 3.75 kB / 4.264 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002348/12.87, allocations: 1.256 MB / 4.266 GB, free: 26.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/12.87, allocations: 7.438 kB / 4.266 GB, free: 26.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/12.87, allocations: 48.69 kB / 4.266 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/12.88, allocations: 278.7 kB / 4.266 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/12.88, allocations: 1.427 MB / 4.267 GB, free: 25.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/12.88, allocations: 126.6 kB / 4.267 GB, free: 25.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/12.88, allocations: 55.09 kB / 4.268 GB, free: 25.22 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 146 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005281/12.88, allocations: 146.3 kB / 4.268 GB, free: 25.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/12.88, allocations: 190.8 kB / 4.268 GB, free: 25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/12.88, allocations: 1.259 MB / 4.269 GB, free: 24.79 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/12.88, allocations: 11.38 kB / 4.269 GB, free: 24.79 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/12.88, allocations: 3.969 kB / 4.269 GB, free: 24.79 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001539/12.88, allocations: 1.037 MB / 4.27 GB, free: 24.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005548/12.89, allocations: 3.213 MB / 4.273 GB, free: 23.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/12.89, allocations: 5.906 kB / 4.273 GB, free: 23.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/12.89, allocations: 225.7 kB / 4.273 GB, free: 23.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002005/12.89, allocations: 70.16 kB / 4.274 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/12.89, allocations: 15 kB / 4.274 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/12.89, allocations: 2.641 MB / 4.276 GB, free: 21.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/12.89, allocations: 2.094 kB / 4.276 GB, free: 21.39 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/12.9, allocations: 1.91 MB / 4.278 GB, free: 20.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/12.9, allocations: 379.7 kB / 4.278 GB, free: 20.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005846/12.9, allocations: 10.88 kB / 4.278 GB, free: 20.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/12.9, allocations: 140.5 kB / 4.279 GB, free: 20.76 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/12.9, allocations: 67.11 kB / 4.279 GB, free: 20.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.87e-05/12.9, allocations: 40.34 kB / 4.279 GB, free: 20.76 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002043/12.9, allocations: 0.9219 MB / 4.28 GB, free: 20.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/12.9, allocations: 0 / 4.28 GB, free: 20.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006025/12.91, allocations: 1.145 MB / 4.281 GB, free: 20.56 MB / 0.5417 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 96 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006543/12.91, allocations: 3.598 MB / 4.284 GB, free: 19.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003989/12.92, allocations: 2.135 MB / 4.286 GB, free: 18.78 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/12.92, allocations: 6.828 kB / 4.286 GB, free: 18.78 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/12.92, allocations: 0.6992 MB / 4.287 GB, free: 18.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005372/12.93, allocations: 0.933 MB / 4.288 GB, free: 18.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008152/12.93, allocations: 3.122 MB / 4.291 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/12.94, allocations: 1.633 MB / 4.292 GB, free: 17.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003964/12.94, allocations: 0.6868 MB / 4.293 GB, free: 16.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004511/12.94, allocations: 122 kB / 4.293 GB, free: 16.95 MB / 0.5417 GB Notification: Performance of SimCode: time 1.213e-06/12.94, allocations: 0 / 4.293 GB, free: 16.95 MB / 0.5417 GB Notification: Performance of Templates: time 0.08813/13.03, allocations: 53.8 MB / 4.346 GB, free: 2.031 MB / 0.5573 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)