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.432/2.432, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.000467, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.406, allocations: 54.86 MB / 369.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.044/8.45, allocations: 2.607 GB / 2.968 GB, free: 89.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/8.451, allocations: 84.33 kB / 2.968 GB, free: 89.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.234/9.685, allocations: 236.4 MB / 3.199 GB, free: 52.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.725e-06/9.685, allocations: 0 / 3.199 GB, free: 52.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.401e-05/9.685, allocations: 19.91 kB / 3.199 GB, free: 52.32 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.006345/9.692, allocations: 1.335 MB / 3.2 GB, free: 50.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/9.692, allocations: 12.03 kB / 3.2 GB, free: 50.93 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/9.692, allocations: 74.47 kB / 3.2 GB, free: 50.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002882/9.695, allocations: 247.2 kB / 3.2 GB, free: 50.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/9.696, allocations: 435.8 kB / 3.201 GB, free: 50.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/9.696, allocations: 32.66 kB / 3.201 GB, free: 50.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-05/9.696, allocations: 32 kB / 3.201 GB, free: 50.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/9.699, allocations: 0.6262 MB / 3.201 GB, free: 49.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/9.699, allocations: 7.938 kB / 3.201 GB, free: 49.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/9.699, allocations: 12 kB / 3.201 GB, free: 49.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/9.699, allocations: 8 kB / 3.201 GB, free: 49.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/9.701, allocations: 0.584 MB / 3.202 GB, free: 48.8 MB / 490.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.004417/9.706, allocations: 2.654 MB / 3.205 GB, free: 45.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/9.709, allocations: 0.522 MB / 3.205 GB, free: 45.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5594/10.27, allocations: 54.86 MB / 3.259 GB, free: 72.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/10.27, allocations: 38.33 kB / 3.259 GB, free: 72.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.036e-06/10.27, allocations: 0 / 3.259 GB, free: 72.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.003796/10.27, allocations: 0.7959 MB / 3.26 GB, free: 71.97 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/10.27, allocations: 106.1 kB / 3.26 GB, free: 71.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/10.27, allocations: 324.7 kB / 3.26 GB, free: 71.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/10.27, allocations: 32.92 kB / 3.26 GB, free: 71.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/10.27, allocations: 291.4 kB / 3.26 GB, free: 71.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/10.27, allocations: 95.25 kB / 3.26 GB, free: 71.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/10.27, allocations: 12.94 kB / 3.26 GB, free: 71.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.11e-05/10.27, allocations: 331.8 kB / 3.261 GB, free: 71.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005848/10.27, allocations: 151.6 kB / 3.261 GB, free: 71.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006746/10.27, allocations: 307.8 kB / 3.261 GB, free: 70.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/10.27, allocations: 184.2 kB / 3.261 GB, free: 70.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/10.28, allocations: 3.094 kB / 3.261 GB, free: 70.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001604/10.28, allocations: 490.7 kB / 3.262 GB, free: 70.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004419/10.28, allocations: 1.832 MB / 3.264 GB, free: 69.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/10.28, allocations: 3.719 kB / 3.264 GB, free: 69.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.411e-05/10.28, allocations: 7.438 kB / 3.264 GB, free: 69.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/10.28, allocations: 115 kB / 3.264 GB, free: 69.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/10.28, allocations: 13.62 kB / 3.264 GB, free: 69.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/10.28, allocations: 75.69 kB / 3.264 GB, free: 69.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/10.28, allocations: 22.83 kB / 3.264 GB, free: 69.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/10.28, allocations: 6.812 kB / 3.264 GB, free: 69.03 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001494/10.28, allocations: 443.4 kB / 3.264 GB, free: 69.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/10.28, allocations: 3.344 kB / 3.264 GB, free: 69.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/10.28, allocations: 15.25 kB / 3.264 GB, free: 69.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006848/10.28, allocations: 114.9 kB / 3.264 GB, free: 69.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/10.28, allocations: 8.406 kB / 3.264 GB, free: 69.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/10.28, allocations: 57.38 kB / 3.264 GB, free: 69.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.183e-05/10.28, allocations: 29.88 kB / 3.264 GB, free: 69.02 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 () * 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.0003815/10.28, allocations: 255.8 kB / 3.265 GB, free: 68.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/10.28, allocations: 41.38 kB / 3.265 GB, free: 68.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/10.29, allocations: 1.937 MB / 3.267 GB, free: 68.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-05/10.29, allocations: 38.38 kB / 3.267 GB, free: 68.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/10.29, allocations: 0 / 3.267 GB, free: 68.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/10.29, allocations: 3.844 kB / 3.267 GB, free: 68.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/10.29, allocations: 1.02 MB / 3.268 GB, free: 68.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/10.29, allocations: 3.062 kB / 3.268 GB, free: 68.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/10.29, allocations: 86.22 kB / 3.268 GB, free: 68.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/10.29, allocations: 0 / 3.268 GB, free: 68.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/10.29, allocations: 9.5 kB / 3.268 GB, free: 68.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/10.29, allocations: 3.656 kB / 3.268 GB, free: 68.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/10.29, allocations: 0 / 3.268 GB, free: 68.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/10.29, allocations: 1.111 MB / 3.269 GB, free: 68.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/10.29, allocations: 250.7 kB / 3.269 GB, free: 67.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/10.29, allocations: 10.41 kB / 3.269 GB, free: 67.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005628/10.29, allocations: 49.22 kB / 3.269 GB, free: 67.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/10.29, allocations: 29.91 kB / 3.269 GB, free: 67.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/10.29, allocations: 14.97 kB / 3.269 GB, free: 67.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005416/10.29, allocations: 314.2 kB / 3.269 GB, free: 67.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.064e-06/10.29, allocations: 0 / 3.269 GB, free: 67.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006207/10.3, allocations: 1.161 MB / 3.271 GB, free: 67.89 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 () * 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.01273/10.31, allocations: 2.971 MB / 3.273 GB, free: 67.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002547/10.31, allocations: 0.8712 MB / 3.274 GB, free: 67.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/10.31, allocations: 0 / 3.274 GB, free: 67.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009578/10.31, allocations: 0.5161 MB / 3.275 GB, free: 67.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/10.32, allocations: 203.7 kB / 3.275 GB, free: 67.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2555/10.57, allocations: 86.05 MB / 3.359 GB, free: 53.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/10.57, allocations: 1.003 MB / 3.36 GB, free: 52.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005336/10.57, allocations: 287.6 kB / 3.36 GB, free: 52.92 MB / 490.7 MB Notification: Performance of SimCode: time 1.603e-06/10.57, allocations: 3.375 kB / 3.36 GB, free: 52.92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.535/14.11, allocations: 29.9 MB / 3.39 GB, free: 35.52 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