Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.097/2.097, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 8 kB / 264.1 MB, free: 3.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3743, allocations: 44.51 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.32/11.69, allocations: 3.666 GB / 3.967 GB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/11.69, allocations: 82.14 kB / 3.967 GB, free: 27.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.374/15.07, allocations: 0.5508 GB / 4.518 GB, free: 35.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.136e-06/15.07, allocations: 0 / 4.518 GB, free: 35.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.494e-05/15.07, allocations: 24.56 kB / 4.518 GB, free: 35.34 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01348/15.08, allocations: 3.088 MB / 4.521 GB, free: 33.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/15.08, allocations: 8.094 kB / 4.521 GB, free: 33.92 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009609/15.08, allocations: 149.1 kB / 4.521 GB, free: 33.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009926/15.08, allocations: 131.5 kB / 4.521 GB, free: 33.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/15.09, allocations: 0.7306 MB / 4.522 GB, free: 33.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/15.09, allocations: 130.8 kB / 4.522 GB, free: 33.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003767/15.09, allocations: 93.59 kB / 4.522 GB, free: 33.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004048/15.09, allocations: 1.44 MB / 4.524 GB, free: 33.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.808e-05/15.09, allocations: 5.297 kB / 4.524 GB, free: 33.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/15.09, allocations: 38.03 kB / 4.524 GB, free: 33.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/15.09, allocations: 67.92 kB / 4.524 GB, free: 33.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003749/15.1, allocations: 1.441 MB / 4.525 GB, free: 33.25 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.0131/15.11, allocations: 6.045 MB / 4.531 GB, free: 30.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/15.11, allocations: 0.8984 MB / 4.532 GB, free: 30.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001673/15.11, allocations: 1.752 MB / 4.534 GB, free: 28.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/15.11, allocations: 47.06 kB / 4.534 GB, free: 28.28 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009422/15.11, allocations: 95.48 kB / 4.534 GB, free: 28.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.358e-06/15.11, allocations: 0 / 4.534 GB, free: 28.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=94): time 0.02948/15.14, allocations: 5.014 MB / 4.539 GB, free: 27.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/15.14, allocations: 115.1 kB / 4.539 GB, free: 27.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/15.14, allocations: 0.6566 MB / 4.539 GB, free: 27.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003386/15.15, allocations: 45.89 kB / 4.539 GB, free: 27.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/15.15, allocations: 466.9 kB / 4.54 GB, free: 27.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/15.15, allocations: 337.6 kB / 4.54 GB, free: 26.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/15.15, allocations: 30.11 kB / 4.54 GB, free: 26.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/15.15, allocations: 402.2 kB / 4.541 GB, free: 26.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/15.15, allocations: 0.5829 MB / 4.541 GB, free: 26.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/15.15, allocations: 0.9767 MB / 4.542 GB, free: 26.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/15.15, allocations: 0.7806 MB / 4.543 GB, free: 26.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/15.15, allocations: 5.969 kB / 4.543 GB, free: 26.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.00596/15.16, allocations: 1.908 MB / 4.545 GB, free: 25.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001147/15.16, allocations: 4.761 MB / 4.549 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/15.16, allocations: 13.47 kB / 4.549 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/15.16, allocations: 332 kB / 4.55 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/15.16, allocations: 291 kB / 4.55 GB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/15.17, allocations: 0.9307 MB / 4.551 GB, free: 20.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/15.17, allocations: 118.2 kB / 4.551 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/15.17, allocations: 79.56 kB / 4.551 GB, free: 20.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/15.17, allocations: 3.625 kB / 4.551 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005618/15.18, allocations: 1.796 MB / 4.553 GB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.205e-05/15.18, allocations: 15.22 kB / 4.553 GB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002658/15.18, allocations: 336.1 kB / 4.553 GB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/15.18, allocations: 283.5 kB / 4.553 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/15.18, allocations: 0.9339 MB / 4.554 GB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/15.19, allocations: 106.9 kB / 4.554 GB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/15.19, allocations: 80.45 kB / 4.555 GB, free: 19.74 MB / 426.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.001/15.19, allocations: 429.2 kB / 4.555 GB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/15.19, allocations: 98.81 kB / 4.555 GB, free: 19.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005855/15.19, allocations: 1.871 MB / 4.557 GB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/15.19, allocations: 12.59 kB / 4.557 GB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/15.19, allocations: 0 / 4.557 GB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/15.19, allocations: 3.75 kB / 4.557 GB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007713/15.2, allocations: 2.906 MB / 4.56 GB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/15.2, allocations: 3.125 kB / 4.56 GB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/15.2, allocations: 187.4 kB / 4.56 GB, free: 18.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003324/15.21, allocations: 397.1 kB / 4.56 GB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003031/15.21, allocations: 39.58 kB / 4.56 GB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/15.21, allocations: 0.8884 MB / 4.561 GB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/15.21, allocations: 0 / 4.561 GB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006708/15.21, allocations: 2.362 MB / 4.564 GB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009766/15.22, allocations: 319.9 kB / 4.564 GB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/15.22, allocations: 26.58 kB / 4.564 GB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/15.22, allocations: 84.17 kB / 4.564 GB, free: 17.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/15.22, allocations: 71.84 kB / 4.564 GB, free: 17.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/15.22, allocations: 50.61 kB / 4.564 GB, free: 17.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009785/15.22, allocations: 0.5191 MB / 4.565 GB, free: 17.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/15.22, allocations: 2.781 kB / 4.565 GB, free: 17.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005991/15.23, allocations: 1.345 MB / 4.566 GB, free: 17.5 MB / 426.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.01408/15.24, allocations: 5.238 MB / 4.571 GB, free: 31.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007683/15.25, allocations: 2.584 MB / 4.573 GB, free: 31.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/15.25, allocations: 0 / 4.573 GB, free: 31.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/15.25, allocations: 0.6887 MB / 4.574 GB, free: 31.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003868/15.25, allocations: 460.3 kB / 4.575 GB, free: 31.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/15.27, allocations: 12.17 MB / 4.586 GB, free: 21.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009704/15.27, allocations: 1.141 MB / 4.588 GB, free: 20.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003813/15.27, allocations: 0.6067 MB / 4.588 GB, free: 20.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/15.27, allocations: 414.5 kB / 4.589 GB, free: 20.75 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/15.27, allocations: 0 / 4.589 GB, free: 20.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4996/15.77, allocations: 60.32 MB / 4.647 GB, free: 49.55 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/15.77, allocations: 245.8 kB / 4.648 GB, free: 49.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.674/21.45, allocations: 3.375 kB / 4.648 GB, free: 49.23 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat does not exist to compare? outputFormat=mat