Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.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.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00394/0.003947, allocations: 348.9 kB / 15.94 MB, free: 6.215 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.545/3.545, 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.003517/0.003516, allocations: 226.1 kB / 397.9 MB, free: 4.98 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.4712/0.4712, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007543/0.0007546, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1248, allocations: 48.7 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.018/2.142, allocations: 0.5999 GB / 1.207 GB, free: 65.08 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/2.143, allocations: 81.64 kB / 1.207 GB, free: 65.04 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd - DAE generated: time 0.1777/2.32, allocations: 45.92 MB / 1.252 GB, free: 24.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.635e-06/2.32, allocations: 0 / 1.252 GB, free: 24.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/2.32, allocations: 0 / 1.252 GB, free: 24.1 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008984/2.321, allocations: 437.7 kB / 1.252 GB, free: 23.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/2.321, allocations: 12.03 kB / 1.252 GB, free: 23.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/2.322, allocations: 4 kB / 1.252 GB, free: 23.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/2.322, allocations: 167 kB / 1.252 GB, free: 23.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/2.322, allocations: 8 kB / 1.252 GB, free: 23.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/2.322, allocations: 4 kB / 1.252 GB, free: 23.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/2.322, allocations: 74.3 kB / 1.252 GB, free: 23.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/2.322, allocations: 3.906 kB / 1.252 GB, free: 23.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/2.322, allocations: 6.797 kB / 1.252 GB, free: 23.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/2.322, allocations: 0 / 1.252 GB, free: 23.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/2.322, allocations: 51.22 kB / 1.252 GB, free: 23.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/2.323, allocations: 389.7 kB / 1.253 GB, free: 22.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/2.323, allocations: 62.56 kB / 1.253 GB, free: 22.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.436e-05/2.323, allocations: 20.84 kB / 1.253 GB, free: 22.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003058/2.326, allocations: 1.213 MB / 1.254 GB, free: 21.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/2.326, allocations: 34.56 kB / 1.254 GB, free: 21.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 3.346e-06/2.326, allocations: 0 / 1.254 GB, free: 21.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.01483/2.341, allocations: 0.6531 MB / 1.255 GB, free: 20.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/2.341, allocations: 55.41 kB / 1.255 GB, free: 20.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.898e-05/2.342, allocations: 101.8 kB / 1.255 GB, free: 20.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.694e-05/2.342, allocations: 29.7 kB / 1.255 GB, free: 20.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/2.342, allocations: 88.33 kB / 1.255 GB, free: 20.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/2.342, allocations: 49.91 kB / 1.255 GB, free: 20.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/2.342, allocations: 4 kB / 1.255 GB, free: 20.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.022e-05/2.342, allocations: 322.8 kB / 1.255 GB, free: 19.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/2.342, allocations: 83.94 kB / 1.255 GB, free: 19.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/2.343, allocations: 106.5 kB / 1.255 GB, free: 19.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006076/2.344, allocations: 88.11 kB / 1.256 GB, free: 19.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/2.344, allocations: 0 / 1.256 GB, free: 19.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001498/2.345, allocations: 237.4 kB / 1.256 GB, free: 19.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/2.345, allocations: 8.062 kB / 1.256 GB, free: 19.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/2.345, allocations: 0 / 1.256 GB, free: 19.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/2.345, allocations: 4 kB / 1.256 GB, free: 19.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/2.347, allocations: 55.89 kB / 1.256 GB, free: 19.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/2.347, allocations: 0 / 1.256 GB, free: 19.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008773/2.348, allocations: 23.98 kB / 1.256 GB, free: 19.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/2.348, allocations: 7.984 kB / 1.256 GB, free: 19.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002342/2.348, allocations: 119.8 kB / 1.256 GB, free: 19.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/2.348, allocations: 7.906 kB / 1.256 GB, free: 19.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/2.35, allocations: 350.9 kB / 1.256 GB, free: 18.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/2.35, allocations: 0 / 1.256 GB, free: 18.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/2.35, allocations: 3.984 kB / 1.256 GB, free: 18.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/2.35, allocations: 4 kB / 1.256 GB, free: 18.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/2.353, allocations: 0.7443 MB / 1.257 GB, free: 17.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/2.353, allocations: 0 / 1.257 GB, free: 17.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/2.354, allocations: 55.89 kB / 1.257 GB, free: 17.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/2.355, allocations: 1.125 kB / 1.257 GB, free: 17.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-05/2.355, allocations: 8 kB / 1.257 GB, free: 17.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/2.355, allocations: 0 / 1.257 GB, free: 17.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/2.355, allocations: 3.953 kB / 1.257 GB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/2.356, allocations: 355.5 kB / 1.257 GB, free: 17.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/2.356, allocations: 108.9 kB / 1.258 GB, free: 17.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/2.357, allocations: 0 / 1.258 GB, free: 17.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/2.358, allocations: 12 kB / 1.258 GB, free: 17.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/2.358, allocations: 15.97 kB / 1.258 GB, free: 17.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/2.358, allocations: 15.95 kB / 1.258 GB, free: 17.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.236e-05/2.358, allocations: 83.27 kB / 1.258 GB, free: 17.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.21e-07/2.358, allocations: 0 / 1.258 GB, free: 17.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001286/2.359, allocations: 146.7 kB / 1.258 GB, free: 17.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/2.361, allocations: 0.6239 MB / 1.258 GB, free: 16.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001308/2.362, allocations: 199.8 kB / 1.259 GB, free: 16.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/2.362, allocations: 0 / 1.259 GB, free: 16.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005855/2.363, allocations: 115.9 kB / 1.259 GB, free: 16.22 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/2.364, allocations: 40.55 kB / 1.259 GB, free: 16.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/2.365, allocations: 313.5 kB / 1.259 GB, free: 15.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/2.365, allocations: 0.7007 MB / 1.26 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001299/2.367, allocations: 68.47 kB / 1.26 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005303/2.367, allocations: 31.41 kB / 1.26 GB, free: 15.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/2.367, allocations: 0 / 1.26 GB, free: 15.02 MB / 442.7 MB Notification: Performance of Templates: time 0.04158/2.409, allocations: 12.58 MB / 1.272 GB, free: 2.445 MB / 442.7 MB