Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.333/2.333, allocations: 235.1 MB / 243 MB, free: 9.602 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.773e-05/1.791e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3563, allocations: 54.86 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.98/8.336, allocations: 2.634 GB / 2.984 GB, free: 122.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/8.336, allocations: 86.39 kB / 2.984 GB, free: 122 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203/9.54, allocations: 232.7 MB / 3.211 GB, free: 74.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.114e-06/9.54, allocations: 0 / 3.211 GB, free: 74.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.164e-05/9.54, allocations: 11.31 kB / 3.211 GB, free: 74.34 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.006072/9.546, allocations: 1.31 MB / 3.213 GB, free: 73.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/9.546, allocations: 9.438 kB / 3.213 GB, free: 73.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/9.549, allocations: 257.4 kB / 3.213 GB, free: 73.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/9.55, allocations: 430.9 kB / 3.213 GB, free: 73.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/9.55, allocations: 15.12 kB / 3.213 GB, free: 73.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/9.55, allocations: 18.84 kB / 3.213 GB, free: 73.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008768/9.551, allocations: 346.1 kB / 3.214 GB, free: 73.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008529/9.552, allocations: 425.9 kB / 3.214 GB, free: 72.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/9.552, allocations: 0 / 3.214 GB, free: 72.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.016e-05/9.552, allocations: 3.344 kB / 3.214 GB, free: 72.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/9.552, allocations: 11.28 kB / 3.214 GB, free: 72.79 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.008456/9.561, allocations: 4.105 MB / 3.218 GB, free: 69.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007336/9.561, allocations: 250.6 kB / 3.218 GB, free: 69.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/9.562, allocations: 128.5 kB / 3.218 GB, free: 69.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1745/9.736, allocations: 50.36 MB / 3.268 GB, free: 28.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/9.736, allocations: 34.56 kB / 3.268 GB, free: 28.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 3.717e-06/9.736, allocations: 0 / 3.268 GB, free: 28.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.002869/9.739, allocations: 0.5414 MB / 3.268 GB, free: 28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/9.739, allocations: 106.8 kB / 3.268 GB, free: 27.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/9.74, allocations: 276.4 kB / 3.268 GB, free: 27.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/9.74, allocations: 25.7 kB / 3.269 GB, free: 27.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/9.74, allocations: 297.8 kB / 3.269 GB, free: 27.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.503e-05/9.74, allocations: 86.09 kB / 3.269 GB, free: 27.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/9.74, allocations: 3.938 kB / 3.269 GB, free: 27.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/9.74, allocations: 330.2 kB / 3.269 GB, free: 26.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/9.74, allocations: 95.61 kB / 3.269 GB, free: 26.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/9.741, allocations: 243 kB / 3.27 GB, free: 26.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/9.742, allocations: 216.7 kB / 3.27 GB, free: 26.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/9.742, allocations: 3.953 kB / 3.27 GB, free: 26.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00176/9.744, allocations: 425.6 kB / 3.27 GB, free: 25.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003077/9.744, allocations: 1.482 MB / 3.272 GB, free: 24.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/9.744, allocations: 4 kB / 3.272 GB, free: 24.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/9.744, allocations: 8 kB / 3.272 GB, free: 24.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008931/9.745, allocations: 121.9 kB / 3.272 GB, free: 24.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/9.745, allocations: 4 kB / 3.272 GB, free: 24.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000864/9.746, allocations: 77.19 kB / 3.272 GB, free: 24.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/9.746, allocations: 23.23 kB / 3.272 GB, free: 24.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/9.746, allocations: 9.406 kB / 3.272 GB, free: 24.18 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001475/9.747, allocations: 348.5 kB / 3.272 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/9.747, allocations: 4.047 kB / 3.272 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/9.747, allocations: 8.484 kB / 3.272 GB, free: 23.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008359/9.748, allocations: 117.9 kB / 3.272 GB, free: 23.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/9.748, allocations: 15.55 kB / 3.272 GB, free: 23.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/9.749, allocations: 74.83 kB / 3.272 GB, free: 23.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/9.749, allocations: 23.7 kB / 3.272 GB, free: 23.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001628/9.749, allocations: 112.9 kB / 3.272 GB, free: 23.56 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001589/9.751, allocations: 338 kB / 3.273 GB, free: 23.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/9.751, allocations: 39.53 kB / 3.273 GB, free: 23.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/9.754, allocations: 1.682 MB / 3.274 GB, free: 21.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-05/9.754, allocations: 27.95 kB / 3.275 GB, free: 21.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/9.754, allocations: 0 / 3.275 GB, free: 21.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/9.754, allocations: 3.984 kB / 3.275 GB, free: 21.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/9.755, allocations: 0.8582 MB / 3.275 GB, free: 20.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/9.755, allocations: 4 kB / 3.275 GB, free: 20.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/9.756, allocations: 95.86 kB / 3.275 GB, free: 20.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/9.756, allocations: 4 kB / 3.275 GB, free: 20.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/9.756, allocations: 4 kB / 3.275 GB, free: 20.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/9.756, allocations: 4 kB / 3.275 GB, free: 20.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/9.756, allocations: 3.953 kB / 3.275 GB, free: 20.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/9.758, allocations: 0.9668 MB / 3.276 GB, free: 19.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/9.759, allocations: 251.4 kB / 3.277 GB, free: 19.35 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.902e-05/9.759, allocations: 0 / 3.277 GB, free: 19.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/9.759, allocations: 43.95 kB / 3.277 GB, free: 19.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/9.76, allocations: 31.95 kB / 3.277 GB, free: 19.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/9.76, allocations: 15.94 kB / 3.277 GB, free: 19.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004228/9.76, allocations: 287 kB / 3.277 GB, free: 18.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.51e-07/9.76, allocations: 0 / 3.277 GB, free: 18.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005564/9.766, allocations: 1.135 MB / 3.278 GB, free: 17.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01211/9.778, allocations: 2.907 MB / 3.281 GB, free: 15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001412/9.779, allocations: 0.6399 MB / 3.282 GB, free: 14.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/9.779, allocations: 0 / 3.282 GB, free: 14.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006315/9.78, allocations: 433.1 kB / 3.282 GB, free: 13.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/9.782, allocations: 170.3 kB / 3.282 GB, free: 13.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5703/10.35, allocations: 54.91 MB / 3.336 GB, free: 74.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/10.35, allocations: 0.9891 MB / 3.337 GB, free: 73.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000738/10.35, allocations: 265.6 kB / 3.337 GB, free: 73.69 MB / 490.7 MB Notification: Performance of SimCode: time 1.583e-06/10.35, allocations: 0 / 3.337 GB, free: 73.69 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.882/14.24, allocations: 30.88 MB / 3.367 GB, free: 70.42 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat