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/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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.491/2.491, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.796e-05, allocations: 4 kB / 309.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4188, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.076/8.495, allocations: 2.635 GB / 2.991 GB, free: 118.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/8.495, allocations: 83.06 kB / 2.991 GB, free: 118.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.211/9.706, allocations: 235.6 MB / 3.221 GB, free: 71.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.004e-06/9.706, allocations: 0 / 3.221 GB, free: 71.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.955e-05/9.706, allocations: 17.16 kB / 3.221 GB, free: 71.67 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.005976/9.712, allocations: 1.31 MB / 3.222 GB, free: 70.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/9.712, allocations: 9.781 kB / 3.222 GB, free: 70.86 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/9.712, allocations: 73.44 kB / 3.222 GB, free: 70.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/9.715, allocations: 253 kB / 3.223 GB, free: 70.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/9.716, allocations: 431.4 kB / 3.223 GB, free: 70.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/9.716, allocations: 29.78 kB / 3.223 GB, free: 70.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/9.716, allocations: 33.75 kB / 3.223 GB, free: 70.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/9.718, allocations: 0.6306 MB / 3.224 GB, free: 70.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/9.718, allocations: 0 / 3.224 GB, free: 70.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/9.718, allocations: 15.78 kB / 3.224 GB, free: 70.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/9.718, allocations: 7.156 kB / 3.224 GB, free: 70.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/9.72, allocations: 0.534 MB / 3.224 GB, free: 69.96 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.004058/9.724, allocations: 2.774 MB / 3.227 GB, free: 67.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/9.726, allocations: 443.6 kB / 3.227 GB, free: 67.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/9.726, allocations: 138.6 kB / 3.228 GB, free: 67.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1795/9.906, allocations: 51.76 MB / 3.278 GB, free: 37.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/9.906, allocations: 49.52 kB / 3.278 GB, free: 37.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.256e-06/9.906, allocations: 0 / 3.278 GB, free: 37.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.002815/9.909, allocations: 0.6439 MB / 3.279 GB, free: 37.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/9.909, allocations: 106.3 kB / 3.279 GB, free: 37.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004638/9.909, allocations: 297.6 kB / 3.279 GB, free: 36.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/9.909, allocations: 33.64 kB / 3.279 GB, free: 36.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/9.909, allocations: 283.3 kB / 3.279 GB, free: 36.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/9.909, allocations: 100.8 kB / 3.28 GB, free: 36.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/9.909, allocations: 4 kB / 3.28 GB, free: 36.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.548e-05/9.91, allocations: 329.8 kB / 3.28 GB, free: 36.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/9.91, allocations: 104.8 kB / 3.28 GB, free: 36.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/9.91, allocations: 243.5 kB / 3.28 GB, free: 36.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/9.911, allocations: 124.5 kB / 3.28 GB, free: 35.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/9.911, allocations: 0 / 3.28 GB, free: 35.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009196/9.911, allocations: 367.2 kB / 3.281 GB, free: 35.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003329/9.912, allocations: 1.484 MB / 3.282 GB, free: 34.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/9.912, allocations: 3.688 kB / 3.282 GB, free: 34.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/9.912, allocations: 11.34 kB / 3.282 GB, free: 34.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000916/9.913, allocations: 121.3 kB / 3.282 GB, free: 34.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/9.913, allocations: 11.59 kB / 3.282 GB, free: 34.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008931/9.914, allocations: 82.16 kB / 3.282 GB, free: 34.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/9.914, allocations: 22.06 kB / 3.282 GB, free: 34.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/9.914, allocations: 7.609 kB / 3.282 GB, free: 34.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008387/9.915, allocations: 335.5 kB / 3.283 GB, free: 34.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/9.915, allocations: 3.938 kB / 3.283 GB, free: 34.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/9.915, allocations: 3.938 kB / 3.283 GB, free: 34.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/9.916, allocations: 121.2 kB / 3.283 GB, free: 34.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/9.916, allocations: 11.81 kB / 3.283 GB, free: 34.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/9.916, allocations: 81.73 kB / 3.283 GB, free: 34.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/9.916, allocations: 19.06 kB / 3.283 GB, free: 34.03 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.0001815/9.917, allocations: 124.1 kB / 3.283 GB, free: 33.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/9.917, allocations: 42.48 kB / 3.283 GB, free: 33.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/9.92, allocations: 1.892 MB / 3.285 GB, free: 32.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.999e-05/9.92, allocations: 29.97 kB / 3.285 GB, free: 32.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/9.92, allocations: 0 / 3.285 GB, free: 32.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/9.92, allocations: 3.422 kB / 3.285 GB, free: 32.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/9.921, allocations: 1.024 MB / 3.286 GB, free: 31.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/9.921, allocations: 0 / 3.286 GB, free: 31.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007891/9.922, allocations: 106.7 kB / 3.286 GB, free: 31.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/9.922, allocations: 0 / 3.286 GB, free: 31.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/9.922, allocations: 11.95 kB / 3.286 GB, free: 31.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/9.922, allocations: 3.938 kB / 3.286 GB, free: 31.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/9.922, allocations: 4 kB / 3.286 GB, free: 31.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/9.923, allocations: 1.018 MB / 3.287 GB, free: 30.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/9.924, allocations: 247.1 kB / 3.287 GB, free: 30.28 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/9.924, allocations: 8 kB / 3.287 GB, free: 30.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007219/9.925, allocations: 63.28 kB / 3.287 GB, free: 30.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/9.925, allocations: 31.58 kB / 3.287 GB, free: 30.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/9.925, allocations: 11.94 kB / 3.287 GB, free: 30.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004588/9.925, allocations: 301.6 kB / 3.288 GB, free: 29.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/9.925, allocations: 3.938 kB / 3.288 GB, free: 29.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005738/9.931, allocations: 1.168 MB / 3.289 GB, free: 28.78 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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0117/9.943, allocations: 2.893 MB / 3.292 GB, free: 26.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001599/9.944, allocations: 0.714 MB / 3.292 GB, free: 25.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/9.945, allocations: 128 / 3.292 GB, free: 25.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007005/9.945, allocations: 489 kB / 3.293 GB, free: 25.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/9.947, allocations: 202.8 kB / 3.293 GB, free: 24.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7048/10.65, allocations: 76.84 MB / 3.368 GB, free: 69.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/10.65, allocations: 0.9948 MB / 3.369 GB, free: 69.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/10.65, allocations: 276.3 kB / 3.369 GB, free: 69.21 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/10.65, allocations: 4 kB / 3.369 GB, free: 69.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.881/14.53, allocations: 30.6 MB / 3.399 GB, free: 66.07 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