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.Sensors.TestPressure.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.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 235 MB / 248 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.73e-05, allocations: 4 kB / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4067, allocations: 54.84 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.99/8.397, allocations: 2.596 GB / 2.952 GB, free: 109.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/8.397, allocations: 80.52 kB / 2.952 GB, free: 109.3 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.103/10.5, allocations: 409.8 MB / 3.352 GB, free: 58.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.833e-06/10.5, allocations: 3.219 kB / 3.352 GB, free: 58.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.124e-05/10.5, allocations: 16.61 kB / 3.352 GB, free: 58.36 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.006779/10.51, allocations: 1.532 MB / 3.353 GB, free: 57.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/10.51, allocations: 10.84 kB / 3.353 GB, free: 57.71 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/10.51, allocations: 74.34 kB / 3.354 GB, free: 57.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/10.51, allocations: 243.5 kB / 3.354 GB, free: 57.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/10.51, allocations: 443.9 kB / 3.354 GB, free: 57.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/10.51, allocations: 29.88 kB / 3.354 GB, free: 57.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/10.51, allocations: 38.31 kB / 3.354 GB, free: 57.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/10.51, allocations: 0.6833 MB / 3.355 GB, free: 57.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/10.51, allocations: 0 / 3.355 GB, free: 57.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.938e-05/10.51, allocations: 14.75 kB / 3.355 GB, free: 57.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/10.51, allocations: 11.69 kB / 3.355 GB, free: 57.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/10.52, allocations: 0.5351 MB / 3.355 GB, free: 57.24 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.004426/10.52, allocations: 3.136 MB / 3.359 GB, free: 54.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/10.52, allocations: 376.4 kB / 3.359 GB, free: 54.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/10.52, allocations: 120.8 kB / 3.359 GB, free: 54.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2955/10.82, allocations: 81.06 MB / 3.438 GB, free: 27.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/10.82, allocations: 37.62 kB / 3.438 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 2.544e-06/10.82, allocations: 0 / 3.438 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.002822/10.82, allocations: 0.5983 MB / 3.439 GB, free: 27.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/10.82, allocations: 109.8 kB / 3.439 GB, free: 27.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/10.82, allocations: 299.4 kB / 3.439 GB, free: 27.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/10.82, allocations: 29.64 kB / 3.439 GB, free: 27.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/10.82, allocations: 316.9 kB / 3.44 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/10.82, allocations: 101.6 kB / 3.44 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/10.82, allocations: 7.438 kB / 3.44 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001281/10.82, allocations: 331.5 kB / 3.44 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/10.82, allocations: 94.98 kB / 3.44 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/10.82, allocations: 289.1 kB / 3.44 GB, free: 26.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/10.82, allocations: 149 kB / 3.44 GB, free: 26.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/10.82, allocations: 3.953 kB / 3.44 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001104/10.82, allocations: 434.1 kB / 3.441 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009202/10.82, allocations: 2.441 MB / 3.443 GB, free: 23.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/10.82, allocations: 10.36 kB / 3.443 GB, free: 23.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003046/10.83, allocations: 202.7 kB / 3.443 GB, free: 23.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/10.83, allocations: 100.3 kB / 3.444 GB, free: 23.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007584/10.83, allocations: 0.5756 MB / 3.444 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007534/10.83, allocations: 74.22 kB / 3.444 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/10.83, allocations: 25.34 kB / 3.444 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/10.83, allocations: 3.375 kB / 3.444 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008929/10.83, allocations: 368 kB / 3.445 GB, free: 23.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/10.83, allocations: 7.281 kB / 3.445 GB, free: 23.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/10.83, allocations: 10.66 kB / 3.445 GB, free: 23.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/10.83, allocations: 121.5 kB / 3.445 GB, free: 23.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/10.83, allocations: 13.31 kB / 3.445 GB, free: 23.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/10.83, allocations: 56.72 kB / 3.445 GB, free: 23.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/10.83, allocations: 28.75 kB / 3.445 GB, free: 23.36 MB / 0.4948 GB 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 () * 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.0002821/10.83, allocations: 143.8 kB / 3.445 GB, free: 23.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/10.83, allocations: 31.47 kB / 3.445 GB, free: 23.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/10.84, allocations: 1.849 MB / 3.447 GB, free: 22.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/10.84, allocations: 28.73 kB / 3.447 GB, free: 22.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/10.84, allocations: 0 / 3.447 GB, free: 22.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/10.84, allocations: 3.141 kB / 3.447 GB, free: 22.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/10.84, allocations: 0.927 MB / 3.448 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/10.84, allocations: 2.062 kB / 3.448 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/10.84, allocations: 65.27 kB / 3.448 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002099/10.84, allocations: 0.7128 MB / 3.448 GB, free: 22.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/10.84, allocations: 11.7 kB / 3.448 GB, free: 22.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/10.84, allocations: 0.9813 MB / 3.449 GB, free: 22.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/10.84, allocations: 0 / 3.449 GB, free: 22.15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/10.84, allocations: 1.208 MB / 3.451 GB, free: 21.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/10.84, allocations: 238.6 kB / 3.451 GB, free: 21.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/10.84, allocations: 3.938 kB / 3.451 GB, free: 21.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/10.84, allocations: 31.8 kB / 3.451 GB, free: 21.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/10.84, allocations: 30.78 kB / 3.451 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/10.84, allocations: 9.469 kB / 3.451 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005139/10.85, allocations: 304.2 kB / 3.451 GB, free: 21.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/10.85, allocations: 0 / 3.451 GB, free: 21.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00644/10.85, allocations: 1.192 MB / 3.452 GB, free: 21.44 MB / 0.4948 GB 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 () * 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.01372/10.87, allocations: 3.098 MB / 3.455 GB, free: 20.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001784/10.87, allocations: 0.6775 MB / 3.456 GB, free: 20.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/10.87, allocations: 3.094 kB / 3.456 GB, free: 20.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007139/10.87, allocations: 433.1 kB / 3.456 GB, free: 20.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/10.87, allocations: 185 kB / 3.457 GB, free: 20.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8438/11.71, allocations: 153 MB / 3.606 GB, free: 61.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/11.71, allocations: 0.987 MB / 3.607 GB, free: 61.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/11.71, allocations: 263.3 kB / 3.607 GB, free: 61.22 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/11.71, allocations: 0 / 3.607 GB, free: 61.22 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.883/15.6, allocations: 34.28 MB / 3.641 GB, free: 45.71 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat