Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.681/1.681, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004035, allocations: 8 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09015/0.09061, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.6/10.69, allocations: 3.66 GB / 3.926 GB, free: 9.445 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/10.69, allocations: 88.45 kB / 3.926 GB, free: 9.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.139/13.83, allocations: 0.5472 GB / 4.473 GB, free: 27.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/13.83, allocations: 0 / 4.473 GB, free: 27.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.043e-05/13.83, allocations: 27.98 kB / 4.473 GB, free: 27.83 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01221/13.85, allocations: 3.078 MB / 4.476 GB, free: 24.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/13.85, allocations: 8.031 kB / 4.476 GB, free: 24.98 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000529/13.85, allocations: 152 kB / 4.476 GB, free: 24.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006024/13.85, allocations: 129.8 kB / 4.476 GB, free: 24.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/13.85, allocations: 0.7342 MB / 4.477 GB, free: 24.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/13.85, allocations: 137.1 kB / 4.477 GB, free: 23.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/13.85, allocations: 87.98 kB / 4.477 GB, free: 23.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/13.85, allocations: 1.439 MB / 4.479 GB, free: 22.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.547e-05/13.85, allocations: 4 kB / 4.479 GB, free: 22.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/13.85, allocations: 35.98 kB / 4.479 GB, free: 22.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/13.85, allocations: 65.41 kB / 4.479 GB, free: 22.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003588/13.86, allocations: 1.45 MB / 4.48 GB, free: 21.29 MB / 378.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.01229/13.87, allocations: 5.776 MB / 4.486 GB, free: 16.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/13.87, allocations: 0.9057 MB / 4.487 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/13.87, allocations: 1.746 MB / 4.488 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/13.87, allocations: 39.22 kB / 4.489 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008743/13.87, allocations: 114.9 kB / 4.489 GB, free: 13.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 4.418e-06/13.87, allocations: 0 / 4.489 GB, free: 13.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.02895/13.9, allocations: 5.019 MB / 4.494 GB, free: 7.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/13.9, allocations: 115.8 kB / 4.494 GB, free: 7.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/13.9, allocations: 0.6519 MB / 4.494 GB, free: 7.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002387/13.9, allocations: 45.7 kB / 4.494 GB, free: 7.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/13.91, allocations: 474.8 kB / 4.495 GB, free: 6.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/13.91, allocations: 331.2 kB / 4.495 GB, free: 6.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/13.91, allocations: 28 kB / 4.495 GB, free: 6.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/13.91, allocations: 406.7 kB / 4.495 GB, free: 5.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/13.91, allocations: 0.5803 MB / 4.496 GB, free: 5.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/13.91, allocations: 0.9765 MB / 4.497 GB, free: 4.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/13.91, allocations: 0.7754 MB / 4.498 GB, free: 3.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/13.91, allocations: 4 kB / 4.498 GB, free: 3.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.005776/13.92, allocations: 1.91 MB / 4.5 GB, free: 1.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001645/13.92, allocations: 4.761 MB / 4.504 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/13.92, allocations: 15.94 kB / 4.504 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002907/13.92, allocations: 328.5 kB / 4.505 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/13.92, allocations: 291.7 kB / 4.505 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/13.93, allocations: 0.9387 MB / 4.506 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/13.93, allocations: 119.8 kB / 4.506 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002789/13.93, allocations: 79.97 kB / 4.506 GB, free: 10.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/13.93, allocations: 6.344 kB / 4.506 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006203/13.94, allocations: 1.804 MB / 4.508 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/13.94, allocations: 12 kB / 4.508 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002758/13.94, allocations: 333 kB / 4.508 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/13.94, allocations: 287.5 kB / 4.508 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/13.94, allocations: 0.9309 MB / 4.509 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/13.95, allocations: 107.9 kB / 4.509 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/13.95, allocations: 75.97 kB / 4.509 GB, free: 6.895 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,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 (153): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.001066/13.95, allocations: 429.3 kB / 4.51 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/13.95, allocations: 102.7 kB / 4.51 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006408/13.95, allocations: 1.867 MB / 4.512 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/13.95, allocations: 12 kB / 4.512 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/13.95, allocations: 0 / 4.512 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/13.95, allocations: 7.938 kB / 4.512 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008584/13.96, allocations: 2.897 MB / 4.515 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/13.96, allocations: 3.938 kB / 4.515 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/13.96, allocations: 179.8 kB / 4.515 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003435/13.97, allocations: 404.3 kB / 4.515 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002413/13.97, allocations: 39.97 kB / 4.515 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.308/14.28, allocations: 0.8877 MB / 4.516 GB, free: 44.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/14.28, allocations: 3 kB / 4.516 GB, free: 44.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00747/14.28, allocations: 2.346 MB / 4.518 GB, free: 44.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009648/14.29, allocations: 324.9 kB / 4.519 GB, free: 43.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/14.29, allocations: 28.38 kB / 4.519 GB, free: 43.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/14.29, allocations: 81.42 kB / 4.519 GB, free: 43.94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/14.29, allocations: 73.48 kB / 4.519 GB, free: 43.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/14.29, allocations: 55.23 kB / 4.519 GB, free: 43.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001052/14.29, allocations: 0.5176 MB / 4.519 GB, free: 43.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/14.29, allocations: 0 / 4.519 GB, free: 43.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005996/14.29, allocations: 1.344 MB / 4.521 GB, free: 43.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1]) * 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 (97): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0142/14.31, allocations: 5.23 MB / 4.526 GB, free: 42.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008302/14.32, allocations: 2.582 MB / 4.528 GB, free: 42.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/14.32, allocations: 4.375 kB / 4.528 GB, free: 42.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002434/14.32, allocations: 0.6953 MB / 4.529 GB, free: 42.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/14.32, allocations: 463.5 kB / 4.53 GB, free: 42.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/14.34, allocations: 12.19 MB / 4.541 GB, free: 32.56 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/14.34, allocations: 1.138 MB / 4.543 GB, free: 31.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00379/14.34, allocations: 0.6026 MB / 4.543 GB, free: 31.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/14.34, allocations: 415.6 kB / 4.544 GB, free: 31.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.011e-06/14.34, allocations: 0 / 4.544 GB, free: 31.83 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1394/14.48, allocations: 60.32 MB / 4.602 GB, free: 28.96 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/14.48, allocations: 255.7 kB / 4.603 GB, free: 28.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.314/19.8, allocations: 4 kB / 4.603 GB, free: 28.63 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat does not exist to compare? outputFormat=mat