Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.702e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3584, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.85/2.209, allocations: 0.636 GB / 0.9858 GB, free: 39.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/2.209, allocations: 98.8 kB / 0.9858 GB, free: 39.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084/3.294, allocations: 226.9 MB / 1.207 GB, free: 19.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/3.294, allocations: 4 kB / 1.207 GB, free: 19.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.423e-05/3.294, allocations: 20.44 kB / 1.207 GB, free: 19.24 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003442/3.297, allocations: 1.162 MB / 1.209 GB, free: 18.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/3.297, allocations: 12.02 kB / 1.209 GB, free: 18.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/3.298, allocations: 127.1 kB / 1.209 GB, free: 17.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/3.3, allocations: 0.5544 MB / 1.209 GB, free: 17.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/3.3, allocations: 84.72 kB / 1.209 GB, free: 17.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/3.3, allocations: 31.95 kB / 1.209 GB, free: 17.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001273/3.301, allocations: 0.5258 MB / 1.21 GB, free: 16.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/3.303, allocations: 0.721 MB / 1.211 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/3.303, allocations: 4 kB / 1.211 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/3.303, allocations: 0 / 1.211 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.021e-05/3.303, allocations: 45.3 kB / 1.211 GB, free: 15.8 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005862/3.309, allocations: 3.881 MB / 1.214 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/3.31, allocations: 236.2 kB / 1.215 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/3.31, allocations: 129.3 kB / 1.215 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-05/3.31, allocations: 24.95 kB / 1.215 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/3.31, allocations: 42.8 kB / 1.215 GB, free: 11.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 4.028e-06/3.31, allocations: 0 / 1.215 GB, free: 11.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.008456/3.318, allocations: 1.407 MB / 1.216 GB, free: 9.746 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/3.319, allocations: 136.5 kB / 1.216 GB, free: 9.582 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007464/3.319, allocations: 478 kB / 1.217 GB, free: 9.113 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/3.319, allocations: 25.7 kB / 1.217 GB, free: 9.082 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/3.32, allocations: 449.1 kB / 1.217 GB, free: 8.637 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/3.32, allocations: 114.4 kB / 1.217 GB, free: 8.523 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/3.32, allocations: 0 / 1.217 GB, free: 8.523 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.85e-05/3.32, allocations: 338.8 kB / 1.218 GB, free: 8.184 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/3.32, allocations: 181.5 kB / 1.218 GB, free: 8.008 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/3.321, allocations: 0.5122 MB / 1.218 GB, free: 7.332 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009253/3.322, allocations: 323.4 kB / 1.219 GB, free: 7.016 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/3.322, allocations: 7.953 kB / 1.219 GB, free: 7.008 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001992/3.324, allocations: 0.8019 MB / 1.219 GB, free: 6.195 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/3.324, allocations: 15.53 kB / 1.22 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/3.324, allocations: 12 kB / 1.22 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/3.326, allocations: 260.6 kB / 1.22 GB, free: 5.914 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/3.326, allocations: 131.8 kB / 1.22 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/3.328, allocations: 0.925 MB / 1.221 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009645/3.329, allocations: 32 kB / 1.221 GB, free: 4.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/3.329, allocations: 71.98 kB / 1.221 GB, free: 4.734 MB / 490.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 () * 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.0002045/3.329, allocations: 136.7 kB / 1.221 GB, free: 4.594 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001128/3.33, allocations: 417.6 kB / 1.221 GB, free: 4.176 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/3.33, allocations: 59.34 kB / 1.221 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/3.332, allocations: 0.5035 MB / 1.222 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/3.332, allocations: 4 kB / 1.222 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/3.332, allocations: 4 kB / 1.222 GB, free: 3.598 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/3.332, allocations: 4 kB / 1.222 GB, free: 3.594 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/3.334, allocations: 0.9648 MB / 1.223 GB, free: 2.578 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/3.334, allocations: 0 / 1.223 GB, free: 2.578 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/3.336, allocations: 199.8 kB / 1.223 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/3.336, allocations: 24.84 kB / 1.223 GB, free: 2.355 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/3.336, allocations: 8 kB / 1.223 GB, free: 2.348 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3449/3.681, allocations: 2.585 MB / 1.226 GB, free: 93.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/3.681, allocations: 0.9375 kB / 1.226 GB, free: 93.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/3.683, allocations: 0.6699 MB / 1.226 GB, free: 93.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/3.684, allocations: 169.2 kB / 1.226 GB, free: 92.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/3.684, allocations: 2.328 kB / 1.226 GB, free: 92.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/3.684, allocations: 19.88 kB / 1.227 GB, free: 92.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/3.685, allocations: 35.05 kB / 1.227 GB, free: 92.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/3.685, allocations: 36.92 kB / 1.227 GB, free: 92.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007035/3.686, allocations: 350.6 kB / 1.227 GB, free: 92.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/3.686, allocations: 0 / 1.227 GB, free: 92.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00222/3.688, allocations: 338.1 kB / 1.227 GB, free: 92.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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.004855/3.693, allocations: 2.363 MB / 1.23 GB, free: 92.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001713/3.694, allocations: 488.1 kB / 1.23 GB, free: 92.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/3.694, allocations: 1.594 kB / 1.23 GB, free: 92.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/3.696, allocations: 352.7 kB / 1.23 GB, free: 91.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/3.698, allocations: 236.6 kB / 1.231 GB, free: 91.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/3.71, allocations: 2.537 MB / 1.233 GB, free: 91.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/3.71, allocations: 0.9465 MB / 1.234 GB, free: 90.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008128/3.711, allocations: 269.9 kB / 1.234 GB, free: 90.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/3.711, allocations: 2.812 kB / 1.234 GB, free: 90.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.272/6.983, allocations: 22.81 MB / 1.257 GB, free: 90.52 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat