Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.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.FlueGas,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.02615/0.02615, allocations: 164.2 kB / 15.11 MB, free: 6 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.735/1.735, allocations: 170.8 MB / 186.6 MB, free: 1.102 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.002064/0.002064, allocations: 102.6 kB / 226.2 MB, free: 10.1 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.4599/0.4599, allocations: 38.06 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008458/0.0008459, allocations: 16 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1231, allocations: 48.7 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.456/2.579, allocations: 0.7462 GB / 1.148 GB, free: 111.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/2.579, allocations: 70.41 kB / 1.148 GB, free: 111.3 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.2084/2.788, allocations: 61.72 MB / 1.209 GB, free: 55.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.278e-06/2.788, allocations: 0 / 1.209 GB, free: 55.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/2.788, allocations: 3.938 kB / 1.209 GB, free: 55.3 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009219/2.789, allocations: 481.5 kB / 1.209 GB, free: 54.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/2.789, allocations: 12.03 kB / 1.209 GB, free: 54.77 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.901e-05/2.789, allocations: 50.55 kB / 1.209 GB, free: 54.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009879/2.799, allocations: 0.7027 MB / 1.21 GB, free: 54.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006683/2.8, allocations: 294.6 kB / 1.21 GB, free: 53.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/2.8, allocations: 8.328 kB / 1.21 GB, free: 53.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/2.8, allocations: 20 kB / 1.21 GB, free: 53.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/2.802, allocations: 0.7072 MB / 1.211 GB, free: 52.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/2.802, allocations: 0 / 1.211 GB, free: 52.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/2.802, allocations: 4 kB / 1.211 GB, free: 52.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/2.802, allocations: 8 kB / 1.211 GB, free: 52.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/2.805, allocations: 0.7612 MB / 1.212 GB, free: 52.16 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.004311/2.809, allocations: 1.226 MB / 1.213 GB, free: 50.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/2.811, allocations: 320.9 kB / 1.213 GB, free: 50.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000809/2.812, allocations: 254.2 kB / 1.213 GB, free: 50.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/2.812, allocations: 42.5 kB / 1.213 GB, free: 50.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.436e-06/2.812, allocations: 0 / 1.213 GB, free: 50.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.002237/2.814, allocations: 0.5367 MB / 1.214 GB, free: 49.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/2.814, allocations: 85.05 kB / 1.214 GB, free: 49.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/2.814, allocations: 117 kB / 1.214 GB, free: 49.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/2.814, allocations: 33.7 kB / 1.214 GB, free: 49.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/2.814, allocations: 116.2 kB / 1.214 GB, free: 49.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/2.814, allocations: 102.6 kB / 1.214 GB, free: 49.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/2.814, allocations: 8 kB / 1.214 GB, free: 49.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.065e-05/2.814, allocations: 318.8 kB / 1.215 GB, free: 48.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006347/2.815, allocations: 187.6 kB / 1.215 GB, free: 48.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006818/2.816, allocations: 280.5 kB / 1.215 GB, free: 48.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007518/2.817, allocations: 209.4 kB / 1.215 GB, free: 48.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/2.817, allocations: 3.938 kB / 1.215 GB, free: 48.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001724/2.818, allocations: 0.5151 MB / 1.216 GB, free: 47.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/2.818, allocations: 8 kB / 1.216 GB, free: 47.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/2.818, allocations: 4 kB / 1.216 GB, free: 47.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/2.818, allocations: 4 kB / 1.216 GB, free: 47.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000953/2.819, allocations: 79.89 kB / 1.216 GB, free: 47.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/2.819, allocations: 11.92 kB / 1.216 GB, free: 47.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007321/2.82, allocations: 44.08 kB / 1.216 GB, free: 47.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/2.82, allocations: 23.98 kB / 1.216 GB, free: 47.47 MB / 442.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.0002689/2.821, allocations: 138.8 kB / 1.216 GB, free: 47.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/2.821, allocations: 15.86 kB / 1.216 GB, free: 47.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/2.823, allocations: 498.3 kB / 1.217 GB, free: 46.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/2.823, allocations: 4 kB / 1.217 GB, free: 46.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/2.823, allocations: 0 / 1.217 GB, free: 46.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/2.823, allocations: 0 / 1.217 GB, free: 46.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/2.824, allocations: 0.4996 MB / 1.217 GB, free: 46.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/2.824, allocations: 3.953 kB / 1.217 GB, free: 46.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009608/2.825, allocations: 55.89 kB / 1.217 GB, free: 46.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/2.825, allocations: 0 / 1.217 GB, free: 46.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/2.825, allocations: 15.98 kB / 1.217 GB, free: 46.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/2.825, allocations: 0 / 1.217 GB, free: 46.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/2.825, allocations: 4 kB / 1.217 GB, free: 46.19 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/2.827, allocations: 0.6829 MB / 1.218 GB, free: 45.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.149e-05/2.827, allocations: 92.86 kB / 1.218 GB, free: 45.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/2.827, allocations: 15.98 kB / 1.218 GB, free: 45.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008322/2.828, allocations: 23.98 kB / 1.218 GB, free: 45.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/2.828, allocations: 19.92 kB / 1.218 GB, free: 45.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.851e-05/2.828, allocations: 15.97 kB / 1.218 GB, free: 45.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.319e-05/2.828, allocations: 103.3 kB / 1.218 GB, free: 45.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.828, allocations: 0 / 1.218 GB, free: 45.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001233/2.829, allocations: 207.9 kB / 1.218 GB, free: 44.99 MB / 442.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.00419/2.834, allocations: 1.933 MB / 1.22 GB, free: 43.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001521/2.835, allocations: 423.6 kB / 1.221 GB, free: 42.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/2.835, allocations: 8.812 kB / 1.221 GB, free: 42.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000661/2.836, allocations: 202.9 kB / 1.221 GB, free: 42.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/2.837, allocations: 89.88 kB / 1.221 GB, free: 42.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005283/2.842, allocations: 4.125 MB / 1.225 GB, free: 38.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/2.843, allocations: 0.7328 MB / 1.226 GB, free: 37.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001263/2.844, allocations: 113.7 kB / 1.226 GB, free: 37.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/2.844, allocations: 67.39 kB / 1.226 GB, free: 37.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/2.844, allocations: 0 / 1.226 GB, free: 37.16 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04866/2.893, allocations: 18.38 MB / 1.244 GB, free: 18.82 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002803/2.893, allocations: 158.9 kB / 1.244 GB, free: 18.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/6.235, allocations: 0 / 1.244 GB, free: 18.59 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat