Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.606/1.606, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005307/0.0005306, allocations: 8 kB / 233.3 MB, free: 2.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0902/0.09077, allocations: 38.77 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.66/10.75, allocations: 3.66 GB / 3.926 GB, free: 53.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/10.75, allocations: 87.33 kB / 3.926 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.211/13.96, allocations: 0.5472 GB / 4.473 GB, free: 28.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.459e-06/13.96, allocations: 3.188 kB / 4.473 GB, free: 28.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.978e-05/13.96, allocations: 35.89 kB / 4.473 GB, free: 28.62 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.01339/13.98, allocations: 3.079 MB / 4.476 GB, free: 26.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/13.98, allocations: 10.38 kB / 4.476 GB, free: 26.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007175/13.98, allocations: 145.8 kB / 4.476 GB, free: 26.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009324/13.98, allocations: 129.2 kB / 4.476 GB, free: 26.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/13.98, allocations: 0.7342 MB / 4.477 GB, free: 26.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/13.98, allocations: 135.1 kB / 4.477 GB, free: 26.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004208/13.98, allocations: 91.16 kB / 4.477 GB, free: 26.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/13.98, allocations: 1.445 MB / 4.479 GB, free: 26.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/13.99, allocations: 7.438 kB / 4.479 GB, free: 26.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/13.99, allocations: 35.34 kB / 4.479 GB, free: 26.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/13.99, allocations: 69.22 kB / 4.479 GB, free: 26.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004067/13.99, allocations: 1.445 MB / 4.48 GB, free: 26.16 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.01417/14, allocations: 5.777 MB / 4.486 GB, free: 23.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/14.01, allocations: 0.8879 MB / 4.487 GB, free: 23.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001735/14.01, allocations: 1.753 MB / 4.488 GB, free: 21.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/14.01, allocations: 46.09 kB / 4.488 GB, free: 21.48 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001016/14.01, allocations: 109.8 kB / 4.489 GB, free: 21.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 4.999e-06/14.01, allocations: 7.047 kB / 4.489 GB, free: 21.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.03043/14.04, allocations: 5 MB / 4.493 GB, free: 20.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/14.04, allocations: 116.6 kB / 4.494 GB, free: 20.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/14.04, allocations: 0.6506 MB / 4.494 GB, free: 20.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003784/14.04, allocations: 47.86 kB / 4.494 GB, free: 20.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/14.04, allocations: 497.8 kB / 4.495 GB, free: 20.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/14.04, allocations: 340.7 kB / 4.495 GB, free: 20.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/14.04, allocations: 27.56 kB / 4.495 GB, free: 20.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/14.04, allocations: 364.9 kB / 4.495 GB, free: 19.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/14.05, allocations: 0.5857 MB / 4.496 GB, free: 19.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/14.05, allocations: 0.974 MB / 4.497 GB, free: 19.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/14.05, allocations: 0.7748 MB / 4.498 GB, free: 19.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/14.05, allocations: 6.062 kB / 4.498 GB, free: 19.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.006597/14.06, allocations: 1.872 MB / 4.5 GB, free: 18.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001187/14.06, allocations: 4.761 MB / 4.504 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.199e-05/14.06, allocations: 14.28 kB / 4.504 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00278/14.06, allocations: 328.9 kB / 4.505 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/14.06, allocations: 289 kB / 4.505 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/14.07, allocations: 0.9246 MB / 4.506 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/14.07, allocations: 116.5 kB / 4.506 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003186/14.07, allocations: 86.25 kB / 4.506 GB, free: 13.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/14.07, allocations: 5.219 kB / 4.506 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005991/14.07, allocations: 1.798 MB / 4.508 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.25e-05/14.07, allocations: 12.69 kB / 4.508 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002665/14.08, allocations: 338.1 kB / 4.508 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/14.08, allocations: 279.1 kB / 4.508 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/14.08, allocations: 0.9334 MB / 4.509 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/14.08, allocations: 116.3 kB / 4.509 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/14.08, allocations: 78.7 kB / 4.509 GB, free: 12.23 MB / 378.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.001103/14.09, allocations: 425.3 kB / 4.51 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003541/14.09, allocations: 96.41 kB / 4.51 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006182/14.09, allocations: 1.874 MB / 4.512 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/14.09, allocations: 15.41 kB / 4.512 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/14.09, allocations: 3 kB / 4.512 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/14.09, allocations: 2.766 kB / 4.512 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008286/14.1, allocations: 2.905 MB / 4.515 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/14.1, allocations: 2.906 kB / 4.515 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/14.1, allocations: 179.7 kB / 4.515 GB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003353/14.11, allocations: 398.5 kB / 4.515 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003202/14.11, allocations: 36.67 kB / 4.515 GB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/14.11, allocations: 0.8954 MB / 4.516 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/14.11, allocations: 5.781 kB / 4.516 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006898/14.11, allocations: 2.349 MB / 4.518 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/14.12, allocations: 318.5 kB / 4.519 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/14.12, allocations: 25.59 kB / 4.519 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/14.12, allocations: 93.95 kB / 4.519 GB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/14.12, allocations: 68.64 kB / 4.519 GB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/14.12, allocations: 58.67 kB / 4.519 GB, free: 7.719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001008/14.12, allocations: 0.512 MB / 4.519 GB, free: 7.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/14.12, allocations: 0 / 4.519 GB, free: 7.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006685/14.13, allocations: 1.342 MB / 4.521 GB, free: 7.129 MB / 378.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.01393/14.14, allocations: 5.243 MB / 4.526 GB, free: 3.215 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007859/14.15, allocations: 2.591 MB / 4.528 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/14.15, allocations: 4 kB / 4.528 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002283/14.15, allocations: 0.6949 MB / 4.529 GB, free: 300 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004061/14.15, allocations: 469.9 kB / 4.529 GB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/14.17, allocations: 12.25 MB / 4.541 GB, free: 3.926 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/14.17, allocations: 1.144 MB / 4.543 GB, free: 2.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/14.17, allocations: 425.7 kB / 4.543 GB, free: 2.543 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/14.17, allocations: 0 / 4.543 GB, free: 2.543 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.144/18.32, allocations: 40.46 MB / 4.582 GB, free: 37.91 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat does not exist to compare? outputFormat=mat