Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.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) Running command: translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadModel(Modelica): time 1.858/1.858, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003726, allocations: 16 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07909/0.07949, allocations: 44.51 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.3364/0.4159, allocations: 78.76 MB / 387.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04236/0.4583, allocations: 29.45 MB / 416.6 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003458/0.4618, allocations: 70.06 kB / 416.6 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003742/0.4656, allocations: 1.151 MB / 417.8 MB, free: 7.418 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.4773, allocations: 3.567 MB / 421.4 MB, free: 5.547 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02488/0.5022, allocations: 7.203 MB / 428.6 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007417/0.5096, allocations: 3.831 MB / 432.4 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003127/0.5128, allocations: 1.654 MB / 434 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01637/0.5292, allocations: 7.507 MB / 441.5 MB, free: 6.488 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003462/0.5327, allocations: 1.471 MB / 443 MB, free: 5.012 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006739/0.5334, allocations: 140 kB / 443.2 MB, free: 4.875 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02418/0.5576, allocations: 8.725 MB / 451.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.5592, allocations: 0.6817 MB / 452.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.5603, allocations: 468.6 kB / 453 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.5742, allocations: 5.87 MB / 458.9 MB, free: 5.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.191e-06/0.5743, allocations: 0 / 458.9 MB, free: 5.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.682e-06/0.5743, allocations: 0 / 458.9 MB, free: 5.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.795e-05/0.5744, allocations: 4 kB / 458.9 MB, free: 5.105 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.009498/0.5839, allocations: 2.975 MB / 461.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5839, allocations: 12.03 kB / 461.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.5978, allocations: 1.254 MB / 463.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/0.6015, allocations: 1.312 MB / 464.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004706/0.602, allocations: 357.7 kB / 464.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005236/0.6026, allocations: 183.9 kB / 465 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/0.6144, allocations: 3.493 MB / 468.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.893e-05/0.6145, allocations: 0 / 468.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003882/0.6149, allocations: 91.75 kB / 468.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/0.6151, allocations: 107.3 kB / 468.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.6281, allocations: 3.514 MB / 472.2 MB, free: 7.547 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.03176/0.6599, allocations: 14.5 MB / 486.7 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.6703, allocations: 2.917 MB / 489.6 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04719/0.7175, allocations: 19.9 MB / 0.4976 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.011e-05/0.7176, allocations: 56.56 kB / 0.4976 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003033/0.7206, allocations: 453.8 kB / 0.498 GB, free: 14.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 7.326e-06/0.7207, allocations: 0 / 0.498 GB, free: 14.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.05257/0.7733, allocations: 12.47 MB / 0.5102 GB, free: 1.867 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.7734, allocations: 154.5 kB / 0.5104 GB, free: 1.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.7761, allocations: 1.389 MB / 0.5117 GB, free: 292 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004505/0.7766, allocations: 65.7 kB / 0.5118 GB, free: 220 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007638/0.7773, allocations: 0.7559 MB / 0.5125 GB, free: 15.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001063/0.7784, allocations: 0.6777 MB / 0.5132 GB, free: 14.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.7787, allocations: 48 kB / 0.5132 GB, free: 14.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002769/0.7789, allocations: 395.1 kB / 0.5136 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003926/0.7829, allocations: 1.308 MB / 0.5149 GB, free: 13.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004642/0.7876, allocations: 1.781 MB / 0.5166 GB, free: 11.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004327/0.7919, allocations: 1.419 MB / 0.518 GB, free: 9.613 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/0.792, allocations: 4 kB / 0.518 GB, free: 9.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.0123/0.8043, allocations: 3.991 MB / 0.5219 GB, free: 5.582 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004514/0.8048, allocations: 464.2 kB / 0.5224 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/0.8048, allocations: 12 kB / 0.5224 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00682/0.8117, allocations: 1.604 MB / 0.5239 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.8146, allocations: 483.3 kB / 0.5244 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2231/1.038, allocations: 6.681 MB / 0.5309 GB, free: 158.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/1.041, allocations: 226.1 kB / 0.5311 GB, free: 158.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005182/1.042, allocations: 121.4 kB / 0.5312 GB, free: 158.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.042, allocations: 5.688 kB / 0.5313 GB, free: 158.6 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01071/1.053, allocations: 3.559 MB / 0.5347 GB, free: 157.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.969e-05/1.053, allocations: 13.5 kB / 0.5347 GB, free: 157.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003604/1.056, allocations: 1.002 MB / 0.5357 GB, free: 157.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/1.059, allocations: 0.5058 MB / 0.5362 GB, free: 157.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/1.071, allocations: 10.3 MB / 0.5463 GB, free: 149.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/1.074, allocations: 216.2 kB / 0.5465 GB, free: 149.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004335/1.075, allocations: 115.7 kB / 0.5466 GB, free: 149.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 21 (openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 210 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 5,1 5,4 6,1 5,1 5,4 6,1 5,1 5,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.001671/1.076, allocations: 0.5874 MB / 0.5472 GB, free: 148.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006182/1.077, allocations: 194.7 kB / 0.5473 GB, free: 148.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01857/1.095, allocations: 9.979 MB / 0.5571 GB, free: 144.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001009/1.096, allocations: 101.2 kB / 0.5572 GB, free: 144.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.422e-06/1.096, allocations: 3.938 kB / 0.5572 GB, free: 144.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.273e-05/1.096, allocations: 11.06 kB / 0.5572 GB, free: 144.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02434/1.12, allocations: 13.33 MB / 0.5702 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.801e-05/1.12, allocations: 0 / 0.5702 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00234/1.122, allocations: 411 kB / 0.5706 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00777/1.13, allocations: 4.099 MB / 0.5746 GB, free: 130 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004375/1.131, allocations: 59.97 kB / 0.5747 GB, free: 130 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009291/1.14, allocations: 8.77 MB / 0.5832 GB, free: 121 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.941e-06/1.14, allocations: 0 / 0.5832 GB, free: 121 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/1.159, allocations: 10.78 MB / 0.5938 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.161, allocations: 0.901 MB / 0.5946 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005577/1.162, allocations: 44 kB / 0.5947 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002881/1.165, allocations: 253.8 kB / 0.5949 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006481/1.166, allocations: 221.6 kB / 0.5951 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002787/1.166, allocations: 87.95 kB / 0.5952 GB, free: 108.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002028/1.168, allocations: 1.25 MB / 0.5964 GB, free: 107.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.073e-06/1.168, allocations: 0 / 0.5964 GB, free: 107.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007955/1.176, allocations: 2.261 MB / 0.5987 GB, free: 105.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.level,openTankCold2.medium.h,openTankCold1.level,openTankCold1.medium.h,openTankHot1.level,openTankHot1.medium.h,openTankHot2.level,openTankHot2.medium.h,openTankCold3.level,openTankCold3.medium.h,openTankHot3.level,openTankHot3.medium.h) * Number of discrete variables: 71 ($cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse31.region3boundary,$cse32.region3boundary,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.region3boundary,$cse52.region3boundary,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 145 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,6 9,2 4,2 4,6 9,2 4,2 4,6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00663/1.183, allocations: 1.748 MB / 0.6004 GB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01674/1.199, allocations: 6.579 MB / 0.6068 GB, free: 97.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.335e-06/1.199, allocations: 0.5625 kB / 0.6068 GB, free: 97.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007758/1.207, allocations: 3.156 MB / 0.6099 GB, free: 94.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005877/1.213, allocations: 1.045 MB / 0.6109 GB, free: 93.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/1.228, allocations: 9.587 MB / 0.6202 GB, free: 83.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/1.229, allocations: 2.209 MB / 0.6224 GB, free: 81.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.23, allocations: 199.4 kB / 0.6226 GB, free: 80.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.778e-06/1.23, allocations: 3.938 kB / 0.6226 GB, free: 80.94 MB / 426.7 MB Notification: Performance of Templates: time 0.424/1.654, allocations: 172.1 MB / 0.7906 GB, free: 75.53 MB / 426.7 MB