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.001251/0.001251, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 194.4 kB / 16.53 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.365/1.365, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001295/0.001296, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2016, allocations: 46.64 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3328/0.5344, allocations: 150.6 MB / 475.9 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.5354, allocations: 0.9784 MB / 476.9 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.5355, allocations: 0 / 476.9 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.5358, allocations: 37.48 kB / 476.9 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005666/0.5364, allocations: 237.8 kB / 477.1 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.5368, allocations: 117.6 kB / 477.2 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.537, allocations: 167.5 kB / 477.4 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.537, allocations: 6.406 kB / 477.4 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.5372, allocations: 87 kB / 477.5 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.426e-05/0.5373, allocations: 52.58 kB / 477.5 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.5373, allocations: 6.875 kB / 477.6 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.5378, allocations: 261.9 kB / 477.8 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.5378, allocations: 26.45 kB / 477.8 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.5379, allocations: 45.92 kB / 477.9 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.5383, allocations: 282.1 kB / 478.2 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5383, allocations: 0 / 478.2 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5383, allocations: 0 / 478.2 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.5383, allocations: 3.188 kB / 478.2 MB, free: 0.5195 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.0005282/0.5388, allocations: 410 kB / 478.6 MB, free: 16.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.5389, allocations: 8.375 kB / 478.6 MB, free: 16.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.541, allocations: 193.6 kB / 478.8 MB, free: 16.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.5412, allocations: 202.4 kB / 479 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.5412, allocations: 12.75 kB / 479 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.5413, allocations: 8.594 kB / 479 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.5418, allocations: 225.8 kB / 479.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5418, allocations: 1.203 kB / 479.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.5418, allocations: 3.438 kB / 479.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5418, allocations: 2.812 kB / 479.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.5422, allocations: 166.8 kB / 479.4 MB, free: 15.87 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.0009631/0.5432, allocations: 0.5854 MB / 480 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.5435, allocations: 134.5 kB / 480.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.5437, allocations: 74.11 kB / 480.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.5437, allocations: 1.203 kB / 480.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.5437, allocations: 37.34 kB / 480.2 MB, free: 15.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.5437, allocations: 0 / 480.2 MB, free: 15.33 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.005397/0.5492, allocations: 1.316 MB / 481.5 MB, free: 14.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.5492, allocations: 51.41 kB / 481.6 MB, free: 14.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.5493, allocations: 120 kB / 481.7 MB, free: 14.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.5493, allocations: 29.33 kB / 481.7 MB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.5494, allocations: 90.52 kB / 481.8 MB, free: 14.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.5494, allocations: 71.88 kB / 481.9 MB, free: 14.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.702e-05/0.5495, allocations: 59.77 kB / 481.9 MB, free: 14.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.5496, allocations: 324.6 kB / 482.2 MB, free: 14.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.5498, allocations: 63.45 kB / 482.3 MB, free: 14.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.5499, allocations: 114.3 kB / 482.4 MB, free: 14.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.5503, allocations: 183.3 kB / 482.6 MB, free: 14.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5503, allocations: 0 / 482.6 MB, free: 14.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004494/0.5507, allocations: 259.4 kB / 482.8 MB, free: 14.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.5508, allocations: 2.344 kB / 482.8 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5508, allocations: 2.688 kB / 482.8 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.5509, allocations: 50.56 kB / 482.9 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.5513, allocations: 58.5 kB / 483 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003839/0.5517, allocations: 0.5625 MB / 483.5 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.5519, allocations: 13.55 kB / 483.5 MB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.5519, allocations: 21.03 kB / 483.6 MB, free: 13.49 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.0001123/0.552, allocations: 128.6 kB / 483.7 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.5521, allocations: 11.88 kB / 483.7 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000804/0.5529, allocations: 345.7 kB / 484 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5529, allocations: 6.156 kB / 484 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5529, allocations: 0 / 484 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.5529, allocations: 2.906 kB / 484 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008987/0.5538, allocations: 0.6317 MB / 484.7 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5539, allocations: 2.578 kB / 484.7 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.5542, allocations: 55.86 kB / 484.7 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-05/0.5543, allocations: 20 kB / 484.7 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.5543, allocations: 17.28 kB / 484.8 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008315/0.5551, allocations: 1.37 MB / 486.1 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5552, allocations: 0 / 486.1 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.5558, allocations: 436.7 kB / 486.6 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.5559, allocations: 90.64 kB / 486.6 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.5559, allocations: 3.75 kB / 486.6 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.5561, allocations: 7.969 kB / 486.7 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.5562, allocations: 25.23 kB / 486.7 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.5562, allocations: 27.58 kB / 486.7 MB, free: 11.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.674e-05/0.5563, allocations: 89.45 kB / 486.8 MB, free: 11.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5563, allocations: 0 / 486.8 MB, free: 11.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000398/0.5567, allocations: 85.56 kB / 486.9 MB, free: 11.22 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.0003473/0.557, allocations: 147.3 kB / 487 MB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004689/0.5575, allocations: 214 kB / 487.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.5575, allocations: 0 / 487.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.5579, allocations: 219.1 kB / 487.4 MB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.5583, allocations: 56.27 kB / 487.5 MB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000796/0.5591, allocations: 488.9 kB / 488 MB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.5594, allocations: 0.7043 MB / 488.7 MB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004291/0.5598, allocations: 74.23 kB / 488.8 MB, free: 9.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.56, allocations: 56.55 kB / 488.8 MB, free: 9.961 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.56, allocations: 0 / 488.8 MB, free: 9.961 MB / 398.1 MB Notification: Performance of Templates: time 0.008444/0.5685, allocations: 5.597 MB / 494.4 MB, free: 9.609 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)