Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01436/0.01436, allocations: 176 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.946/1.946, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002105/0.002104, allocations: 124.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2446/0.2446, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004857, allocations: 14.5 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1077, allocations: 54.88 MB / 461.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.261/2.369, allocations: 0.7342 GB / 1.185 GB, free: 83.75 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/2.369, allocations: 71.97 kB / 1.185 GB, free: 83.72 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Media.mo:684:27-684:37:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.1455/2.515, allocations: 39.7 MB / 1.223 GB, free: 49.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.406e-06/2.515, allocations: 0 / 1.223 GB, free: 49.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/2.515, allocations: 7.938 kB / 1.223 GB, free: 49.7 MB / 490.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.001034/2.516, allocations: 0.521 MB / 1.224 GB, free: 49.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/2.516, allocations: 8.031 kB / 1.224 GB, free: 49.14 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/2.516, allocations: 53.23 kB / 1.224 GB, free: 49.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00508/2.521, allocations: 368.9 kB / 1.224 GB, free: 48.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/2.522, allocations: 260.4 kB / 1.225 GB, free: 48.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/2.522, allocations: 15.88 kB / 1.225 GB, free: 48.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/2.522, allocations: 23.83 kB / 1.225 GB, free: 48.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/2.523, allocations: 479.6 kB / 1.225 GB, free: 48.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/2.523, allocations: 0 / 1.225 GB, free: 48.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.24e-05/2.523, allocations: 7.672 kB / 1.225 GB, free: 48.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/2.523, allocations: 11.94 kB / 1.225 GB, free: 48.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/2.525, allocations: 0.5059 MB / 1.226 GB, free: 47.79 MB / 490.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.003267/2.528, allocations: 0.9902 MB / 1.227 GB, free: 46.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008759/2.529, allocations: 287 kB / 1.227 GB, free: 46.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001679/2.531, allocations: 0.6533 MB / 1.227 GB, free: 45.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/2.531, allocations: 38.53 kB / 1.227 GB, free: 45.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 3.297e-06/2.531, allocations: 0 / 1.227 GB, free: 45.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.001534/2.533, allocations: 401.2 kB / 1.228 GB, free: 45.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/2.533, allocations: 81.11 kB / 1.228 GB, free: 45.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/2.533, allocations: 108 kB / 1.228 GB, free: 45.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/2.533, allocations: 37.33 kB / 1.228 GB, free: 45.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/2.533, allocations: 112 kB / 1.228 GB, free: 45.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.566e-05/2.533, allocations: 101.2 kB / 1.228 GB, free: 45.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/2.533, allocations: 7.875 kB / 1.228 GB, free: 45.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.902e-05/2.533, allocations: 330 kB / 1.229 GB, free: 44.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/2.534, allocations: 112.7 kB / 1.229 GB, free: 44.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/2.534, allocations: 203.8 kB / 1.229 GB, free: 44.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/2.534, allocations: 137.5 kB / 1.229 GB, free: 44.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/2.534, allocations: 0 / 1.229 GB, free: 44.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0011/2.536, allocations: 378.6 kB / 1.229 GB, free: 44.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/2.536, allocations: 14.14 kB / 1.229 GB, free: 44.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/2.536, allocations: 0 / 1.229 GB, free: 44.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/2.536, allocations: 12.31 kB / 1.229 GB, free: 44.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006864/2.536, allocations: 71.89 kB / 1.23 GB, free: 44.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/2.536, allocations: 4 kB / 1.23 GB, free: 44.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/2.537, allocations: 42.61 kB / 1.23 GB, free: 44.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/2.537, allocations: 12 kB / 1.23 GB, free: 44.12 MB / 490.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.0002014/2.537, allocations: 140.6 kB / 1.23 GB, free: 43.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/2.537, allocations: 15.81 kB / 1.23 GB, free: 43.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/2.539, allocations: 382 kB / 1.23 GB, free: 43.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/2.539, allocations: 4 kB / 1.23 GB, free: 43.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/2.539, allocations: 0 / 1.23 GB, free: 43.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/2.539, allocations: 7.984 kB / 1.23 GB, free: 43.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008601/2.539, allocations: 357.7 kB / 1.23 GB, free: 43.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/2.54, allocations: 0 / 1.23 GB, free: 43.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007065/2.54, allocations: 67.52 kB / 1.23 GB, free: 43.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/2.54, allocations: 4 kB / 1.23 GB, free: 43.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/2.54, allocations: 15.88 kB / 1.231 GB, free: 43.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/2.54, allocations: 0 / 1.231 GB, free: 43.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/2.54, allocations: 0 / 1.231 GB, free: 43.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/2.542, allocations: 0.5625 MB / 1.231 GB, free: 42.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/2.542, allocations: 96.8 kB / 1.231 GB, free: 42.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/2.542, allocations: 15.83 kB / 1.231 GB, free: 42.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/2.542, allocations: 15.8 kB / 1.231 GB, free: 42.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/2.543, allocations: 19.78 kB / 1.231 GB, free: 42.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-05/2.543, allocations: 19.86 kB / 1.231 GB, free: 42.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.329e-05/2.543, allocations: 91.56 kB / 1.231 GB, free: 42.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.543, allocations: 0 / 1.231 GB, free: 42.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001314/2.544, allocations: 265 kB / 1.232 GB, free: 42.3 MB / 490.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.003537/2.548, allocations: 1.827 MB / 1.233 GB, free: 40.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/2.549, allocations: 287.9 kB / 1.234 GB, free: 40.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/2.549, allocations: 0 / 1.234 GB, free: 40.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/2.549, allocations: 146.3 kB / 1.234 GB, free: 40.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008737/2.55, allocations: 75.91 kB / 1.234 GB, free: 40.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/2.554, allocations: 3.336 MB / 1.237 GB, free: 36.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/2.554, allocations: 0.7364 MB / 1.238 GB, free: 36.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008456/2.555, allocations: 86 kB / 1.238 GB, free: 36.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/2.555, allocations: 62.41 kB / 1.238 GB, free: 36.08 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/2.555, allocations: 0 / 1.238 GB, free: 36.08 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05124/2.607, allocations: 17.7 MB / 1.255 GB, free: 18.43 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/2.607, allocations: 177.9 kB / 1.255 GB, free: 18.19 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.287/5.894, allocations: 0 / 1.255 GB, free: 18.19 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat