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.0007549/0.0007549, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004689/0.00469, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.332/1.332, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.000466/0.0004659, allocations: 20 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2312, allocations: 47.57 MB / 327 MB, free: 1.34 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3869/0.6182, allocations: 146.4 MB / 473.5 MB, free: 15.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.6194, allocations: 0.9959 MB / 474.5 MB, free: 15.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.6195, allocations: 0 / 474.5 MB, free: 15.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.6198, allocations: 32.12 kB / 474.5 MB, free: 15.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.6203, allocations: 207.7 kB / 474.7 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.6206, allocations: 108.3 kB / 474.8 MB, free: 15.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.6209, allocations: 201.1 kB / 475 MB, free: 15.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.6209, allocations: 8.859 kB / 475 MB, free: 15.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.6211, allocations: 84.77 kB / 475.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.745e-05/0.6212, allocations: 56.97 kB / 475.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.6213, allocations: 3.312 kB / 475.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.6217, allocations: 268.4 kB / 475.4 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.6218, allocations: 19.66 kB / 475.4 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.6218, allocations: 68.19 kB / 475.5 MB, free: 15.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.6222, allocations: 285.1 kB / 475.8 MB, free: 15.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6222, allocations: 0 / 475.8 MB, free: 15.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6222, allocations: 1.594 kB / 475.8 MB, free: 15.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.6222, allocations: 0 / 475.8 MB, free: 15.3 MB / 398.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.0004438/0.6227, allocations: 394.8 kB / 476.2 MB, free: 14.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.6227, allocations: 8.719 kB / 476.2 MB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.6248, allocations: 196.1 kB / 476.4 MB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.6251, allocations: 199.2 kB / 476.6 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.6251, allocations: 10.53 kB / 476.6 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.6252, allocations: 14.06 kB / 476.6 MB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.6257, allocations: 216.2 kB / 476.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.6258, allocations: 1.406 kB / 476.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.075e-05/0.6258, allocations: 8.984 kB / 476.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.6259, allocations: 0 / 476.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.6263, allocations: 170.5 kB / 477 MB, free: 14.64 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.001148/0.6275, allocations: 0.5791 MB / 477.5 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.6278, allocations: 140.5 kB / 477.7 MB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.628, allocations: 68.53 kB / 477.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.628, allocations: 6.781 kB / 477.8 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.6281, allocations: 35.5 kB / 477.8 MB, free: 14.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.6281, allocations: 0 / 477.8 MB, free: 14.1 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.005239/0.6334, allocations: 1.325 MB / 479.1 MB, free: 13.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.6334, allocations: 54.75 kB / 479.2 MB, free: 13.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/0.6335, allocations: 107.9 kB / 479.3 MB, free: 13.42 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.6335, allocations: 30.33 kB / 479.3 MB, free: 13.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.6336, allocations: 96.88 kB / 479.4 MB, free: 13.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.6337, allocations: 68.33 kB / 479.5 MB, free: 13.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.6337, allocations: 22.53 kB / 479.5 MB, free: 13.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6338, allocations: 322.8 kB / 479.8 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.634, allocations: 71.56 kB / 479.9 MB, free: 12.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.6341, allocations: 102.1 kB / 480 MB, free: 12.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.6345, allocations: 184.9 kB / 480.2 MB, free: 12.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6345, allocations: 3.094 kB / 480.2 MB, free: 12.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004472/0.6349, allocations: 255 kB / 480.4 MB, free: 12.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.635, allocations: 8.672 kB / 480.4 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.635, allocations: 320 / 480.4 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.6351, allocations: 51.66 kB / 480.5 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.6355, allocations: 53.64 kB / 480.5 MB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003774/0.6359, allocations: 0.573 MB / 481.1 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.636, allocations: 3.219 kB / 481.1 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.6361, allocations: 32.97 kB / 481.1 MB, free: 12.25 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.0001142/0.6362, allocations: 120.5 kB / 481.2 MB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.6363, allocations: 13.28 kB / 481.3 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007858/0.6371, allocations: 347.4 kB / 481.6 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6371, allocations: 6.906 kB / 481.6 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6371, allocations: 0 / 481.6 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6371, allocations: 7.781 kB / 481.6 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009188/0.638, allocations: 0.622 MB / 482.2 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.638, allocations: 0 / 482.2 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.6384, allocations: 62.75 kB / 482.3 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.512e-05/0.6385, allocations: 26.62 kB / 482.3 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.6385, allocations: 10.14 kB / 482.3 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008464/0.6394, allocations: 1.265 MB / 483.6 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.6394, allocations: 7.469 kB / 483.6 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.64, allocations: 435.2 kB / 484 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.6401, allocations: 84.05 kB / 484.1 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.6401, allocations: 12.67 kB / 484.1 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.6404, allocations: 17.31 kB / 484.1 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.6404, allocations: 22.45 kB / 484.2 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.6405, allocations: 28.14 kB / 484.2 MB, free: 10.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.845e-05/0.6405, allocations: 91.28 kB / 484.3 MB, free: 10.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6405, allocations: 0 / 484.3 MB, free: 10.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004133/0.641, allocations: 78.16 kB / 484.3 MB, free: 10.04 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.0003996/0.6414, allocations: 147.7 kB / 484.5 MB, free: 9.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005182/0.6419, allocations: 212.3 kB / 484.7 MB, free: 9.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6419, allocations: 0 / 484.7 MB, free: 9.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.6423, allocations: 218.4 kB / 484.9 MB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.6427, allocations: 48.61 kB / 485 MB, free: 9.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008714/0.6436, allocations: 0.5773 MB / 485.5 MB, free: 9.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.6439, allocations: 0.7153 MB / 486.3 MB, free: 8.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000431/0.6444, allocations: 79.28 kB / 486.3 MB, free: 8.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.6446, allocations: 49.08 kB / 486.4 MB, free: 8.707 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6446, allocations: 0 / 486.4 MB, free: 8.707 MB / 398.1 MB Notification: Performance of Templates: time 0.009671/0.6542, allocations: 5.441 MB / 491.8 MB, free: 7.117 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)