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.TestTemperature1.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.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadModel(ModelicaTest): time 2.268/2.268, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000712/0.0007127, allocations: 16 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3284, allocations: 54.86 MB / 369.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1): time 0.09271/0.4212, allocations: 60.39 MB / 429.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04111/0.4623, allocations: 24.31 MB / 453.9 MB, free: 5.832 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.4641, allocations: 43.62 kB / 453.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.4665, allocations: 0.7271 MB / 454.7 MB, free: 5.059 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01641/0.4829, allocations: 4.636 MB / 459.3 MB, free: 420 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01314/0.4961, allocations: 3.779 MB / 463.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004735/0.5008, allocations: 2.426 MB / 465.5 MB, free: 10.19 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.5025, allocations: 0.8285 MB / 466.3 MB, free: 9.34 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008763/0.5113, allocations: 4.003 MB / 470.3 MB, free: 5.332 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.513, allocations: 0.8056 MB / 471.1 MB, free: 4.523 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.5133, allocations: 72 kB / 471.2 MB, free: 4.453 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2933/0.8067, allocations: 6.906 MB / 478.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007106/0.8074, allocations: 386.4 kB / 478.5 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000615/0.8081, allocations: 319 kB / 478.8 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008032/0.8161, allocations: 4.008 MB / 482.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.8162, allocations: 0.9062 kB / 482.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.388e-06/0.8162, allocations: 0 / 482.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.8162, allocations: 0.5 kB / 482.8 MB, free: 14.75 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.006337/0.8226, allocations: 2.13 MB / 484.9 MB, free: 13.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.8226, allocations: 9.281 kB / 484.9 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007114/0.8297, allocations: 0.7579 MB / 485.7 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001936/0.8317, allocations: 0.862 MB / 486.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.832, allocations: 227.5 kB / 486.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/0.8323, allocations: 128.8 kB / 486.9 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006841/0.8391, allocations: 2.278 MB / 489.2 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/0.8392, allocations: 5.562 kB / 489.2 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002112/0.8394, allocations: 65.38 kB / 489.3 MB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.347e-05/0.8395, allocations: 60.3 kB / 489.3 MB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007137/0.8467, allocations: 2.043 MB / 491.4 MB, free: 12.68 MB / 394.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.01302/0.8597, allocations: 10.58 MB / 0.4902 GB, free: 21.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004908/0.8647, allocations: 1.154 MB / 0.4913 GB, free: 21.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04917/0.9139, allocations: 19.44 MB / 0.5103 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.914, allocations: 43.78 kB / 0.5103 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007269/0.9147, allocations: 113.6 kB / 0.5104 GB, free: 10.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 4.541e-06/0.9148, allocations: 2.844 kB / 0.5104 GB, free: 10.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.01622/0.931, allocations: 3.841 MB / 0.5142 GB, free: 8.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.9312, allocations: 170.4 kB / 0.5144 GB, free: 8.727 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.9324, allocations: 0.8792 MB / 0.5152 GB, free: 8.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.9326, allocations: 46.14 kB / 0.5153 GB, free: 8.379 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.933, allocations: 0.7051 MB / 0.516 GB, free: 7.883 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.9333, allocations: 337.7 kB / 0.5163 GB, free: 7.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/0.9334, allocations: 31.69 kB / 0.5163 GB, free: 7.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.9336, allocations: 377.3 kB / 0.5167 GB, free: 7.316 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.935, allocations: 484.9 kB / 0.5171 GB, free: 7.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.9365, allocations: 1.17 MB / 0.5183 GB, free: 5.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.9381, allocations: 0.6617 MB / 0.5189 GB, free: 5.348 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.9381, allocations: 4 kB / 0.5189 GB, free: 5.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00408/0.9422, allocations: 1.737 MB / 0.5206 GB, free: 4.156 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004572/0.9427, allocations: 0.7546 MB / 0.5214 GB, free: 3.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.64e-05/0.9427, allocations: 20 kB / 0.5214 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007125/0.9435, allocations: 143.3 kB / 0.5215 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/0.9454, allocations: 436.5 kB / 0.5219 GB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.9466, allocations: 1.208 MB / 0.5231 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.9484, allocations: 151 kB / 0.5233 GB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.9486, allocations: 96.17 kB / 0.5233 GB, free: 1.277 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.9486, allocations: 6.906 kB / 0.5233 GB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004288/0.9529, allocations: 1.643 MB / 0.525 GB, free: 208 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.487e-05/0.953, allocations: 27.98 kB / 0.525 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006954/0.9537, allocations: 136.1 kB / 0.5251 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.9557, allocations: 429 kB / 0.5255 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.9569, allocations: 1.214 MB / 0.5267 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.9586, allocations: 157.1 kB / 0.5269 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.9588, allocations: 87.98 kB / 0.5269 GB, free: 14.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 18 (sink2.medium.phase,sink1.medium.phase,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[2],volume1.inFlow[1],orifice2.state_b.phase,orifice2.state_a.phase,orifice1.state_b.phase,orifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009852/0.9598, allocations: 461.8 kB / 0.5274 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.9601, allocations: 118.6 kB / 0.5275 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008186/0.9683, allocations: 4.834 MB / 0.5322 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.011e-05/0.9684, allocations: 72.09 kB / 0.5323 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.9685, allocations: 4 kB / 0.5323 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.378e-05/0.9685, allocations: 7.984 kB / 0.5323 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/0.9796, allocations: 6.794 MB / 0.5389 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.9797, allocations: 0 / 0.5389 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/0.981, allocations: 257.3 kB / 0.5392 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009676/0.982, allocations: 184.6 kB / 0.5393 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.9821, allocations: 32.23 kB / 0.5394 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.9833, allocations: 1.231 MB / 0.5406 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.899e-06/0.9833, allocations: 0 / 0.5406 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00737/0.9907, allocations: 4.012 MB / 0.5445 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.9919, allocations: 438.9 kB / 0.5449 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.9921, allocations: 21.75 kB / 0.5449 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.9933, allocations: 112.4 kB / 0.545 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.9935, allocations: 92.73 kB / 0.5451 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.9936, allocations: 38.48 kB / 0.5452 GB, free: 1.305 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001163/0.9948, allocations: 0.6179 MB / 0.5458 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.9948, allocations: 0 / 0.5458 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006578/1.001, allocations: 1.51 MB / 0.5472 GB, free: 15.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume1.medium.p,volume1.medium.h,volume2.medium.p,volume2.medium.h) * Number of discrete variables: 40 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,volume1.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007269/1.009, allocations: 1.283 MB / 0.5485 GB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0071/1.016, allocations: 2.688 MB / 0.5511 GB, free: 12.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.016, allocations: 4 kB / 0.5511 GB, free: 12.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00268/1.019, allocations: 1.313 MB / 0.5524 GB, free: 11.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/1.022, allocations: 0.5071 MB / 0.5529 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/1.032, allocations: 5.331 MB / 0.5581 GB, free: 6.715 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/1.034, allocations: 1.555 MB / 0.5596 GB, free: 5.148 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/1.034, allocations: 130.3 kB / 0.5598 GB, free: 5.031 MB / 442.7 MB Notification: Performance of SimCode: time 1.895e-06/1.034, allocations: 0 / 0.5598 GB, free: 5.031 MB / 442.7 MB Notification: Performance of Templates: time 0.0996/1.134, allocations: 55.31 MB / 0.6138 GB, free: 14.27 MB / 0.4948 GB