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.TestTemperature1.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.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadModel(ModelicaTest): time 1.932/1.932, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004436, allocations: 12 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2799, allocations: 48.7 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1): time 0.08962/0.3695, allocations: 59.9 MB / 391.1 MB, free: 2.516 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04271/0.4123, allocations: 24.02 MB / 415.1 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.4142, allocations: 43.62 kB / 415.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002486/0.4167, allocations: 0.7271 MB / 415.9 MB, free: 9.664 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01732/0.4341, allocations: 4.581 MB / 420.5 MB, free: 5.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01297/0.4471, allocations: 3.701 MB / 424.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004878/0.452, allocations: 2.387 MB / 426.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.4537, allocations: 0.8324 MB / 427.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008993/0.4628, allocations: 3.956 MB / 431.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.4645, allocations: 0.8017 MB / 432.1 MB, free: 9.352 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002843/0.4648, allocations: 68 kB / 432.2 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01742/0.4823, allocations: 6.817 MB / 439 MB, free: 2.461 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007573/0.4831, allocations: 382.8 kB / 439.4 MB, free: 2.086 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006613/0.4838, allocations: 321 kB / 439.7 MB, free: 1.766 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008936/0.4927, allocations: 3.952 MB / 443.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.254e-06/0.4928, allocations: 3.938 kB / 443.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.426e-06/0.4928, allocations: 0 / 443.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.693e-05/0.4928, allocations: 8 kB / 443.7 MB, free: 13.79 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: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.006457/0.4993, allocations: 2.09 MB / 445.8 MB, free: 11.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4993, allocations: 12.02 kB / 445.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007172/0.5065, allocations: 0.7163 MB / 446.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.5088, allocations: 0.8644 MB / 447.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/0.5091, allocations: 229.3 kB / 447.6 MB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000268/0.5094, allocations: 124 kB / 447.7 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007261/0.5167, allocations: 2.283 MB / 450 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-05/0.5168, allocations: 7.938 kB / 450 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.517, allocations: 56 kB / 450 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.906e-05/0.5171, allocations: 61.97 kB / 450.1 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007692/0.5248, allocations: 2.041 MB / 452.1 MB, free: 5 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.01675/0.5416, allocations: 10.58 MB / 462.7 MB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004913/0.5465, allocations: 1.168 MB / 463.9 MB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05182/0.5984, allocations: 19.36 MB / 483.3 MB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/0.5985, allocations: 47.55 kB / 483.3 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007208/0.5992, allocations: 110.8 kB / 483.4 MB, free: 2.953 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 4.852e-06/0.5993, allocations: 0 / 483.4 MB, free: 2.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.2491/0.8484, allocations: 3.837 MB / 487.2 MB, free: 137.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.8485, allocations: 166.7 kB / 487.4 MB, free: 137.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.8499, allocations: 0.8769 MB / 488.3 MB, free: 137 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.85, allocations: 48.58 kB / 488.3 MB, free: 137 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.8505, allocations: 0.7025 MB / 489 MB, free: 136.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.8508, allocations: 342.1 kB / 489.4 MB, free: 136.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.8509, allocations: 31.59 kB / 489.4 MB, free: 136.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.851, allocations: 375 kB / 489.8 MB, free: 135.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.8525, allocations: 485.5 kB / 490.2 MB, free: 135.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.8543, allocations: 1.166 MB / 491.4 MB, free: 134.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.856, allocations: 0.6502 MB / 492.1 MB, free: 134.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/0.856, allocations: 8.312 kB / 492.1 MB, free: 134.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004491/0.8605, allocations: 1.737 MB / 493.8 MB, free: 133.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003624/0.8609, allocations: 0.7552 MB / 494.6 MB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.992e-05/0.861, allocations: 22.16 kB / 494.6 MB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006804/0.8617, allocations: 143.1 kB / 494.7 MB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.8636, allocations: 433.8 kB / 495.1 MB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008078/0.8644, allocations: 1.207 MB / 496.4 MB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.8662, allocations: 157.5 kB / 496.5 MB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.8664, allocations: 96.44 kB / 496.6 MB, free: 131.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.8664, allocations: 4.125 kB / 496.6 MB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004167/0.8706, allocations: 1.649 MB / 498.3 MB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.709e-05/0.8707, allocations: 22.88 kB / 498.3 MB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/0.8713, allocations: 141.2 kB / 498.4 MB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.8732, allocations: 434.9 kB / 498.8 MB, free: 130.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007726/0.874, allocations: 1.199 MB / 0.4883 GB, free: 129.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.8756, allocations: 161.7 kB / 0.4885 GB, free: 129.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/0.876, allocations: 90.02 kB / 0.4886 GB, free: 129.6 MB / 410.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.0009695/0.877, allocations: 460.8 kB / 0.489 GB, free: 129.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/0.8773, allocations: 117.6 kB / 0.4891 GB, free: 129.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007955/0.8853, allocations: 4.836 MB / 0.4938 GB, free: 127 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.373e-05/0.8854, allocations: 65.59 kB / 0.4939 GB, free: 127 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.8854, allocations: 3.953 kB / 0.4939 GB, free: 127 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.8854, allocations: 7.672 kB / 0.4939 GB, free: 127 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009907/0.8953, allocations: 6.796 MB / 0.5005 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.8954, allocations: 11.94 kB / 0.5006 GB, free: 123.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.8968, allocations: 256.5 kB / 0.5008 GB, free: 123.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.8979, allocations: 181.6 kB / 0.501 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.898, allocations: 27.48 kB / 0.501 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007575/0.8988, allocations: 1.241 MB / 0.5022 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.389e-06/0.8988, allocations: 0 / 0.5022 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00673/0.9056, allocations: 4.005 MB / 0.5061 GB, free: 119.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008024/0.9064, allocations: 437.6 kB / 0.5065 GB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.9067, allocations: 20 kB / 0.5066 GB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.9077, allocations: 115.8 kB / 0.5067 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.9079, allocations: 88.81 kB / 0.5068 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.905e-05/0.908, allocations: 35.98 kB / 0.5068 GB, free: 118.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008977/0.9089, allocations: 0.6221 MB / 0.5074 GB, free: 117.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.909, allocations: 0 / 0.5074 GB, free: 117.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004847/0.9138, allocations: 1.502 MB / 0.5089 GB, free: 116.4 MB / 410.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.005006/0.9189, allocations: 1.293 MB / 0.5101 GB, free: 115.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005978/0.9249, allocations: 2.683 MB / 0.5127 GB, free: 112.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.934e-06/0.9249, allocations: 0 / 0.5127 GB, free: 112.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002156/0.9271, allocations: 1.324 MB / 0.514 GB, free: 111.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.93, allocations: 0.5026 MB / 0.5145 GB, free: 110.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/0.9373, allocations: 5.325 MB / 0.5197 GB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009904/0.9384, allocations: 1.555 MB / 0.5212 GB, free: 103.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004811/0.9389, allocations: 127.4 kB / 0.5214 GB, free: 103.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.789e-06/0.9389, allocations: 4 kB / 0.5214 GB, free: 103.8 MB / 410.7 MB Notification: Performance of Templates: time 0.08207/1.021, allocations: 55.16 MB / 0.5752 GB, free: 48.61 MB / 410.7 MB