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.TestValveCompressible.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.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.329/2.329, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.775e-05/3.795e-05, allocations: 4 kB / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4213, allocations: 54.85 MB / 364.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.035/8.457, allocations: 2.607 GB / 2.963 GB, free: 113.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/8.457, allocations: 88.47 kB / 2.963 GB, free: 113.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247/9.704, allocations: 235.6 MB / 3.193 GB, free: 71.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.044e-06/9.704, allocations: 3.812 kB / 3.193 GB, free: 71.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.199e-05/9.704, allocations: 7.25 kB / 3.193 GB, free: 71.4 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005969/9.71, allocations: 1.282 MB / 3.195 GB, free: 70.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/9.71, allocations: 11.25 kB / 3.195 GB, free: 70.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/9.71, allocations: 72.02 kB / 3.195 GB, free: 70.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/9.713, allocations: 254.8 kB / 3.195 GB, free: 70.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/9.714, allocations: 432.8 kB / 3.195 GB, free: 70.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/9.715, allocations: 28.22 kB / 3.195 GB, free: 70.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/9.715, allocations: 31.31 kB / 3.195 GB, free: 70.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/9.717, allocations: 0.6217 MB / 3.196 GB, free: 69.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/9.717, allocations: 6.719 kB / 3.196 GB, free: 69.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.605e-05/9.717, allocations: 14.78 kB / 3.196 GB, free: 69.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/9.717, allocations: 12.66 kB / 3.196 GB, free: 69.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/9.719, allocations: 0.5205 MB / 3.196 GB, free: 69.72 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.003941/9.723, allocations: 2.658 MB / 3.199 GB, free: 67.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/9.725, allocations: 0.4918 MB / 3.2 GB, free: 67.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/9.725, allocations: 146.3 kB / 3.2 GB, free: 67.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2034/9.929, allocations: 55.15 MB / 3.254 GB, free: 35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/9.929, allocations: 38.44 kB / 3.254 GB, free: 34.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.316e-06/9.929, allocations: 0 / 3.254 GB, free: 34.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.003133/9.932, allocations: 0.6533 MB / 3.254 GB, free: 34.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/9.932, allocations: 110.5 kB / 3.254 GB, free: 34.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/9.933, allocations: 314.4 kB / 3.255 GB, free: 34.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/9.933, allocations: 33.64 kB / 3.255 GB, free: 34.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/9.933, allocations: 292.2 kB / 3.255 GB, free: 34.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/9.933, allocations: 96.94 kB / 3.255 GB, free: 34.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/9.933, allocations: 7.812 kB / 3.255 GB, free: 34.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.532e-05/9.933, allocations: 330.3 kB / 3.255 GB, free: 33.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/9.933, allocations: 113.8 kB / 3.255 GB, free: 33.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/9.934, allocations: 253.4 kB / 3.256 GB, free: 33.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/9.934, allocations: 143.1 kB / 3.256 GB, free: 33.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/9.934, allocations: 3.938 kB / 3.256 GB, free: 33.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001054/9.935, allocations: 408.2 kB / 3.256 GB, free: 33.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005245/9.936, allocations: 1.832 MB / 3.258 GB, free: 31.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/9.936, allocations: 6.938 kB / 3.258 GB, free: 31.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.788e-05/9.936, allocations: 11.73 kB / 3.258 GB, free: 31.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009115/9.937, allocations: 113.5 kB / 3.258 GB, free: 31.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/9.937, allocations: 10.97 kB / 3.258 GB, free: 31.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000824/9.938, allocations: 74.81 kB / 3.258 GB, free: 31.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.007e-05/9.938, allocations: 20.66 kB / 3.258 GB, free: 31.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/9.938, allocations: 7.656 kB / 3.258 GB, free: 31.23 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001042/9.939, allocations: 356.5 kB / 3.259 GB, free: 31.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/9.939, allocations: 10.75 kB / 3.259 GB, free: 31.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/9.939, allocations: 7.062 kB / 3.259 GB, free: 31.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007853/9.94, allocations: 107.4 kB / 3.259 GB, free: 31.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/9.94, allocations: 15.58 kB / 3.259 GB, free: 31.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/9.94, allocations: 75.61 kB / 3.259 GB, free: 31.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/9.941, allocations: 25.61 kB / 3.259 GB, free: 31.05 MB / 490.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 () * 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.0002031/9.941, allocations: 139.7 kB / 3.259 GB, free: 30.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/9.941, allocations: 36.38 kB / 3.259 GB, free: 30.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/9.944, allocations: 1.907 MB / 3.261 GB, free: 29.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.251e-05/9.944, allocations: 30 kB / 3.261 GB, free: 29.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/9.944, allocations: 0 / 3.261 GB, free: 29.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/9.944, allocations: 3.703 kB / 3.261 GB, free: 29.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/9.945, allocations: 1.026 MB / 3.262 GB, free: 29.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/9.945, allocations: 7.938 kB / 3.262 GB, free: 29.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/9.946, allocations: 81.06 kB / 3.262 GB, free: 29.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/9.946, allocations: 0 / 3.262 GB, free: 29.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/9.946, allocations: 11.77 kB / 3.262 GB, free: 29.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/9.946, allocations: 3.781 kB / 3.262 GB, free: 29.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/9.946, allocations: 0 / 3.262 GB, free: 29.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/9.948, allocations: 1.036 MB / 3.263 GB, free: 28.81 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/9.948, allocations: 259.1 kB / 3.263 GB, free: 28.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/9.948, allocations: 4 kB / 3.263 GB, free: 28.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005735/9.949, allocations: 42.58 kB / 3.263 GB, free: 28.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/9.949, allocations: 36.95 kB / 3.263 GB, free: 28.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/9.949, allocations: 13.97 kB / 3.263 GB, free: 28.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005292/9.95, allocations: 305.6 kB / 3.264 GB, free: 28.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/9.95, allocations: 0 / 3.264 GB, free: 28.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005847/9.956, allocations: 1.157 MB / 3.265 GB, free: 28.19 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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete 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.01208/9.968, allocations: 2.91 MB / 3.268 GB, free: 26.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001708/9.969, allocations: 0.7478 MB / 3.268 GB, free: 26.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/9.97, allocations: 0 / 3.268 GB, free: 26.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007179/9.97, allocations: 492.8 kB / 3.269 GB, free: 25.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/9.972, allocations: 204.5 kB / 3.269 GB, free: 25.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6331/10.61, allocations: 81.77 MB / 3.349 GB, free: 69.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/10.61, allocations: 1.001 MB / 3.35 GB, free: 68.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/10.61, allocations: 286.8 kB / 3.35 GB, free: 68.75 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/10.61, allocations: 0 / 3.35 GB, free: 68.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.5/14.11, allocations: 30.61 MB / 3.38 GB, free: 65.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat