Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001094/0.001094, allocations: 192.2 kB / 16.14 MB, free: 6.707 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.326/1.326, allocations: 205.1 MB / 222 MB, free: 4.746 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.001151/0.001152, allocations: 55.91 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2097, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3925/0.6023, allocations: 148.3 MB / 473 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.6035, allocations: 1.004 MB / 474 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.6035, allocations: 0 / 474 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.6039, allocations: 36.72 kB / 474.1 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.6044, allocations: 207.4 kB / 474.3 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.6047, allocations: 101.1 kB / 474.4 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.605, allocations: 206 kB / 474.6 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.605, allocations: 9.047 kB / 474.6 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.6052, allocations: 85.08 kB / 474.6 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.6054, allocations: 56.38 kB / 474.7 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.6054, allocations: 3.438 kB / 474.7 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005553/0.606, allocations: 266.7 kB / 475 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.606, allocations: 17.69 kB / 475 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.802e-05/0.6061, allocations: 47.25 kB / 475 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.6065, allocations: 288.1 kB / 475.3 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.6065, allocations: 2.906 kB / 475.3 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.6065, allocations: 2.812 kB / 475.3 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.6065, allocations: 0 / 475.3 MB, free: 0.7812 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.0006133/0.6072, allocations: 412.4 kB / 475.7 MB, free: 16.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.6072, allocations: 8.531 kB / 475.7 MB, free: 16.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.6093, allocations: 193.9 kB / 475.9 MB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.6095, allocations: 203 kB / 476.1 MB, free: 16.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.6096, allocations: 14.5 kB / 476.1 MB, free: 16.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.6096, allocations: 7.531 kB / 476.1 MB, free: 16.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.6101, allocations: 215.5 kB / 476.3 MB, free: 16.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.6101, allocations: 6.188 kB / 476.4 MB, free: 16.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.6102, allocations: 6.047 kB / 476.4 MB, free: 16.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.6102, allocations: 6.406 kB / 476.4 MB, free: 16.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.6106, allocations: 168.3 kB / 476.5 MB, free: 16.12 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.001088/0.6117, allocations: 0.5816 MB / 477.1 MB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.6121, allocations: 135.7 kB / 477.2 MB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.6122, allocations: 71.28 kB / 477.3 MB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.6123, allocations: 2.156 kB / 477.3 MB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.6123, allocations: 37.91 kB / 477.4 MB, free: 15.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.6123, allocations: 0 / 477.4 MB, free: 15.6 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.005474/0.6178, allocations: 1.308 MB / 478.7 MB, free: 15.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.6178, allocations: 53.78 kB / 478.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.209e-05/0.6179, allocations: 113.7 kB / 478.8 MB, free: 14.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.618, allocations: 29.14 kB / 478.9 MB, free: 14.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.618, allocations: 98.14 kB / 479 MB, free: 14.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.6181, allocations: 68.42 kB / 479 MB, free: 14.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.798e-05/0.6182, allocations: 61.09 kB / 479.1 MB, free: 14.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6183, allocations: 319.9 kB / 479.4 MB, free: 14.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.6185, allocations: 70.36 kB / 479.5 MB, free: 14.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.6186, allocations: 98.81 kB / 479.6 MB, free: 14.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.6189, allocations: 185.1 kB / 479.7 MB, free: 14.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.619, allocations: 3.766 kB / 479.7 MB, free: 14.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004488/0.6194, allocations: 257.6 kB / 480 MB, free: 14.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.6194, allocations: 12.72 kB / 480 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.6194, allocations: 3.594 kB / 480 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.6196, allocations: 52.97 kB / 480.1 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.62, allocations: 51.44 kB / 480.1 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004171/0.6204, allocations: 0.571 MB / 480.7 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.6206, allocations: 9.281 kB / 480.7 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.6207, allocations: 25.05 kB / 480.7 MB, free: 13.76 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.0001218/0.6208, allocations: 124.8 kB / 480.8 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.6208, allocations: 9.688 kB / 480.8 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007909/0.6216, allocations: 341.5 kB / 481.2 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.6217, allocations: 11.53 kB / 481.2 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6217, allocations: 0 / 481.2 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.6217, allocations: 3.094 kB / 481.2 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009156/0.6226, allocations: 0.6242 MB / 481.8 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6226, allocations: 2.781 kB / 481.8 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.623, allocations: 64.2 kB / 481.9 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.886e-05/0.6231, allocations: 19.36 kB / 481.9 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.6231, allocations: 16.19 kB / 481.9 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008337/0.6239, allocations: 1.272 MB / 483.2 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.624, allocations: 7.156 kB / 483.2 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.6246, allocations: 425.9 kB / 483.6 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.6247, allocations: 92.59 kB / 483.7 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.6247, allocations: 10.66 kB / 483.7 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.625, allocations: 9.719 kB / 483.7 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.625, allocations: 22.53 kB / 483.7 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.6251, allocations: 28.11 kB / 483.8 MB, free: 11.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.921e-05/0.6252, allocations: 90.56 kB / 483.9 MB, free: 11.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6252, allocations: 4 kB / 483.9 MB, free: 11.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004706/0.6256, allocations: 78.72 kB / 483.9 MB, free: 11.59 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.000408/0.6261, allocations: 148.4 kB / 484.1 MB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004816/0.6265, allocations: 199.6 kB / 484.3 MB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6266, allocations: 0 / 484.3 MB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.6269, allocations: 223.3 kB / 484.5 MB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.6274, allocations: 47.67 kB / 484.5 MB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.6283, allocations: 0.5192 MB / 485.1 MB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.6286, allocations: 0.7051 MB / 485.8 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004438/0.629, allocations: 83.97 kB / 485.9 MB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.6292, allocations: 53.08 kB / 485.9 MB, free: 10.29 MB / 398.1 MB Notification: Performance of SimCode: time 1.263e-06/0.6292, allocations: 0 / 485.9 MB, free: 10.29 MB / 398.1 MB Notification: Performance of Templates: time 0.00837/0.6376, allocations: 5.451 MB / 491.4 MB, free: 9.949 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)