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.Sensors.TestPressure.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.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.003/2.003, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004398, allocations: 12 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3521, allocations: 48.7 MB / 331.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.001/7.353, allocations: 2.485 GB / 2.808 GB, free: 38.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/7.354, allocations: 95 kB / 2.809 GB, free: 38.54 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 2.327/9.681, allocations: 400.8 MB / 3.2 GB, free: 42.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.184e-06/9.681, allocations: 3.594 kB / 3.2 GB, free: 42.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.853e-05/9.681, allocations: 14.02 kB / 3.2 GB, free: 42.37 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.006632/9.688, allocations: 1.534 MB / 3.202 GB, free: 41.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/9.688, allocations: 11.28 kB / 3.202 GB, free: 41.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/9.688, allocations: 81.47 kB / 3.202 GB, free: 41.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/9.69, allocations: 229.9 kB / 3.202 GB, free: 41.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/9.692, allocations: 438.3 kB / 3.202 GB, free: 41.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/9.692, allocations: 35.56 kB / 3.202 GB, free: 41.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-05/9.692, allocations: 38.78 kB / 3.202 GB, free: 41.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/9.694, allocations: 0.686 MB / 3.203 GB, free: 41.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/9.694, allocations: 4.781 kB / 3.203 GB, free: 41.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/9.694, allocations: 24.27 kB / 3.203 GB, free: 41.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/9.694, allocations: 12.91 kB / 3.203 GB, free: 41.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/9.697, allocations: 0.5815 MB / 3.204 GB, free: 41.34 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.004436/9.701, allocations: 3.137 MB / 3.207 GB, free: 39.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/9.703, allocations: 395 kB / 3.207 GB, free: 39.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2987/10, allocations: 80.51 MB / 3.286 GB, free: 27.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/10, allocations: 36.09 kB / 3.286 GB, free: 27.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 3.016e-06/10, allocations: 0 / 3.286 GB, free: 27.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=27): time 0.00414/10.01, allocations: 0.7988 MB / 3.286 GB, free: 27.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/10.01, allocations: 114 kB / 3.287 GB, free: 27.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/10.01, allocations: 299.3 kB / 3.287 GB, free: 27.49 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/10.01, allocations: 32.42 kB / 3.287 GB, free: 27.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/10.01, allocations: 323.8 kB / 3.287 GB, free: 27.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/10.01, allocations: 99.64 kB / 3.287 GB, free: 27.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/10.01, allocations: 10.69 kB / 3.287 GB, free: 27.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/10.01, allocations: 325.4 kB / 3.288 GB, free: 26.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/10.01, allocations: 122.7 kB / 3.288 GB, free: 26.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/10.01, allocations: 321.2 kB / 3.288 GB, free: 26.63 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/10.01, allocations: 169.9 kB / 3.288 GB, free: 26.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/10.01, allocations: 0 / 3.288 GB, free: 26.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001662/10.01, allocations: 493.3 kB / 3.289 GB, free: 26.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000969/10.01, allocations: 2.437 MB / 3.291 GB, free: 24.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/10.01, allocations: 3.969 kB / 3.291 GB, free: 24.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003048/10.02, allocations: 203 kB / 3.291 GB, free: 23.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/10.02, allocations: 111.9 kB / 3.291 GB, free: 23.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007515/10.02, allocations: 0.5838 MB / 3.292 GB, free: 23.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/10.02, allocations: 70.27 kB / 3.292 GB, free: 23.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/10.02, allocations: 23.47 kB / 3.292 GB, free: 23.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/10.02, allocations: 6.469 kB / 3.292 GB, free: 23.45 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001432/10.02, allocations: 421 kB / 3.292 GB, free: 23.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/10.02, allocations: 8.234 kB / 3.292 GB, free: 23.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/10.02, allocations: 11.81 kB / 3.292 GB, free: 23.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006955/10.02, allocations: 115.2 kB / 3.293 GB, free: 23.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/10.02, allocations: 16.61 kB / 3.293 GB, free: 23.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/10.02, allocations: 68.67 kB / 3.293 GB, free: 23.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/10.02, allocations: 20.94 kB / 3.293 GB, free: 23.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004629/10.02, allocations: 259.8 kB / 3.293 GB, free: 23.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/10.02, allocations: 32.84 kB / 3.293 GB, free: 23.22 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003247/10.02, allocations: 1.85 MB / 3.295 GB, free: 22.99 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/10.02, allocations: 27.91 kB / 3.295 GB, free: 22.99 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/10.02, allocations: 0 / 3.295 GB, free: 22.99 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/10.02, allocations: 0 / 3.295 GB, free: 22.99 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/10.03, allocations: 0.933 MB / 3.296 GB, free: 22.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/10.03, allocations: 0 / 3.296 GB, free: 22.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004963/10.03, allocations: 68.22 kB / 3.296 GB, free: 22.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/10.03, allocations: 0.581 MB / 3.296 GB, free: 22.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.02e-05/10.03, allocations: 15.27 kB / 3.296 GB, free: 22.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/10.03, allocations: 0.9929 MB / 3.297 GB, free: 22.15 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/10.03, allocations: 3.953 kB / 3.297 GB, free: 22.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/10.03, allocations: 1.245 MB / 3.299 GB, free: 21.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/10.03, allocations: 239.6 kB / 3.299 GB, free: 21.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/10.03, allocations: 7.469 kB / 3.299 GB, free: 21.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/10.03, allocations: 36.38 kB / 3.299 GB, free: 21.72 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.336e-05/10.03, allocations: 29.94 kB / 3.299 GB, free: 21.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/10.03, allocations: 13.3 kB / 3.299 GB, free: 21.72 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004739/10.03, allocations: 301.2 kB / 3.299 GB, free: 21.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-07/10.03, allocations: 0 / 3.299 GB, free: 21.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006116/10.04, allocations: 1.191 MB / 3.3 GB, free: 21.45 MB / 474.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 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01324/10.05, allocations: 3.142 MB / 3.303 GB, free: 20.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002523/10.06, allocations: 0.7655 MB / 3.304 GB, free: 20.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.423e-06/10.06, allocations: 0 / 3.304 GB, free: 20.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009711/10.06, allocations: 461.1 kB / 3.305 GB, free: 20.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/10.06, allocations: 192.1 kB / 3.305 GB, free: 20.37 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7927/10.85, allocations: 156.3 MB / 3.457 GB, free: 61.94 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/10.85, allocations: 0.9863 MB / 3.458 GB, free: 61.22 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000443/10.85, allocations: 267.9 kB / 3.459 GB, free: 61.21 MB / 474.7 MB Notification: Performance of SimCode: time 1.212e-06/10.85, allocations: 0 / 3.459 GB, free: 61.21 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.678/14.53, allocations: 33.6 MB / 3.491 GB, free: 53.38 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat