Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003934/0.003933, allocations: 349.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.748/3.748, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003539/0.003539, allocations: 222.1 kB / 397.9 MB, free: 4.891 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.4811/0.4811, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004861, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1207, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.373/2.494, allocations: 0.721 GB / 1.328 GB, free: 111.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/2.494, allocations: 75.47 kB / 1.328 GB, free: 111.9 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Media.mo:684:27-684:37:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/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.1488/2.643, allocations: 40.07 MB / 1.367 GB, free: 78.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.302e-06/2.643, allocations: 0 / 1.367 GB, free: 78.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/2.643, allocations: 4 kB / 1.367 GB, free: 78.07 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009373/2.644, allocations: 0.5016 MB / 1.367 GB, free: 77.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/2.644, allocations: 16.03 kB / 1.367 GB, free: 77.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/2.649, allocations: 356.4 kB / 1.368 GB, free: 77.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/2.649, allocations: 256.8 kB / 1.368 GB, free: 76.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/2.649, allocations: 11.25 kB / 1.368 GB, free: 76.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/2.65, allocations: 22.72 kB / 1.368 GB, free: 76.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/2.651, allocations: 493.6 kB / 1.369 GB, free: 76.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/2.651, allocations: 7.938 kB / 1.369 GB, free: 76.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.064e-05/2.651, allocations: 7.625 kB / 1.369 GB, free: 76.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/2.651, allocations: 4 kB / 1.369 GB, free: 76.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/2.653, allocations: 0.5034 MB / 1.369 GB, free: 76.23 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.003101/2.656, allocations: 0.983 MB / 1.37 GB, free: 75.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/2.657, allocations: 282 kB / 1.37 GB, free: 75.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/2.658, allocations: 151.2 kB / 1.37 GB, free: 75.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002018/2.66, allocations: 0.8734 MB / 1.371 GB, free: 74.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/2.66, allocations: 45.11 kB / 1.371 GB, free: 74.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 2.935e-06/2.66, allocations: 0 / 1.371 GB, free: 74.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.00213/2.662, allocations: 400.5 kB / 1.372 GB, free: 73.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/2.662, allocations: 81.11 kB / 1.372 GB, free: 73.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/2.662, allocations: 109.5 kB / 1.372 GB, free: 73.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.323e-05/2.662, allocations: 35.64 kB / 1.372 GB, free: 73.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/2.662, allocations: 108.2 kB / 1.372 GB, free: 73.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/2.662, allocations: 107.5 kB / 1.372 GB, free: 73.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/2.662, allocations: 7.625 kB / 1.372 GB, free: 73.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.95e-05/2.663, allocations: 330.6 kB / 1.372 GB, free: 72.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/2.664, allocations: 113.2 kB / 1.373 GB, free: 72.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/2.665, allocations: 200.6 kB / 1.373 GB, free: 72.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006916/2.666, allocations: 144.5 kB / 1.373 GB, free: 72.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/2.666, allocations: 0 / 1.373 GB, free: 72.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001882/2.668, allocations: 373.5 kB / 1.373 GB, free: 72.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/2.668, allocations: 11.95 kB / 1.373 GB, free: 72.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/2.668, allocations: 0 / 1.373 GB, free: 72.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.226e-05/2.668, allocations: 8 kB / 1.373 GB, free: 72.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/2.669, allocations: 71.91 kB / 1.373 GB, free: 72.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-05/2.669, allocations: 11.92 kB / 1.373 GB, free: 72.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/2.671, allocations: 32.06 kB / 1.373 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/2.671, allocations: 21.05 kB / 1.373 GB, free: 72.19 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0003948/2.671, allocations: 143.8 kB / 1.374 GB, free: 72.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/2.672, allocations: 19.8 kB / 1.374 GB, free: 72.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/2.674, allocations: 371.7 kB / 1.374 GB, free: 71.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/2.674, allocations: 8 kB / 1.374 GB, free: 71.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/2.674, allocations: 3.984 kB / 1.374 GB, free: 71.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/2.675, allocations: 0 / 1.374 GB, free: 71.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/2.676, allocations: 360 kB / 1.374 GB, free: 71.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/2.676, allocations: 3.984 kB / 1.374 GB, free: 71.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006864/2.676, allocations: 60.78 kB / 1.374 GB, free: 71.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/2.676, allocations: 0 / 1.374 GB, free: 71.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/2.676, allocations: 19.94 kB / 1.374 GB, free: 71.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/2.676, allocations: 0 / 1.374 GB, free: 71.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/2.676, allocations: 0 / 1.374 GB, free: 71.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/2.678, allocations: 0.5496 MB / 1.375 GB, free: 70.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/2.678, allocations: 96.86 kB / 1.375 GB, free: 70.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/2.678, allocations: 7.812 kB / 1.375 GB, free: 70.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009122/2.679, allocations: 19.94 kB / 1.375 GB, free: 70.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/2.679, allocations: 19.98 kB / 1.375 GB, free: 70.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/2.679, allocations: 19.97 kB / 1.375 GB, free: 70.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.091e-05/2.679, allocations: 87.28 kB / 1.375 GB, free: 70.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.41e-07/2.679, allocations: 0 / 1.375 GB, free: 70.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002287/2.682, allocations: 271.6 kB / 1.375 GB, free: 70.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * 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 (29): * Single equations (assignments): 29 * 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.004126/2.686, allocations: 0.7355 MB / 1.376 GB, free: 69.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001607/2.688, allocations: 287.7 kB / 1.376 GB, free: 69.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/2.688, allocations: 0 / 1.376 GB, free: 69.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007029/2.688, allocations: 147.8 kB / 1.376 GB, free: 68.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/2.691, allocations: 92.3 kB / 1.377 GB, free: 68.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/2.694, allocations: 0.9025 MB / 1.377 GB, free: 67.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/2.694, allocations: 0.7353 MB / 1.378 GB, free: 67.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001728/2.696, allocations: 80.97 kB / 1.378 GB, free: 67.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/2.696, allocations: 39.42 kB / 1.378 GB, free: 67.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.924e-06/2.696, allocations: 0 / 1.378 GB, free: 67.02 MB / 442.7 MB Notification: Performance of Templates: time 0.03255/2.729, allocations: 14.39 MB / 1.392 GB, free: 52.7 MB / 442.7 MB