Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.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.FlueGas,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_FlueGas",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.01034/0.01034, allocations: 175.9 kB / 15.12 MB, free: 5.984 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.973/1.973, allocations: 194.5 MB / 210.3 MB, free: 8.785 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.002035/0.002035, allocations: 116.6 kB / 255.6 MB, free: 11.4 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.2539/0.2539, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004616, allocations: 11.47 kB / 406.3 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.108, allocations: 54.87 MB / 461.1 MB, free: 3.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.283/2.391, allocations: 0.7596 GB / 1.21 GB, free: 59.08 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/2.392, allocations: 72.84 kB / 1.21 GB, free: 59.04 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Media.mo:725:35-725:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.2033/2.595, allocations: 61.97 MB / 1.27 GB, free: 4.652 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.204e-06/2.595, allocations: 0 / 1.27 GB, free: 4.652 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/2.595, allocations: 4 kB / 1.27 GB, free: 4.648 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008888/2.596, allocations: 487.4 kB / 1.271 GB, free: 4.121 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/2.596, allocations: 8.031 kB / 1.271 GB, free: 4.113 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.255e-05/2.596, allocations: 54.55 kB / 1.271 GB, free: 4.051 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009505/2.606, allocations: 0.7024 MB / 1.272 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/2.606, allocations: 290.6 kB / 1.272 GB, free: 3.023 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/2.606, allocations: 12.33 kB / 1.272 GB, free: 3.012 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/2.607, allocations: 12 kB / 1.272 GB, free: 3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/2.609, allocations: 0.7033 MB / 1.273 GB, free: 2.281 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/2.609, allocations: 3.984 kB / 1.273 GB, free: 2.277 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/2.609, allocations: 8 kB / 1.273 GB, free: 2.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/2.609, allocations: 8 kB / 1.273 GB, free: 2.262 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/2.612, allocations: 0.7651 MB / 1.273 GB, free: 1.496 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.004083/2.616, allocations: 1.23 MB / 1.275 GB, free: 216 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.312/2.928, allocations: 308.1 kB / 1.275 GB, free: 156.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008298/2.929, allocations: 253.6 kB / 1.275 GB, free: 156.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/2.929, allocations: 41.34 kB / 1.275 GB, free: 156.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 2.675e-06/2.929, allocations: 1.438 kB / 1.275 GB, free: 156.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002347/2.931, allocations: 0.5412 MB / 1.276 GB, free: 156.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/2.931, allocations: 80.25 kB / 1.276 GB, free: 156.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/2.931, allocations: 121 kB / 1.276 GB, free: 156.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/2.932, allocations: 32.11 kB / 1.276 GB, free: 156.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/2.932, allocations: 122.8 kB / 1.276 GB, free: 156.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/2.932, allocations: 100.2 kB / 1.276 GB, free: 156.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/2.932, allocations: 3.938 kB / 1.276 GB, free: 156.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.374e-05/2.932, allocations: 326.8 kB / 1.276 GB, free: 156 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/2.933, allocations: 184 kB / 1.277 GB, free: 156 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000734/2.933, allocations: 282.2 kB / 1.277 GB, free: 155.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007688/2.934, allocations: 212.6 kB / 1.277 GB, free: 155.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/2.934, allocations: 1.094 kB / 1.277 GB, free: 155.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00182/2.936, allocations: 0.4967 MB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/2.936, allocations: 9.031 kB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/2.936, allocations: 7.578 kB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/2.936, allocations: 3.906 kB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009557/2.937, allocations: 81.86 kB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/2.937, allocations: 6 kB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/2.938, allocations: 48.39 kB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.441e-05/2.938, allocations: 24.66 kB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (38): * Single equations (assignments): 38 * 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.0002528/2.938, allocations: 144.5 kB / 1.278 GB, free: 155.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/2.938, allocations: 16.45 kB / 1.278 GB, free: 155.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/2.94, allocations: 489.6 kB / 1.278 GB, free: 155.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/2.94, allocations: 4.281 kB / 1.278 GB, free: 155.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/2.94, allocations: 3.094 kB / 1.278 GB, free: 155.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/2.94, allocations: 5.953 kB / 1.278 GB, free: 155.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/2.942, allocations: 498.5 kB / 1.279 GB, free: 155.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/2.942, allocations: 4.766 kB / 1.279 GB, free: 155.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009654/2.943, allocations: 61.42 kB / 1.279 GB, free: 155.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/2.943, allocations: 2.781 kB / 1.279 GB, free: 155.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/2.943, allocations: 14.11 kB / 1.279 GB, free: 155.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.575e-06/2.943, allocations: 1.938 kB / 1.279 GB, free: 155.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/2.943, allocations: 3.25 kB / 1.279 GB, free: 155.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/2.945, allocations: 0.6826 MB / 1.28 GB, free: 155.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/2.945, allocations: 95.77 kB / 1.28 GB, free: 155 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/2.945, allocations: 10.52 kB / 1.28 GB, free: 155 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008343/2.946, allocations: 24.91 kB / 1.28 GB, free: 155 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/2.946, allocations: 23.88 kB / 1.28 GB, free: 155 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.252e-05/2.946, allocations: 15.62 kB / 1.28 GB, free: 155 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.106e-05/2.946, allocations: 100 kB / 1.28 GB, free: 154.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.946, allocations: 2.031 kB / 1.28 GB, free: 154.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001292/2.948, allocations: 205.4 kB / 1.28 GB, free: 154.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * 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 (25): * Single equations (assignments): 25 * 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.004701/2.952, allocations: 1.933 MB / 1.282 GB, free: 154.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001848/2.954, allocations: 429.5 kB / 1.282 GB, free: 154.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/2.954, allocations: 0.5625 kB / 1.282 GB, free: 154.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007716/2.955, allocations: 208.9 kB / 1.283 GB, free: 154.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/2.956, allocations: 90.06 kB / 1.283 GB, free: 154.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006044/2.962, allocations: 4.133 MB / 1.287 GB, free: 151.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/2.962, allocations: 0.7391 MB / 1.287 GB, free: 150.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001365/2.964, allocations: 110.2 kB / 1.288 GB, free: 150.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/2.964, allocations: 62.09 kB / 1.288 GB, free: 150.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.452e-06/2.964, allocations: 2.781 kB / 1.288 GB, free: 150.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05707/3.021, allocations: 18.38 MB / 1.306 GB, free: 149.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/3.022, allocations: 162.2 kB / 1.306 GB, free: 149.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.306/6.328, allocations: 0 / 1.306 GB, free: 149.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat