Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.009755/0.009761, allocations: 166.2 kB / 15.11 MB, free: 5.93 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.825/1.825, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.002017/0.002016, allocations: 107 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.4684/0.4684, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004885, allocations: 16 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1308, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.086/2.216, allocations: 0.63 GB / 1.032 GB, free: 72.83 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/2.217, allocations: 99.19 kB / 1.032 GB, free: 72.78 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.133/3.35, allocations: 230.1 MB / 1.257 GB, free: 27.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.635e-06/3.35, allocations: 0 / 1.257 GB, free: 27.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.394e-05/3.351, allocations: 16 kB / 1.257 GB, free: 27.36 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.004403/3.355, allocations: 1.235 MB / 1.258 GB, free: 26.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/3.355, allocations: 12.03 kB / 1.258 GB, free: 26.06 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003864/3.355, allocations: 98.5 kB / 1.258 GB, free: 25.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/3.357, allocations: 139 kB / 1.258 GB, free: 25.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/3.359, allocations: 0.5481 MB / 1.259 GB, free: 25.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/3.359, allocations: 104.4 kB / 1.259 GB, free: 25.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/3.359, allocations: 48 kB / 1.259 GB, free: 25.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/3.361, allocations: 0.8027 MB / 1.26 GB, free: 24.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/3.361, allocations: 7.922 kB / 1.26 GB, free: 24.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/3.361, allocations: 24 kB / 1.26 GB, free: 24.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.938e-05/3.361, allocations: 40.94 kB / 1.26 GB, free: 24.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/3.363, allocations: 0.6166 MB / 1.26 GB, free: 23.5 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.006501/3.37, allocations: 3.911 MB / 1.264 GB, free: 19.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000778/3.37, allocations: 319.4 kB / 1.265 GB, free: 19.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/3.37, allocations: 24.92 kB / 1.265 GB, free: 18.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/3.371, allocations: 42.78 kB / 1.265 GB, free: 18.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 2.705e-06/3.371, allocations: 4 kB / 1.265 GB, free: 18.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.009551/3.38, allocations: 1.622 MB / 1.266 GB, free: 17.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/3.38, allocations: 140.4 kB / 1.266 GB, free: 17.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/3.381, allocations: 0.5226 MB / 1.267 GB, free: 16.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/3.381, allocations: 41.7 kB / 1.267 GB, free: 16.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/3.382, allocations: 370.6 kB / 1.267 GB, free: 16.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/3.382, allocations: 150 kB / 1.267 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/3.382, allocations: 15.94 kB / 1.267 GB, free: 15.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/3.382, allocations: 374.8 kB / 1.268 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/3.383, allocations: 197.9 kB / 1.268 GB, free: 15.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/3.384, allocations: 0.5314 MB / 1.268 GB, free: 14.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007457/3.384, allocations: 302.6 kB / 1.269 GB, free: 14.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/3.384, allocations: 4 kB / 1.269 GB, free: 14.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002378/3.387, allocations: 0.8801 MB / 1.27 GB, free: 13.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/3.387, allocations: 12.19 kB / 1.27 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/3.387, allocations: 15.98 kB / 1.27 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/3.389, allocations: 303.3 kB / 1.27 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/3.39, allocations: 131.8 kB / 1.27 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/3.392, allocations: 0.9041 MB / 1.271 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/3.393, allocations: 48.03 kB / 1.271 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/3.393, allocations: 71.98 kB / 1.271 GB, free: 12.02 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.0005489/3.394, allocations: 253.4 kB / 1.271 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/3.394, allocations: 71.23 kB / 1.271 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/3.396, allocations: 0.6588 MB / 1.272 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/3.396, allocations: 4 kB / 1.272 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/3.396, allocations: 4 kB / 1.272 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/3.396, allocations: 11.92 kB / 1.272 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/3.399, allocations: 1.262 MB / 1.273 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/3.399, allocations: 0 / 1.273 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/3.401, allocations: 207.9 kB / 1.273 GB, free: 9.438 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001463/3.401, allocations: 28.83 kB / 1.273 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.057e-05/3.401, allocations: 20 kB / 1.274 GB, free: 9.387 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/3.403, allocations: 2.688 MB / 1.276 GB, free: 6.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/3.403, allocations: 3.984 kB / 1.276 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/3.405, allocations: 0.8404 MB / 1.277 GB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/3.406, allocations: 188.3 kB / 1.277 GB, free: 5.316 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/3.406, allocations: 11.95 kB / 1.277 GB, free: 5.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/3.407, allocations: 31.97 kB / 1.277 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/3.407, allocations: 43.75 kB / 1.277 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.235e-05/3.407, allocations: 51.92 kB / 1.277 GB, free: 5.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007226/3.408, allocations: 415 kB / 1.278 GB, free: 4.777 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/3.408, allocations: 0 / 1.278 GB, free: 4.777 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002006/3.41, allocations: 379.8 kB / 1.278 GB, free: 4.406 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.004555/3.414, allocations: 2.662 MB / 1.281 GB, free: 1.691 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001843/3.416, allocations: 0.5401 MB / 1.281 GB, free: 1.156 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/3.416, allocations: 4 kB / 1.281 GB, free: 1.152 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001473/3.418, allocations: 402.2 kB / 1.282 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/3.421, allocations: 317.4 kB / 1.282 GB, free: 448 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.367/3.788, allocations: 12.9 MB / 1.294 GB, free: 56.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/3.788, allocations: 0.9476 MB / 1.295 GB, free: 55.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001854/3.79, allocations: 264.5 kB / 1.296 GB, free: 55.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007564/3.791, allocations: 267.5 kB / 1.296 GB, free: 55.42 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/3.791, allocations: 0 / 1.296 GB, free: 55.42 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/3.895, allocations: 35.55 MB / 1.331 GB, free: 54.33 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/3.896, allocations: 271.7 kB / 1.331 GB, free: 53.97 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.13/8.026, allocations: 0 / 1.331 GB, free: 53.97 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat