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.0007877/0.0007878, allocations: 93.64 kB / 16.65 MB, free: 6.59 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.0007973/0.0007974, allocations: 184.9 kB / 17.57 MB, free: 6.199 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.298/1.298, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004305/0.0004305, allocations: 8 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08267/0.08312, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3/0.3832, allocations: 146.4 MB / 474.8 MB, free: 7.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3845, allocations: 0.9918 MB / 475.7 MB, free: 6.375 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.3845, allocations: 0 / 475.7 MB, free: 6.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.3848, allocations: 31.81 kB / 475.8 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005106/0.3853, allocations: 214.9 kB / 476 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.3856, allocations: 108.9 kB / 476.1 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.3859, allocations: 203.3 kB / 476.3 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.3859, allocations: 4 kB / 476.3 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.3861, allocations: 83.64 kB / 476.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.3862, allocations: 55.83 kB / 476.4 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3862, allocations: 3.938 kB / 476.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.3867, allocations: 271.6 kB / 476.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.3868, allocations: 19.91 kB / 476.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.3869, allocations: 73.55 kB / 476.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.3872, allocations: 280.9 kB / 477.1 MB, free: 5.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3873, allocations: 0 / 477.1 MB, free: 5.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3873, allocations: 0 / 477.1 MB, free: 5.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3873, allocations: 0 / 477.1 MB, free: 5.047 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.0004414/0.3877, allocations: 395.9 kB / 477.4 MB, free: 4.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3878, allocations: 12.03 kB / 477.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.3899, allocations: 184.5 kB / 477.6 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.3901, allocations: 204.4 kB / 477.8 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.3902, allocations: 7.938 kB / 477.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/0.3902, allocations: 16 kB / 477.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.3907, allocations: 220 kB / 478.1 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3907, allocations: 0 / 478.1 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.3908, allocations: 4 kB / 478.1 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3908, allocations: 4 kB / 478.1 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.3912, allocations: 163.9 kB / 478.2 MB, free: 3.762 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.0009868/0.3922, allocations: 0.593 MB / 478.8 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.3926, allocations: 134.5 kB / 479 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3927, allocations: 68.83 kB / 479 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3928, allocations: 11.97 kB / 479.1 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.3928, allocations: 38.5 kB / 479.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.3928, allocations: 0 / 479.1 MB, free: 2.84 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.005321/0.3981, allocations: 1.316 MB / 480.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.3982, allocations: 55.41 kB / 480.5 MB, free: 1.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.722e-05/0.3983, allocations: 109.8 kB / 480.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.3983, allocations: 29.7 kB / 480.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.3984, allocations: 91.95 kB / 480.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.3984, allocations: 67.03 kB / 480.7 MB, free: 1.051 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.3985, allocations: 25.72 kB / 480.8 MB, free: 1.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.3986, allocations: 322.8 kB / 481.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.3988, allocations: 71.95 kB / 481.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3989, allocations: 99.39 kB / 481.3 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.3993, allocations: 187.3 kB / 481.4 MB, free: 328 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3993, allocations: 0 / 481.4 MB, free: 328 kB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004836/0.3998, allocations: 262.1 kB / 481.7 MB, free: 56 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3998, allocations: 4 kB / 481.7 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3998, allocations: 0 / 481.7 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001818/0.4, allocations: 52.91 kB / 481.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.4003, allocations: 52.06 kB / 481.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003996/0.4007, allocations: 0.572 MB / 482.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.4009, allocations: 8.031 kB / 482.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.401, allocations: 27.98 kB / 482.4 MB, free: 15.31 MB / 382.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.0001194/0.4011, allocations: 129.9 kB / 482.5 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.4012, allocations: 11.84 kB / 482.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008119/0.402, allocations: 339.1 kB / 482.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.402, allocations: 7.938 kB / 482.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.402, allocations: 3.938 kB / 482.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.402, allocations: 0 / 482.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.403, allocations: 0.635 MB / 483.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.403, allocations: 0 / 483.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.4033, allocations: 63.89 kB / 483.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.747e-05/0.4034, allocations: 20.84 kB / 483.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.4034, allocations: 12 kB / 483.6 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008204/0.4043, allocations: 1.268 MB / 484.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.4043, allocations: 8.125 kB / 484.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006669/0.405, allocations: 434.5 kB / 485.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.405, allocations: 85.05 kB / 485.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.405, allocations: 7.922 kB / 485.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.4053, allocations: 16 kB / 485.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.4053, allocations: 27.97 kB / 485.5 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.4054, allocations: 23.98 kB / 485.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.267e-05/0.4054, allocations: 87.28 kB / 485.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4054, allocations: 0 / 485.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.4058, allocations: 83.98 kB / 485.6 MB, free: 11.81 MB / 382.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.0003242/0.4062, allocations: 139.1 kB / 485.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004846/0.4067, allocations: 208.4 kB / 486 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4067, allocations: 0 / 486 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.407, allocations: 218.5 kB / 486.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.4075, allocations: 56.2 kB / 486.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007908/0.4083, allocations: 0.5792 MB / 486.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.4085, allocations: 0.7127 MB / 487.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004207/0.409, allocations: 77.39 kB / 487.6 MB, free: 9.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.4092, allocations: 55.41 kB / 487.7 MB, free: 9.699 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4092, allocations: 0 / 487.7 MB, free: 9.699 MB / 382.1 MB Notification: Performance of Templates: time 0.008711/0.4179, allocations: 5.438 MB / 493.1 MB, free: 4.262 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)