Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",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.01508/0.01508, allocations: 165.5 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.661/1.661, 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.002052/0.002051, allocations: 110.5 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.4438/0.4438, allocations: 38.06 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004827, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.082/2.189, allocations: 0.63 GB / 1.032 GB, free: 73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004091/2.189, allocations: 102.9 kB / 1.032 GB, free: 72.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.147/3.337, allocations: 230.1 MB / 1.257 GB, free: 27.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.874e-06/3.337, allocations: 0 / 1.257 GB, free: 27.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.497e-05/3.337, allocations: 15.98 kB / 1.257 GB, free: 27.41 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003766/3.341, allocations: 1.235 MB / 1.258 GB, free: 26.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/3.341, allocations: 12.03 kB / 1.258 GB, free: 26.11 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002205/3.341, allocations: 98.52 kB / 1.258 GB, free: 26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/3.342, allocations: 131 kB / 1.258 GB, free: 25.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/3.343, allocations: 0.5598 MB / 1.259 GB, free: 25.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/3.344, allocations: 96.41 kB / 1.259 GB, free: 25.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/3.344, allocations: 51.98 kB / 1.259 GB, free: 25.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/3.346, allocations: 0.8027 MB / 1.26 GB, free: 24.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/3.346, allocations: 3.938 kB / 1.26 GB, free: 24.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/3.346, allocations: 24 kB / 1.26 GB, free: 24.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.347e-05/3.346, allocations: 40.94 kB / 1.26 GB, free: 24.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/3.347, allocations: 0.6127 MB / 1.26 GB, free: 23.55 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.009605/3.357, allocations: 3.907 MB / 1.264 GB, free: 19.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/3.358, allocations: 329.9 kB / 1.265 GB, free: 19.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/3.358, allocations: 29.14 kB / 1.265 GB, free: 19.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/3.358, allocations: 38.84 kB / 1.265 GB, free: 18.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 5.59e-06/3.358, allocations: 0 / 1.265 GB, free: 18.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.0102/3.369, allocations: 1.621 MB / 1.266 GB, free: 17.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/3.369, allocations: 136.5 kB / 1.266 GB, free: 17.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008697/3.37, allocations: 0.5304 MB / 1.267 GB, free: 16.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.751e-05/3.37, allocations: 37.7 kB / 1.267 GB, free: 16.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/3.37, allocations: 378.6 kB / 1.267 GB, free: 16.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/3.37, allocations: 138 kB / 1.267 GB, free: 16.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/3.37, allocations: 20 kB / 1.267 GB, free: 16.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/3.37, allocations: 370.8 kB / 1.268 GB, free: 15.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/3.371, allocations: 197.9 kB / 1.268 GB, free: 15.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006976/3.372, allocations: 0.5314 MB / 1.268 GB, free: 14.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006989/3.372, allocations: 306.6 kB / 1.269 GB, free: 14.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/3.372, allocations: 7.938 kB / 1.269 GB, free: 14.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002111/3.375, allocations: 0.8796 MB / 1.27 GB, free: 13.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/3.375, allocations: 8 kB / 1.27 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/3.375, allocations: 12 kB / 1.27 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/3.377, allocations: 311.9 kB / 1.27 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/3.378, allocations: 127.8 kB / 1.27 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/3.379, allocations: 0.9112 MB / 1.271 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/3.38, allocations: 48.03 kB / 1.271 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/3.38, allocations: 68 kB / 1.271 GB, free: 12.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005129/3.381, allocations: 253.4 kB / 1.271 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/3.381, allocations: 67.25 kB / 1.271 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/3.383, allocations: 0.6627 MB / 1.272 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/3.383, allocations: 4 kB / 1.272 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/3.383, allocations: 0 / 1.272 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/3.383, allocations: 3.984 kB / 1.272 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/3.386, allocations: 1.258 MB / 1.273 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/3.386, allocations: 8 kB / 1.273 GB, free: 9.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/3.388, allocations: 211.9 kB / 1.273 GB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/3.388, allocations: 24.78 kB / 1.274 GB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/3.388, allocations: 23.98 kB / 1.274 GB, free: 9.441 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/3.39, allocations: 2.68 MB / 1.276 GB, free: 6.496 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/3.39, allocations: 3.938 kB / 1.276 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/3.392, allocations: 0.8521 MB / 1.277 GB, free: 5.574 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/3.393, allocations: 184.2 kB / 1.277 GB, free: 5.375 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/3.393, allocations: 15.95 kB / 1.277 GB, free: 5.359 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007276/3.393, allocations: 24.05 kB / 1.277 GB, free: 5.336 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/3.394, allocations: 39.81 kB / 1.277 GB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-05/3.394, allocations: 43.98 kB / 1.277 GB, free: 5.254 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007355/3.394, allocations: 415 kB / 1.278 GB, free: 4.852 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.81e-07/3.394, allocations: 0 / 1.278 GB, free: 4.852 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002054/3.397, allocations: 387.8 kB / 1.278 GB, free: 4.473 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.004305/3.401, allocations: 2.677 MB / 1.281 GB, free: 1.738 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001776/3.403, allocations: 0.536 MB / 1.281 GB, free: 1.207 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/3.403, allocations: 0 / 1.281 GB, free: 1.207 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/3.404, allocations: 406.5 kB / 1.282 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/3.407, allocations: 314.4 kB / 1.282 GB, free: 500 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4058/3.813, allocations: 12.89 MB / 1.294 GB, free: 56.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/3.813, allocations: 0.9469 MB / 1.295 GB, free: 55.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001863/3.815, allocations: 270.8 kB / 1.296 GB, free: 55.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007494/3.816, allocations: 264.7 kB / 1.296 GB, free: 55.32 MB / 442.7 MB Notification: Performance of SimCode: time 2.054e-06/3.816, allocations: 0 / 1.296 GB, free: 55.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1816/3.997, allocations: 35.56 MB / 1.331 GB, free: 54.23 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/3.998, allocations: 266.9 kB / 1.331 GB, free: 53.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.09/8.088, allocations: 3.375 kB / 1.331 GB, free: 53.88 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat