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.TestFlowRate.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.TestFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.m_flow|volumeFlowRate.V_flow|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadModel(ModelicaTest): time 2.169/2.169, allocations: 234.9 MB / 250.5 MB, free: 9.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004377, allocations: 15.98 kB / 314.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2808, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.05391/0.3347, allocations: 35.69 MB / 404.9 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02289/0.3576, allocations: 13.38 MB / 418.3 MB, free: 9.512 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007924/0.3585, allocations: 19.81 kB / 418.3 MB, free: 9.492 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008862/0.3594, allocations: 250.8 kB / 418.5 MB, free: 9.246 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01308/0.3725, allocations: 3.615 MB / 422.1 MB, free: 5.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006315/0.3788, allocations: 1.718 MB / 423.9 MB, free: 3.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001623/0.3805, allocations: 0.7463 MB / 424.6 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005928/0.3811, allocations: 293.2 kB / 424.9 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.3824, allocations: 498.2 kB / 425.4 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.3829, allocations: 262.9 kB / 425.6 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.527e-05/0.383, allocations: 24 kB / 425.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01735/0.4004, allocations: 7.179 MB / 432.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.4006, allocations: 91.66 kB / 432.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.4009, allocations: 133.4 kB / 433.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007004/0.4079, allocations: 3.103 MB / 436.2 MB, free: 7.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.661e-06/0.408, allocations: 0 / 436.2 MB, free: 7.574 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.431e-06/0.408, allocations: 0 / 436.2 MB, free: 7.574 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.867e-06/0.408, allocations: 0 / 436.2 MB, free: 7.574 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.003558/0.4116, allocations: 1.259 MB / 437.4 MB, free: 6.266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4116, allocations: 12.03 kB / 437.4 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/0.4144, allocations: 283.1 kB / 437.7 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000843/0.4153, allocations: 410.5 kB / 438.1 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/0.4153, allocations: 37 kB / 438.2 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.4154, allocations: 39.94 kB / 438.2 MB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.4177, allocations: 0.6937 MB / 438.9 MB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.4177, allocations: 0 / 438.9 MB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.4178, allocations: 23.95 kB / 438.9 MB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.4179, allocations: 12 kB / 438.9 MB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/0.4201, allocations: 0.6087 MB / 439.5 MB, free: 4.074 MB / 362.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.004604/0.4248, allocations: 2.874 MB / 442.4 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.4266, allocations: 462.4 kB / 442.9 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4568/0.8835, allocations: 82.74 MB / 0.5133 GB, free: 47.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.8836, allocations: 45.28 kB / 0.5133 GB, free: 47.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 2.971e-06/0.8836, allocations: 0 / 0.5133 GB, free: 47.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.003924/0.8875, allocations: 0.9177 MB / 0.5142 GB, free: 46.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.8876, allocations: 110.8 kB / 0.5143 GB, free: 46.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.888, allocations: 356.2 kB / 0.5147 GB, free: 46.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/0.8881, allocations: 29.7 kB / 0.5147 GB, free: 46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.8883, allocations: 310.2 kB / 0.515 GB, free: 45.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.249e-05/0.8884, allocations: 109 kB / 0.5151 GB, free: 45.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.8884, allocations: 8 kB / 0.5151 GB, free: 45.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.8885, allocations: 330.8 kB / 0.5154 GB, free: 45.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.8889, allocations: 128.8 kB / 0.5155 GB, free: 45.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.8894, allocations: 292.4 kB / 0.5158 GB, free: 44.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.8898, allocations: 168 kB / 0.516 GB, free: 44.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.931e-06/0.8899, allocations: 0 / 0.516 GB, free: 44.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001197/0.8911, allocations: 485.6 kB / 0.5164 GB, free: 44.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.8912, allocations: 221.3 kB / 0.5166 GB, free: 43.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.8912, allocations: 8 kB / 0.5167 GB, free: 43.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/0.8938, allocations: 242.2 kB / 0.5169 GB, free: 43.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.8944, allocations: 99.88 kB / 0.517 GB, free: 43.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004838/0.8949, allocations: 0.5953 MB / 0.5176 GB, free: 42.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.8954, allocations: 63.64 kB / 0.5176 GB, free: 42.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/0.8955, allocations: 23.98 kB / 0.5176 GB, free: 42.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.8955, allocations: 4 kB / 0.5176 GB, free: 42.83 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001023/0.8965, allocations: 407.8 kB / 0.518 GB, free: 42.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.864e-06/0.8965, allocations: 4 kB / 0.518 GB, free: 42.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.8966, allocations: 8 kB / 0.5181 GB, free: 42.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.8971, allocations: 115.8 kB / 0.5182 GB, free: 42.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.8971, allocations: 19.88 kB / 0.5182 GB, free: 42.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.8975, allocations: 51.8 kB / 0.5182 GB, free: 42.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.8976, allocations: 23.98 kB / 0.5183 GB, free: 42.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (45): * Single equations (assignments): 44 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.8979, allocations: 245.6 kB / 0.5185 GB, free: 41.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.898, allocations: 39.53 kB / 0.5185 GB, free: 41.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/0.9008, allocations: 2 MB / 0.5205 GB, free: 39.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/0.9008, allocations: 27.95 kB / 0.5205 GB, free: 39.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.109e-06/0.9009, allocations: 1.031 kB / 0.5205 GB, free: 39.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.132e-06/0.9009, allocations: 0 / 0.5205 GB, free: 39.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.9021, allocations: 0.9955 MB / 0.5215 GB, free: 38.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.829e-06/0.9021, allocations: 4 kB / 0.5215 GB, free: 38.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.9025, allocations: 63.89 kB / 0.5215 GB, free: 38.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.904, allocations: 0.5842 MB / 0.5221 GB, free: 38.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.9041, allocations: 15.98 kB / 0.5221 GB, free: 38.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008332/0.9049, allocations: 1.007 MB / 0.5231 GB, free: 37.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.967e-06/0.905, allocations: 0 / 0.5231 GB, free: 37.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.9068, allocations: 1.309 MB / 0.5244 GB, free: 35.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/0.9071, allocations: 243.5 kB / 0.5246 GB, free: 35.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.94e-05/0.9072, allocations: 4 kB / 0.5246 GB, free: 35.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.9076, allocations: 39.89 kB / 0.5247 GB, free: 35.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.9077, allocations: 24.28 kB / 0.5247 GB, free: 35.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.9078, allocations: 19.92 kB / 0.5247 GB, free: 35.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004498/0.9082, allocations: 306.9 kB / 0.525 GB, free: 35.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.39e-07/0.9082, allocations: 0 / 0.525 GB, free: 35.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003109/0.9114, allocations: 1.149 MB / 0.5261 GB, free: 34.11 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,$cse11.phase,$cse11.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 (33): * Single equations (assignments): 26 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005357/0.9168, allocations: 1.213 MB / 0.5273 GB, free: 33.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.9187, allocations: 0.7962 MB / 0.5281 GB, free: 32.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.479e-06/0.9188, allocations: 0 / 0.5281 GB, free: 32.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000777/0.9196, allocations: 496.8 kB / 0.5286 GB, free: 31.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.9208, allocations: 210.4 kB / 0.5288 GB, free: 31.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.9237, allocations: 2.098 MB / 0.5308 GB, free: 29.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.9242, allocations: 0.9955 MB / 0.5318 GB, free: 28.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.9244, allocations: 51.44 kB / 0.5318 GB, free: 28.41 MB / 394.7 MB Notification: Performance of SimCode: time 2.14e-06/0.9244, allocations: 0 / 0.5318 GB, free: 28.41 MB / 394.7 MB Notification: Performance of Templates: time 0.04679/0.9712, allocations: 31.1 MB / 0.5622 GB, free: 13.31 MB / 410.7 MB