Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadModel(ModelicaTest): time 1.903/1.903, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004385, allocations: 15.98 kB / 282.5 MB, free: 9.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2821, allocations: 48.7 MB / 331.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.04351/0.3256, allocations: 31.43 MB / 362.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02954/0.3552, allocations: 18.16 MB / 380.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007528/0.356, allocations: 11.88 kB / 380.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008938/0.3569, allocations: 238.9 kB / 381 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.37, allocations: 3.537 MB / 384.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005752/0.3758, allocations: 1.585 MB / 386.2 MB, free: 7.445 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.3772, allocations: 0.7001 MB / 386.9 MB, free: 6.738 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005414/0.3778, allocations: 277.7 kB / 387.1 MB, free: 6.469 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01819/0.396, allocations: 8.927 MB / 396.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006177/0.3967, allocations: 246.9 kB / 396.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.3968, allocations: 20 kB / 396.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0169/0.4137, allocations: 6.988 MB / 403.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.4139, allocations: 91.64 kB / 403.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.4142, allocations: 125.5 kB / 403.5 MB, free: 6.059 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00685/0.4211, allocations: 2.99 MB / 406.5 MB, free: 3.062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.569e-06/0.4211, allocations: 0 / 406.5 MB, free: 3.062 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.588e-06/0.4211, allocations: 0 / 406.5 MB, free: 3.062 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.575e-06/0.4211, allocations: 0 / 406.5 MB, free: 3.062 MB / 330.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.003465/0.4246, allocations: 1.216 MB / 407.7 MB, free: 1.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4247, allocations: 8.031 kB / 407.7 MB, free: 1.789 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.4269, allocations: 231.1 kB / 408 MB, free: 1.562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007782/0.4277, allocations: 394 kB / 408.3 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/0.4278, allocations: 29 kB / 408.4 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.741e-05/0.4279, allocations: 40 kB / 408.4 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.4301, allocations: 0.6847 MB / 409.1 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.4301, allocations: 0 / 409.1 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.4302, allocations: 20 kB / 409.1 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.4302, allocations: 8 kB / 409.1 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.4324, allocations: 0.5917 MB / 409.7 MB, free: 15.71 MB / 346.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.00472/0.4371, allocations: 3.204 MB / 412.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.4389, allocations: 430.3 kB / 413.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.432/0.8709, allocations: 81.66 MB / 495 MB, free: 134.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.871, allocations: 36.42 kB / 495 MB, free: 134.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 4.764e-06/0.871, allocations: 0 / 495 MB, free: 134.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.00361/0.8746, allocations: 0.8422 MB / 495.9 MB, free: 133.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.8747, allocations: 109.8 kB / 496 MB, free: 133.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.8752, allocations: 352.6 kB / 496.3 MB, free: 133.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.8753, allocations: 31.86 kB / 496.4 MB, free: 133.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.8754, allocations: 319.5 kB / 496.7 MB, free: 133.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.951e-05/0.8755, allocations: 92 kB / 496.8 MB, free: 133.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.8755, allocations: 10.03 kB / 496.8 MB, free: 133.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.8756, allocations: 333.2 kB / 497.1 MB, free: 132.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.8761, allocations: 138.9 kB / 497.2 MB, free: 132.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.8766, allocations: 328.2 kB / 497.5 MB, free: 132.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.8771, allocations: 175 kB / 497.7 MB, free: 132.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.8771, allocations: 2.25 kB / 497.7 MB, free: 132.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001352/0.8785, allocations: 0.5047 MB / 498.2 MB, free: 132.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.8786, allocations: 275.5 kB / 498.5 MB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.8786, allocations: 5.531 kB / 498.5 MB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002682/0.8813, allocations: 237.1 kB / 498.7 MB, free: 131.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.8819, allocations: 111.8 kB / 498.8 MB, free: 131.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000498/0.8824, allocations: 0.5944 MB / 499.4 MB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.8829, allocations: 66.64 kB / 499.5 MB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.883, allocations: 28.05 kB / 499.5 MB, free: 131.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.883, allocations: 6.812 kB / 499.5 MB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001124/0.8842, allocations: 448 kB / 500 MB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.8842, allocations: 5.781 kB / 500 MB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.8842, allocations: 9.812 kB / 500 MB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.8848, allocations: 115.8 kB / 0.4884 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.8848, allocations: 17.67 kB / 0.4884 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.8852, allocations: 59.42 kB / 0.4884 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.8852, allocations: 30.69 kB / 0.4885 GB, free: 130.8 MB / 410.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.000269/0.8855, allocations: 254.8 kB / 0.4887 GB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.8856, allocations: 36.31 kB / 0.4888 GB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00276/0.8884, allocations: 1.887 MB / 0.4906 GB, free: 129.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-05/0.8885, allocations: 32.44 kB / 0.4906 GB, free: 129.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.8885, allocations: 0 / 0.4906 GB, free: 129.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.686e-06/0.8885, allocations: 0 / 0.4906 GB, free: 129.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.8896, allocations: 0.9445 MB / 0.4916 GB, free: 128.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.896e-06/0.8896, allocations: 0 / 0.4916 GB, free: 128.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.89, allocations: 66.98 kB / 0.4916 GB, free: 128.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.8916, allocations: 0.5825 MB / 0.4922 GB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.8917, allocations: 15.92 kB / 0.4922 GB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00082/0.8925, allocations: 1.009 MB / 0.4932 GB, free: 127.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.069e-06/0.8925, allocations: 192 / 0.4932 GB, free: 127.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.8944, allocations: 1.273 MB / 0.4944 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.8947, allocations: 247.5 kB / 0.4947 GB, free: 126.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.862e-05/0.8948, allocations: 10.84 kB / 0.4947 GB, free: 126.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.8952, allocations: 26.45 kB / 0.4947 GB, free: 126.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.8953, allocations: 30.36 kB / 0.4947 GB, free: 126.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.8954, allocations: 7.844 kB / 0.4947 GB, free: 126.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00038/0.8958, allocations: 303.3 kB / 0.495 GB, free: 126.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.481e-06/0.8958, allocations: 0 / 0.495 GB, free: 126.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003005/0.8988, allocations: 1.134 MB / 0.4961 GB, free: 126.1 MB / 410.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.004857/0.9037, allocations: 1.194 MB / 0.4973 GB, free: 125.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.9056, allocations: 0.8072 MB / 0.4981 GB, free: 124.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.645e-06/0.9057, allocations: 0 / 0.4981 GB, free: 124.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.9064, allocations: 477.5 kB / 0.4985 GB, free: 123.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.9075, allocations: 172.8 kB / 0.4987 GB, free: 123.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.9102, allocations: 2.061 MB / 0.5007 GB, free: 121.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.9107, allocations: 0.99 MB / 0.5017 GB, free: 120.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.9108, allocations: 47.42 kB / 0.5017 GB, free: 120.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.522e-06/0.9108, allocations: 0 / 0.5017 GB, free: 120.6 MB / 410.7 MB Notification: Performance of Templates: time 0.04479/0.9556, allocations: 30.43 MB / 0.5315 GB, free: 90.14 MB / 410.7 MB