Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.896/1.896, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.0004459, allocations: 19.94 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3487, allocations: 48.7 MB / 331.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.185/7.534, allocations: 2.496 GB / 2.82 GB, free: 23.42 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/7.534, allocations: 91.02 kB / 2.82 GB, free: 23.37 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.44/8.974, allocations: 232 MB / 3.047 GB, free: 64.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.004e-06/8.974, allocations: 0 / 3.047 GB, free: 64.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.749e-05/8.975, allocations: 13.69 kB / 3.047 GB, free: 64.11 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.006204/8.981, allocations: 1.322 MB / 3.048 GB, free: 63.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/8.981, allocations: 10.72 kB / 3.048 GB, free: 63.45 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/8.981, allocations: 70.67 kB / 3.048 GB, free: 63.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/8.984, allocations: 243.8 kB / 3.048 GB, free: 63.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/8.985, allocations: 431.4 kB / 3.049 GB, free: 63.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/8.985, allocations: 29.53 kB / 3.049 GB, free: 63.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/8.985, allocations: 33.66 kB / 3.049 GB, free: 63.17 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/8.987, allocations: 0.6288 MB / 3.049 GB, free: 63.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/8.988, allocations: 2.688 kB / 3.049 GB, free: 63.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.972e-05/8.988, allocations: 16.03 kB / 3.049 GB, free: 63.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/8.988, allocations: 11.48 kB / 3.049 GB, free: 63.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/8.99, allocations: 0.58 MB / 3.05 GB, free: 63.04 MB / 442.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.00379/8.994, allocations: 2.66 MB / 3.053 GB, free: 61.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/8.997, allocations: 0.527 MB / 3.053 GB, free: 61.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.197/9.194, allocations: 54.81 MB / 3.107 GB, free: 30.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/9.194, allocations: 45.53 kB / 3.107 GB, free: 30.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/9.194, allocations: 0 / 3.107 GB, free: 30.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.003745/9.197, allocations: 0.7853 MB / 3.107 GB, free: 30.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/9.198, allocations: 110.5 kB / 3.107 GB, free: 30.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005157/9.198, allocations: 326.4 kB / 3.108 GB, free: 30.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/9.198, allocations: 40.3 kB / 3.108 GB, free: 29.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/9.198, allocations: 288.8 kB / 3.108 GB, free: 29.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/9.198, allocations: 91.91 kB / 3.108 GB, free: 29.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/9.198, allocations: 7.5 kB / 3.108 GB, free: 29.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.341e-05/9.198, allocations: 330.1 kB / 3.109 GB, free: 29.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/9.199, allocations: 151.9 kB / 3.109 GB, free: 29.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006705/9.2, allocations: 305.6 kB / 3.109 GB, free: 29.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/9.2, allocations: 186.5 kB / 3.109 GB, free: 29.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/9.2, allocations: 3.938 kB / 3.109 GB, free: 29.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001569/9.202, allocations: 491.8 kB / 3.11 GB, free: 29.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004166/9.202, allocations: 1.834 MB / 3.111 GB, free: 27.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/9.202, allocations: 3.938 kB / 3.111 GB, free: 27.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/9.203, allocations: 7.875 kB / 3.111 GB, free: 27.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007743/9.203, allocations: 120.5 kB / 3.112 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/9.203, allocations: 9.906 kB / 3.112 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/9.204, allocations: 85.44 kB / 3.112 GB, free: 27.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/9.204, allocations: 18.09 kB / 3.112 GB, free: 27.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/9.204, allocations: 7.703 kB / 3.112 GB, free: 27.22 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001471/9.206, allocations: 447.8 kB / 3.112 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/9.206, allocations: 3.906 kB / 3.112 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/9.206, allocations: 7.938 kB / 3.112 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/9.206, allocations: 115.7 kB / 3.112 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/9.206, allocations: 8.844 kB / 3.112 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/9.207, allocations: 68.23 kB / 3.112 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/9.207, allocations: 23.3 kB / 3.112 GB, free: 27.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0003621/9.207, allocations: 251.3 kB / 3.113 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/9.208, allocations: 43.09 kB / 3.113 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/9.211, allocations: 1.945 MB / 3.114 GB, free: 26.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.603e-05/9.211, allocations: 30.83 kB / 3.114 GB, free: 26.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/9.211, allocations: 0 / 3.114 GB, free: 26.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/9.211, allocations: 3.703 kB / 3.115 GB, free: 26.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/9.212, allocations: 1.028 MB / 3.116 GB, free: 26.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/9.212, allocations: 0 / 3.116 GB, free: 26.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/9.213, allocations: 91.16 kB / 3.116 GB, free: 26.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/9.213, allocations: 0 / 3.116 GB, free: 26.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/9.213, allocations: 14.59 kB / 3.116 GB, free: 26.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/9.213, allocations: 0 / 3.116 GB, free: 26.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/9.213, allocations: 7.625 kB / 3.116 GB, free: 26.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/9.215, allocations: 1.1 MB / 3.117 GB, free: 26.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/9.215, allocations: 253.5 kB / 3.117 GB, free: 26.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/9.216, allocations: 10.59 kB / 3.117 GB, free: 26.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/9.216, allocations: 40.36 kB / 3.117 GB, free: 26.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/9.216, allocations: 39.44 kB / 3.117 GB, free: 26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/9.216, allocations: 18.88 kB / 3.117 GB, free: 26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005129/9.217, allocations: 317.9 kB / 3.117 GB, free: 25.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/9.217, allocations: 0 / 3.117 GB, free: 25.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005719/9.223, allocations: 1.15 MB / 3.118 GB, free: 25.74 MB / 442.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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * 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.01223/9.235, allocations: 2.976 MB / 3.121 GB, free: 24.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002439/9.237, allocations: 0.8629 MB / 3.122 GB, free: 24.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/9.237, allocations: 3.281 kB / 3.122 GB, free: 24.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000932/9.238, allocations: 0.5135 MB / 3.123 GB, free: 24.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/9.24, allocations: 200.6 kB / 3.123 GB, free: 24.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5687/9.809, allocations: 84.77 MB / 3.206 GB, free: 55.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/9.809, allocations: 1.006 MB / 3.207 GB, free: 54.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005167/9.81, allocations: 286.3 kB / 3.207 GB, free: 54.37 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/9.81, allocations: 0 / 3.207 GB, free: 54.37 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.281/13.09, allocations: 29.74 MB / 3.236 GB, free: 52.95 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat