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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01222/0.01222, allocations: 169 kB / 15.11 MB, free: 5.934 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 1.804/1.804, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001987/0.001987, allocations: 118.9 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4867/0.4867, allocations: 38.05 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005142, allocations: 16 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1128, allocations: 48.69 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.456/2.568, allocations: 0.721 GB / 1.123 GB, free: 88.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/2.569, allocations: 79.95 kB / 1.123 GB, free: 88.46 MB / 426.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.1436/2.712, allocations: 40.06 MB / 1.162 GB, free: 54.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/2.712, allocations: 0 / 1.162 GB, free: 54.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/2.712, allocations: 0 / 1.162 GB, free: 54.24 MB / 426.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.00111/2.714, allocations: 0.5177 MB / 1.163 GB, free: 53.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/2.714, allocations: 8.031 kB / 1.163 GB, free: 53.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.27e-05/2.714, allocations: 57.03 kB / 1.163 GB, free: 53.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005093/2.719, allocations: 366.4 kB / 1.163 GB, free: 53.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/2.719, allocations: 254.5 kB / 1.163 GB, free: 53.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/2.719, allocations: 20.06 kB / 1.163 GB, free: 53.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/2.72, allocations: 23.48 kB / 1.163 GB, free: 53.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/2.721, allocations: 485.8 kB / 1.164 GB, free: 52.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/2.721, allocations: 0 / 1.164 GB, free: 52.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-05/2.721, allocations: 6.75 kB / 1.164 GB, free: 52.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/2.721, allocations: 11.98 kB / 1.164 GB, free: 52.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/2.723, allocations: 0.5008 MB / 1.164 GB, free: 52.18 MB / 426.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.003209/2.726, allocations: 0.9847 MB / 1.165 GB, free: 51.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009034/2.727, allocations: 297 kB / 1.166 GB, free: 50.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/2.729, allocations: 0.6476 MB / 1.166 GB, free: 50.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/2.729, allocations: 42.5 kB / 1.166 GB, free: 50.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 4.358e-06/2.729, allocations: 0 / 1.166 GB, free: 50.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.001503/2.73, allocations: 397.8 kB / 1.167 GB, free: 49.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/2.731, allocations: 85.06 kB / 1.167 GB, free: 49.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/2.731, allocations: 101 kB / 1.167 GB, free: 49.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/2.731, allocations: 33.7 kB / 1.167 GB, free: 49.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/2.731, allocations: 116.4 kB / 1.167 GB, free: 49.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/2.731, allocations: 114.4 kB / 1.167 GB, free: 49.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/2.731, allocations: 8 kB / 1.167 GB, free: 49.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.699e-05/2.731, allocations: 322.8 kB / 1.167 GB, free: 48.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/2.731, allocations: 112.6 kB / 1.168 GB, free: 48.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/2.732, allocations: 199.5 kB / 1.168 GB, free: 48.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/2.732, allocations: 139.2 kB / 1.168 GB, free: 48.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/2.732, allocations: 4 kB / 1.168 GB, free: 48.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001128/2.733, allocations: 367.8 kB / 1.168 GB, free: 47.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/2.733, allocations: 8 kB / 1.168 GB, free: 47.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/2.733, allocations: 0 / 1.168 GB, free: 47.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/2.733, allocations: 8 kB / 1.168 GB, free: 47.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/2.734, allocations: 80.2 kB / 1.168 GB, free: 47.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/2.734, allocations: 11.94 kB / 1.168 GB, free: 47.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/2.735, allocations: 35.69 kB / 1.168 GB, free: 47.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.007e-05/2.735, allocations: 19.98 kB / 1.168 GB, free: 47.82 MB / 426.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.0002049/2.735, allocations: 142.7 kB / 1.169 GB, free: 47.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/2.735, allocations: 15.81 kB / 1.169 GB, free: 47.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/2.736, allocations: 376.1 kB / 1.169 GB, free: 47.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/2.736, allocations: 4 kB / 1.169 GB, free: 47.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/2.736, allocations: 0 / 1.169 GB, free: 47.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/2.736, allocations: 4 kB / 1.169 GB, free: 47.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009136/2.737, allocations: 365.4 kB / 1.169 GB, free: 46.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/2.737, allocations: 0 / 1.169 GB, free: 46.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006768/2.738, allocations: 55.91 kB / 1.169 GB, free: 46.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.056e-06/2.738, allocations: 7.984 kB / 1.169 GB, free: 46.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/2.738, allocations: 12 kB / 1.169 GB, free: 46.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/2.738, allocations: 0 / 1.169 GB, free: 46.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/2.738, allocations: 0 / 1.169 GB, free: 46.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/2.74, allocations: 0.5552 MB / 1.17 GB, free: 46.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/2.74, allocations: 104.7 kB / 1.17 GB, free: 46.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/2.74, allocations: 8.062 kB / 1.17 GB, free: 46.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/2.74, allocations: 19.98 kB / 1.17 GB, free: 46.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/2.74, allocations: 19.94 kB / 1.17 GB, free: 46.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.72e-05/2.74, allocations: 19.97 kB / 1.17 GB, free: 46.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.47e-05/2.741, allocations: 87.28 kB / 1.17 GB, free: 45.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.741, allocations: 0 / 1.17 GB, free: 45.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001716/2.742, allocations: 259.6 kB / 1.17 GB, free: 45.69 MB / 426.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.003589/2.746, allocations: 1.823 MB / 1.172 GB, free: 43.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001015/2.747, allocations: 295.7 kB / 1.172 GB, free: 43.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/2.747, allocations: 4 kB / 1.172 GB, free: 43.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004149/2.747, allocations: 147.8 kB / 1.173 GB, free: 43.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009107/2.748, allocations: 89.77 kB / 1.173 GB, free: 43.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/2.753, allocations: 3.326 MB / 1.176 GB, free: 39.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/2.753, allocations: 0.7365 MB / 1.177 GB, free: 39.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009248/2.754, allocations: 93.8 kB / 1.177 GB, free: 39.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/2.754, allocations: 55.41 kB / 1.177 GB, free: 38.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.793e-06/2.754, allocations: 0 / 1.177 GB, free: 38.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04974/2.804, allocations: 17.7 MB / 1.194 GB, free: 21.34 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/2.804, allocations: 189.9 kB / 1.194 GB, free: 21.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.473/6.277, allocations: 0 / 1.194 GB, free: 21.09 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat