Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.01133/0.01133, allocations: 165.6 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.738/1.738, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.00204/0.00204, allocations: 103.4 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.4834/0.4834, allocations: 38.06 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004874, allocations: 16 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1184, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.467/2.586, allocations: 0.7092 GB / 1.111 GB, free: 100.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/2.586, allocations: 75.47 kB / 1.111 GB, free: 100.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1138/2.7, allocations: 33.33 MB / 1.144 GB, free: 72.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/2.7, allocations: 0 / 1.144 GB, free: 72.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/2.7, allocations: 4 kB / 1.144 GB, free: 72.25 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006356/2.701, allocations: 425.2 kB / 1.144 GB, free: 71.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/2.701, allocations: 8.031 kB / 1.144 GB, free: 71.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/2.701, allocations: 45.44 kB / 1.144 GB, free: 71.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/2.703, allocations: 188.4 kB / 1.144 GB, free: 71.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/2.704, allocations: 208.7 kB / 1.145 GB, free: 71.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/2.704, allocations: 7.75 kB / 1.145 GB, free: 71.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/2.704, allocations: 11.98 kB / 1.145 GB, free: 71.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007036/2.705, allocations: 200.6 kB / 1.145 GB, free: 71.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/2.705, allocations: 3.938 kB / 1.145 GB, free: 71.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/2.705, allocations: 3.562 kB / 1.145 GB, free: 71.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/2.705, allocations: 7.953 kB / 1.145 GB, free: 71.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008309/2.706, allocations: 215.8 kB / 1.145 GB, free: 71.04 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.002017/2.708, allocations: 0.6178 MB / 1.146 GB, free: 70.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/2.708, allocations: 168.8 kB / 1.146 GB, free: 70.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/2.708, allocations: 89.34 kB / 1.146 GB, free: 70.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/2.708, allocations: 41.86 kB / 1.146 GB, free: 70.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.156e-06/2.709, allocations: 0 / 1.146 GB, free: 70.21 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.009151/2.718, allocations: 1.448 MB / 1.147 GB, free: 68.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/2.718, allocations: 55.41 kB / 1.147 GB, free: 68.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/2.718, allocations: 111.7 kB / 1.148 GB, free: 68.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/2.718, allocations: 25.7 kB / 1.148 GB, free: 68.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/2.718, allocations: 103.9 kB / 1.148 GB, free: 68.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/2.718, allocations: 65.7 kB / 1.148 GB, free: 68.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/2.718, allocations: 3.5 kB / 1.148 GB, free: 68.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.473e-05/2.718, allocations: 326.5 kB / 1.148 GB, free: 68.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/2.718, allocations: 83.61 kB / 1.148 GB, free: 68.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/2.719, allocations: 112.4 kB / 1.148 GB, free: 68.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/2.719, allocations: 98.36 kB / 1.148 GB, free: 68.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/2.719, allocations: 0 / 1.148 GB, free: 68.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009507/2.72, allocations: 264.2 kB / 1.149 GB, free: 67.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/2.72, allocations: 4 kB / 1.149 GB, free: 67.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/2.72, allocations: 0 / 1.149 GB, free: 67.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/2.72, allocations: 28.69 kB / 1.149 GB, free: 67.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/2.721, allocations: 51.91 kB / 1.149 GB, free: 67.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003449/2.721, allocations: 0.5358 MB / 1.149 GB, free: 67.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/2.722, allocations: 11.66 kB / 1.149 GB, free: 67.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/2.722, allocations: 15.61 kB / 1.149 GB, free: 67.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001499/2.722, allocations: 122 kB / 1.149 GB, free: 67.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/2.722, allocations: 11.91 kB / 1.149 GB, free: 67.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/2.723, allocations: 300.2 kB / 1.15 GB, free: 66.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/2.723, allocations: 4 kB / 1.15 GB, free: 66.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/2.723, allocations: 3.984 kB / 1.15 GB, free: 66.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/2.723, allocations: 7.891 kB / 1.15 GB, free: 66.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/2.725, allocations: 0.6496 MB / 1.15 GB, free: 66.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/2.725, allocations: 0 / 1.15 GB, free: 66.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/2.725, allocations: 43.97 kB / 1.15 GB, free: 66.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/2.726, allocations: 24.72 kB / 1.15 GB, free: 66.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/2.726, allocations: 15.8 kB / 1.15 GB, free: 66.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008329/2.726, allocations: 1.278 MB / 1.152 GB, free: 64.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/2.726, allocations: 0 / 1.152 GB, free: 64.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/2.728, allocations: 460.9 kB / 1.152 GB, free: 64.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/2.728, allocations: 89.02 kB / 1.152 GB, free: 64.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/2.728, allocations: 11.64 kB / 1.152 GB, free: 64.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/2.728, allocations: 7.984 kB / 1.152 GB, free: 64.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/2.728, allocations: 15.3 kB / 1.152 GB, free: 64.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/2.728, allocations: 15.73 kB / 1.152 GB, free: 64.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.726e-05/2.728, allocations: 79.28 kB / 1.152 GB, free: 64.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.5e-07/2.728, allocations: 4 kB / 1.152 GB, free: 64.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008457/2.729, allocations: 167.8 kB / 1.152 GB, free: 64.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002984/2.732, allocations: 1.718 MB / 1.154 GB, free: 62.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009733/2.733, allocations: 212 kB / 1.154 GB, free: 62.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/2.733, allocations: 3.938 kB / 1.154 GB, free: 62.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005596/2.734, allocations: 226.5 kB / 1.155 GB, free: 61.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/2.734, allocations: 49.42 kB / 1.155 GB, free: 61.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/2.737, allocations: 1.593 MB / 1.156 GB, free: 60.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/2.738, allocations: 0.7204 MB / 1.157 GB, free: 59.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006289/2.738, allocations: 41.41 kB / 1.157 GB, free: 59.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/2.738, allocations: 35.42 kB / 1.157 GB, free: 59.33 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/2.738, allocations: 3.938 kB / 1.157 GB, free: 59.33 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05552/2.794, allocations: 14.51 MB / 1.171 GB, free: 44.88 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/2.794, allocations: 197.9 kB / 1.171 GB, free: 44.65 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.202/5.996, allocations: 4 kB / 1.171 GB, free: 44.64 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat