Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008533/0.0008534, allocations: 92.22 kB / 16.31 MB, free: 5.602 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.0009294/0.0009296, allocations: 181.3 kB / 17.21 MB, free: 5.52 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.41/1.41, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.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.0004328/0.0004329, allocations: 15.94 kB / 280.1 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08228/0.08273, allocations: 47.57 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3114/0.3942, allocations: 136.6 MB / 464.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3956, allocations: 0.9056 MB / 465.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.674e-05/0.3957, allocations: 0 / 465.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.396, allocations: 27.77 kB / 465.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007964/0.3968, allocations: 209.4 kB / 465.4 MB, free: 492 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.3973, allocations: 92.8 kB / 465.5 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.3977, allocations: 183.2 kB / 465.7 MB, free: 216 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.499e-05/0.3978, allocations: 4.844 kB / 465.7 MB, free: 212 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.3981, allocations: 87.62 kB / 465.8 MB, free: 124 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.3983, allocations: 51.83 kB / 465.8 MB, free: 72 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3983, allocations: 4 kB / 465.8 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007515/0.3991, allocations: 259.7 kB / 466.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.3991, allocations: 27.91 kB / 466.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.913e-05/0.3992, allocations: 41.64 kB / 466.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.3997, allocations: 205.1 kB / 466.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3997, allocations: 0 / 466.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3997, allocations: 1.5 kB / 466.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3997, allocations: 4 kB / 466.4 MB, free: 15.54 MB / 366.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.0007882/0.4005, allocations: 387.7 kB / 466.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.4006, allocations: 12.03 kB / 466.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.4026, allocations: 184.1 kB / 466.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.4029, allocations: 207.4 kB / 467.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.4029, allocations: 8 kB / 467.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.403, allocations: 11.98 kB / 467.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.4035, allocations: 223.9 kB / 467.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4036, allocations: 0 / 467.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.4036, allocations: 4 kB / 467.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.4036, allocations: 4 kB / 467.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.4041, allocations: 167.8 kB / 467.5 MB, free: 14.25 MB / 366.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.001255/0.4054, allocations: 0.5804 MB / 468.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.4057, allocations: 150.4 kB / 468.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.4059, allocations: 68.77 kB / 468.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.4059, allocations: 4 kB / 468.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.4059, allocations: 38.55 kB / 468.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.406, allocations: 0 / 468.4 MB, free: 13.33 MB / 366.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.005024/0.411, allocations: 1.309 MB / 469.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.411, allocations: 51.41 kB / 469.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.471e-05/0.4111, allocations: 113.8 kB / 469.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.4112, allocations: 29.7 kB / 469.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.4113, allocations: 95.98 kB / 470 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.4113, allocations: 67 kB / 470 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.4114, allocations: 8 kB / 470 MB, free: 11.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4115, allocations: 322.8 kB / 470.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.4116, allocations: 67.97 kB / 470.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.4118, allocations: 95.58 kB / 470.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.412, allocations: 84.86 kB / 470.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.412, allocations: 3.953 kB / 470.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005028/0.4125, allocations: 263.2 kB / 470.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.4126, allocations: 8 kB / 470.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.4126, allocations: 0 / 470.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.4127, allocations: 48.83 kB / 470.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.4131, allocations: 51.91 kB / 471 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004659/0.4136, allocations: 0.5681 MB / 471.5 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.4137, allocations: 3.906 kB / 471.5 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.4138, allocations: 35.94 kB / 471.6 MB, free: 9.953 MB / 366.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 (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.4139, allocations: 125.7 kB / 471.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.414, allocations: 16 kB / 471.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008412/0.4148, allocations: 347.2 kB / 472.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4149, allocations: 0 / 472.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4149, allocations: 4 kB / 472.1 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4149, allocations: 3.953 kB / 472.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009693/0.4159, allocations: 0.6196 MB / 472.7 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4159, allocations: 4 kB / 472.7 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.4162, allocations: 59.95 kB / 472.7 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-05/0.4163, allocations: 20.8 kB / 472.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.4163, allocations: 12 kB / 472.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009783/0.4173, allocations: 1.277 MB / 474.1 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4173, allocations: 4.031 kB / 474.1 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.418, allocations: 438.6 kB / 474.5 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.4181, allocations: 85.02 kB / 474.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.4181, allocations: 7.984 kB / 474.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.4183, allocations: 12.06 kB / 474.6 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.4184, allocations: 23.91 kB / 474.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.4184, allocations: 31.98 kB / 474.6 MB, free: 6.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.53e-05/0.4185, allocations: 87.28 kB / 474.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4185, allocations: 0 / 474.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000403/0.4189, allocations: 79.94 kB / 474.8 MB, free: 6.457 MB / 366.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 (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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003368/0.4192, allocations: 151.1 kB / 475 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004714/0.4197, allocations: 204 kB / 475.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.4197, allocations: 8 kB / 475.2 MB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.4201, allocations: 214.6 kB / 475.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.4205, allocations: 46.11 kB / 475.4 MB, free: 5.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.4214, allocations: 0.5666 MB / 476 MB, free: 5.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.4216, allocations: 0.7088 MB / 476.7 MB, free: 4.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004477/0.4221, allocations: 77.94 kB / 476.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.4223, allocations: 51.41 kB / 476.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4223, allocations: 0 / 476.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of Templates: time 0.009598/0.4319, allocations: 5.408 MB / 482.2 MB, free: 14.96 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)