Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001482/0.001482, allocations: 193.1 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.1 MB / 222 MB, free: 4.957 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 55.92 kB / 278 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2014, allocations: 46.62 MB / 324.7 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3534/0.5549, allocations: 148.3 MB / 473 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.5561, allocations: 1.011 MB / 474 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.5563, allocations: 0 / 474 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.5566, allocations: 30.88 kB / 474 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006476/0.5573, allocations: 208.5 kB / 474.2 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.5576, allocations: 107.8 kB / 474.4 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.5579, allocations: 206.1 kB / 474.6 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.5579, allocations: 15.23 kB / 474.6 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.5581, allocations: 90.34 kB / 474.7 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.5582, allocations: 51.75 kB / 474.7 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.5583, allocations: 3.453 kB / 474.7 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.5588, allocations: 261 kB / 475 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.82e-05/0.5589, allocations: 29.22 kB / 475 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.245e-05/0.5589, allocations: 36.83 kB / 475 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.5594, allocations: 292.3 kB / 475.3 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5594, allocations: 2.094 kB / 475.3 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5594, allocations: 4 kB / 475.3 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.5594, allocations: 0 / 475.3 MB, free: 0.7539 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005966/0.56, allocations: 407.7 kB / 475.7 MB, free: 16.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.5601, allocations: 8.562 kB / 475.7 MB, free: 16.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.5621, allocations: 193.1 kB / 475.9 MB, free: 16.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.5624, allocations: 209 kB / 476.1 MB, free: 16.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.5624, allocations: 11.09 kB / 476.1 MB, free: 16.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.5625, allocations: 8.781 kB / 476.1 MB, free: 16.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.5629, allocations: 213.8 kB / 476.4 MB, free: 16.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.563, allocations: 0 / 476.4 MB, free: 16.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.563, allocations: 6.906 kB / 476.4 MB, free: 16.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.563, allocations: 0 / 476.4 MB, free: 16.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.5634, allocations: 174.7 kB / 476.5 MB, free: 16.1 MB / 398.1 MB 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.001107/0.5646, allocations: 0.5772 MB / 477.1 MB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.5649, allocations: 143.3 kB / 477.2 MB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.565, allocations: 70.25 kB / 477.3 MB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.5651, allocations: 5.141 kB / 477.3 MB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.5651, allocations: 34.25 kB / 477.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.5651, allocations: 0 / 477.4 MB, free: 15.57 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005309/0.5704, allocations: 1.313 MB / 478.7 MB, free: 15.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.5705, allocations: 57.03 kB / 478.7 MB, free: 15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.769e-05/0.5706, allocations: 113.1 kB / 478.8 MB, free: 14.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.5706, allocations: 25.7 kB / 478.9 MB, free: 14.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.5707, allocations: 99.27 kB / 479 MB, free: 14.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.5708, allocations: 71.61 kB / 479 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.717e-05/0.5709, allocations: 56.06 kB / 479.1 MB, free: 14.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.571, allocations: 323.2 kB / 479.4 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.5712, allocations: 68.83 kB / 479.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.5713, allocations: 99.31 kB / 479.6 MB, free: 14.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.5717, allocations: 189.8 kB / 479.7 MB, free: 14.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5717, allocations: 2.906 kB / 479.7 MB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004733/0.5721, allocations: 252.4 kB / 480 MB, free: 14.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.5722, allocations: 4.75 kB / 480 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5722, allocations: 6.594 kB / 480 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.5724, allocations: 53.92 kB / 480.1 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.5727, allocations: 54.39 kB / 480.1 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000385/0.5731, allocations: 0.5618 MB / 480.7 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.5733, allocations: 8.031 kB / 480.7 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.5734, allocations: 28.86 kB / 480.7 MB, free: 13.74 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.5735, allocations: 124.2 kB / 480.8 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.5736, allocations: 10.89 kB / 480.8 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/0.5744, allocations: 342.2 kB / 481.2 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.5744, allocations: 11.52 kB / 481.2 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5744, allocations: 0 / 481.2 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.5744, allocations: 7.234 kB / 481.2 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009065/0.5753, allocations: 0.6237 MB / 481.8 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5753, allocations: 4 kB / 481.8 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.5757, allocations: 62.56 kB / 481.9 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.518e-05/0.5758, allocations: 28.09 kB / 481.9 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.5758, allocations: 14.75 kB / 481.9 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008191/0.5766, allocations: 1.259 MB / 483.2 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5767, allocations: 9 kB / 483.2 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006269/0.5773, allocations: 435.8 kB / 483.6 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.5773, allocations: 90.23 kB / 483.7 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.5774, allocations: 7.625 kB / 483.7 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.5776, allocations: 15.94 kB / 483.7 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.5777, allocations: 17 kB / 483.7 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.5777, allocations: 32.06 kB / 483.8 MB, free: 11.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.745e-05/0.5778, allocations: 86.77 kB / 483.9 MB, free: 11.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5778, allocations: 0 / 483.9 MB, free: 11.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000403/0.5782, allocations: 82.94 kB / 483.9 MB, free: 11.56 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003672/0.5786, allocations: 146.6 kB / 484.1 MB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.5791, allocations: 202.9 kB / 484.3 MB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5791, allocations: 1.203 kB / 484.3 MB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.5794, allocations: 220.2 kB / 484.5 MB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.5799, allocations: 45.94 kB / 484.5 MB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00083/0.5807, allocations: 0.5144 MB / 485.1 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.5809, allocations: 0.7051 MB / 485.8 MB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004585/0.5814, allocations: 78.95 kB / 485.8 MB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.5816, allocations: 55.05 kB / 485.9 MB, free: 10.27 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5816, allocations: 1.203 kB / 485.9 MB, free: 10.27 MB / 398.1 MB Notification: Performance of Templates: time 0.008552/0.5902, allocations: 5.458 MB / 491.4 MB, free: 9.926 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)