Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002733/0.002737, allocations: 348.2 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.522/3.522, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003738/0.003738, allocations: 222.1 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.475/0.475, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005108/0.0005109, allocations: 16 kB / 0.5592 GB, free: 53.49 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09843, allocations: 48.7 MB / 0.6067 GB, free: 4.684 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.547/1.646, allocations: 449.7 MB / 1.046 GB, free: 55.76 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/1.646, allocations: 76.78 kB / 1.046 GB, free: 55.72 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09912/1.745, allocations: 29.87 MB / 1.075 GB, free: 31.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.813e-06/1.745, allocations: 0 / 1.075 GB, free: 31.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/1.745, allocations: 0 / 1.075 GB, free: 31.14 MB / 442.7 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.0004943/1.746, allocations: 391.3 kB / 1.075 GB, free: 30.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.746, allocations: 8.031 kB / 1.075 GB, free: 30.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/1.748, allocations: 190 kB / 1.076 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/1.749, allocations: 197.7 kB / 1.076 GB, free: 30.33 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/1.749, allocations: 11.3 kB / 1.076 GB, free: 30.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-05/1.749, allocations: 15.75 kB / 1.076 GB, free: 30.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008028/1.75, allocations: 222.3 kB / 1.076 GB, free: 30.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.75, allocations: 0 / 1.076 GB, free: 30.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.911e-05/1.75, allocations: 3.75 kB / 1.076 GB, free: 30.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/1.75, allocations: 4 kB / 1.076 GB, free: 30.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007496/1.75, allocations: 164.1 kB / 1.076 GB, free: 30.02 MB / 442.7 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.001406/1.752, allocations: 0.5942 MB / 1.077 GB, free: 29.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/1.752, allocations: 128.3 kB / 1.077 GB, free: 29.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/1.753, allocations: 76.56 kB / 1.077 GB, free: 29.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/1.753, allocations: 0 / 1.077 GB, free: 29.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/1.753, allocations: 43.03 kB / 1.077 GB, free: 29.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/1.753, allocations: 0 / 1.077 GB, free: 29.23 MB / 442.7 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.008507/1.761, allocations: 1.307 MB / 1.078 GB, free: 27.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/1.761, allocations: 55.41 kB / 1.078 GB, free: 27.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/1.761, allocations: 113.7 kB / 1.079 GB, free: 27.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/1.761, allocations: 33.7 kB / 1.079 GB, free: 27.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/1.762, allocations: 96.03 kB / 1.079 GB, free: 27.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/1.762, allocations: 67 kB / 1.079 GB, free: 27.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/1.762, allocations: 8 kB / 1.079 GB, free: 27.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.228e-05/1.762, allocations: 318.8 kB / 1.079 GB, free: 27.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/1.762, allocations: 67.95 kB / 1.079 GB, free: 27.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/1.762, allocations: 107.6 kB / 1.079 GB, free: 26.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/1.763, allocations: 84.67 kB / 1.079 GB, free: 26.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.763, allocations: 0 / 1.079 GB, free: 26.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007264/1.763, allocations: 257.2 kB / 1.08 GB, free: 26.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.763, allocations: 7.984 kB / 1.08 GB, free: 26.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.763, allocations: 4 kB / 1.08 GB, free: 26.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/1.764, allocations: 52.78 kB / 1.08 GB, free: 26.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/1.764, allocations: 57.5 kB / 1.08 GB, free: 26.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004123/1.765, allocations: 0.5602 MB / 1.08 GB, free: 25.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/1.765, allocations: 9.469 kB / 1.08 GB, free: 25.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/1.765, allocations: 31.98 kB / 1.08 GB, free: 25.89 MB / 442.7 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.0001325/1.765, allocations: 127.9 kB / 1.08 GB, free: 25.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/1.765, allocations: 11.86 kB / 1.08 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/1.766, allocations: 340.2 kB / 1.081 GB, free: 25.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.766, allocations: 4 kB / 1.081 GB, free: 25.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.766, allocations: 3.984 kB / 1.081 GB, free: 25.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/1.766, allocations: 3.938 kB / 1.081 GB, free: 25.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/1.768, allocations: 0.6244 MB / 1.081 GB, free: 24.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.768, allocations: 0 / 1.081 GB, free: 24.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/1.768, allocations: 65.7 kB / 1.081 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/1.768, allocations: 20.84 kB / 1.081 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/1.768, allocations: 11.98 kB / 1.081 GB, free: 24.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007994/1.769, allocations: 1.264 MB / 1.083 GB, free: 23.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.769, allocations: 6.391 kB / 1.083 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000955/1.77, allocations: 428.7 kB / 1.083 GB, free: 22.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/1.77, allocations: 94.47 kB / 1.083 GB, free: 22.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/1.77, allocations: 8 kB / 1.083 GB, free: 22.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/1.771, allocations: 8 kB / 1.083 GB, free: 22.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/1.771, allocations: 23.97 kB / 1.083 GB, free: 22.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/1.771, allocations: 27.98 kB / 1.083 GB, free: 22.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.696e-05/1.771, allocations: 97.38 kB / 1.083 GB, free: 22.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.771, allocations: 0 / 1.083 GB, free: 22.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006933/1.772, allocations: 115.9 kB / 1.083 GB, free: 22.39 MB / 442.7 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.001008/1.773, allocations: 0.5294 MB / 1.084 GB, free: 21.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007062/1.773, allocations: 199.7 kB / 1.084 GB, free: 21.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.773, allocations: 2.625 kB / 1.084 GB, free: 21.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/1.774, allocations: 219 kB / 1.084 GB, free: 21.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/1.774, allocations: 50.91 kB / 1.084 GB, free: 21.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/1.775, allocations: 0.5689 MB / 1.085 GB, free: 20.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/1.776, allocations: 0.7088 MB / 1.086 GB, free: 20.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000703/1.776, allocations: 73.39 kB / 1.086 GB, free: 19.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/1.777, allocations: 55.41 kB / 1.086 GB, free: 19.93 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/1.777, allocations: 0 / 1.086 GB, free: 19.93 MB / 442.7 MB Notification: Performance of Templates: time 0.02326/1.8, allocations: 11.66 MB / 1.097 GB, free: 8.336 MB / 442.7 MB