Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pressure1.p|pressure2.p|relativePressure.p_rel|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadModel(ModelicaTest): time 2.216/2.216, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004435, allocations: 12 kB / 314.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2809, allocations: 54.86 MB / 369.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.04805/0.329, allocations: 31.69 MB / 400.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03025/0.3593, allocations: 18.31 MB / 419.2 MB, free: 8.453 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007148/0.3601, allocations: 15.88 kB / 419.2 MB, free: 8.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.3611, allocations: 234.9 kB / 419.4 MB, free: 8.207 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01328/0.3745, allocations: 3.561 MB / 423 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005997/0.3805, allocations: 1.613 MB / 424.6 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.3821, allocations: 0.7118 MB / 425.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006381/0.3827, allocations: 281.7 kB / 425.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01946/0.4022, allocations: 9.04 MB / 434.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006269/0.4029, allocations: 243 kB / 434.9 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.644e-05/0.403, allocations: 20 kB / 434.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01716/0.4202, allocations: 7.09 MB / 442 MB, free: 1.629 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.4204, allocations: 87.66 kB / 442.1 MB, free: 1.543 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.4207, allocations: 125.5 kB / 442.2 MB, free: 1.414 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007076/0.4278, allocations: 3.037 MB / 445.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4278, allocations: 0 / 445.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.801e-06/0.4279, allocations: 3.938 kB / 445.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4279, allocations: 0 / 445.2 MB, free: 14.37 MB / 378.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.003682/0.4316, allocations: 1.228 MB / 446.5 MB, free: 13.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4316, allocations: 8.031 kB / 446.5 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.434, allocations: 235.2 kB / 446.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008456/0.4348, allocations: 394 kB / 447.1 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/0.4349, allocations: 37 kB / 447.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.92e-05/0.435, allocations: 36 kB / 447.2 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.4373, allocations: 0.6885 MB / 447.8 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.4373, allocations: 4 kB / 447.8 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-05/0.4374, allocations: 16 kB / 447.9 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.4374, allocations: 12 kB / 447.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.4396, allocations: 0.584 MB / 448.5 MB, free: 10.99 MB / 378.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.004958/0.4446, allocations: 3.196 MB / 451.7 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.4465, allocations: 429.9 kB / 452.1 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4447/0.8912, allocations: 81.77 MB / 0.5213 GB, free: 38.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.8913, allocations: 38.06 kB / 0.5214 GB, free: 38.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 3.715e-06/0.8913, allocations: 0 / 0.5214 GB, free: 38.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.003562/0.8949, allocations: 0.8535 MB / 0.5222 GB, free: 38.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.895, allocations: 106.8 kB / 0.5223 GB, free: 37.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.8954, allocations: 342.5 kB / 0.5226 GB, free: 37.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.8955, allocations: 33.7 kB / 0.5227 GB, free: 37.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.8957, allocations: 319.4 kB / 0.523 GB, free: 37.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.436e-05/0.8958, allocations: 96.7 kB / 0.5231 GB, free: 37.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.8958, allocations: 8 kB / 0.5231 GB, free: 37.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.8959, allocations: 326.8 kB / 0.5234 GB, free: 36.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.8963, allocations: 136.8 kB / 0.5235 GB, free: 36.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.8968, allocations: 338.7 kB / 0.5238 GB, free: 36.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/0.8973, allocations: 168.8 kB / 0.524 GB, free: 36.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.141e-06/0.8973, allocations: 4 kB / 0.524 GB, free: 36.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001314/0.8986, allocations: 0.5004 MB / 0.5245 GB, free: 35.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.8988, allocations: 278 kB / 0.5248 GB, free: 35.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.8988, allocations: 8 kB / 0.5248 GB, free: 35.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/0.9014, allocations: 226.9 kB / 0.525 GB, free: 35.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.9019, allocations: 111.8 kB / 0.5251 GB, free: 34.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005042/0.9025, allocations: 0.5952 MB / 0.5257 GB, free: 34.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.903, allocations: 75.47 kB / 0.5257 GB, free: 34.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.9031, allocations: 24 kB / 0.5258 GB, free: 34.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.9031, allocations: 4 kB / 0.5258 GB, free: 34.21 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001094/0.9043, allocations: 442.7 kB / 0.5262 GB, free: 33.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.9043, allocations: 11.56 kB / 0.5262 GB, free: 33.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.9043, allocations: 11.98 kB / 0.5262 GB, free: 33.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.9048, allocations: 119.8 kB / 0.5263 GB, free: 33.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/0.9049, allocations: 15.94 kB / 0.5263 GB, free: 33.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.9053, allocations: 51.88 kB / 0.5264 GB, free: 33.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.9053, allocations: 24 kB / 0.5264 GB, free: 33.56 MB / 394.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.0003003/0.9057, allocations: 257.6 kB / 0.5267 GB, free: 33.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.9058, allocations: 39.53 kB / 0.5267 GB, free: 33.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.9083, allocations: 1.882 MB / 0.5285 GB, free: 31.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/0.9084, allocations: 27.95 kB / 0.5286 GB, free: 31.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.298e-06/0.9084, allocations: 0 / 0.5286 GB, free: 31.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.9084, allocations: 7.938 kB / 0.5286 GB, free: 31.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.9095, allocations: 0.9399 MB / 0.5295 GB, free: 30.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.389e-06/0.9095, allocations: 0 / 0.5295 GB, free: 30.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.9099, allocations: 67.95 kB / 0.5295 GB, free: 30.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/0.9115, allocations: 0.5803 MB / 0.5301 GB, free: 29.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.9115, allocations: 8 kB / 0.5301 GB, free: 29.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008233/0.9123, allocations: 1.011 MB / 0.5311 GB, free: 28.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.609e-06/0.9124, allocations: 0 / 0.5311 GB, free: 28.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.9141, allocations: 1.271 MB / 0.5324 GB, free: 27.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.9145, allocations: 247.5 kB / 0.5326 GB, free: 27.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.9147, allocations: 8.641 kB / 0.5326 GB, free: 27.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/0.9154, allocations: 27.98 kB / 0.5326 GB, free: 27.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.9156, allocations: 31.89 kB / 0.5327 GB, free: 27.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.9156, allocations: 11.98 kB / 0.5327 GB, free: 27.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005845/0.9162, allocations: 298.9 kB / 0.5329 GB, free: 26.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.118e-06/0.9162, allocations: 0 / 0.5329 GB, free: 26.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005377/0.9216, allocations: 1.151 MB / 0.5341 GB, free: 25.66 MB / 394.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,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.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.008727/0.9304, allocations: 1.202 MB / 0.5352 GB, free: 24.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.9324, allocations: 0.8006 MB / 0.536 GB, free: 23.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.41e-06/0.9324, allocations: 0 / 0.536 GB, free: 23.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007561/0.9332, allocations: 481.7 kB / 0.5365 GB, free: 23.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.9343, allocations: 173.5 kB / 0.5367 GB, free: 23.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.937, allocations: 2.061 MB / 0.5387 GB, free: 21.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.9375, allocations: 0.9835 MB / 0.5396 GB, free: 20.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.9376, allocations: 47.42 kB / 0.5397 GB, free: 20.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.719e-06/0.9376, allocations: 3.938 kB / 0.5397 GB, free: 20.05 MB / 394.7 MB Notification: Performance of Templates: time 0.04906/0.9867, allocations: 30.6 MB / 0.5696 GB, free: 5.449 MB / 410.7 MB