Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005145/0.0005146, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09759/0.09814, allocations: 44.5 MB / 309 MB, free: 384 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.177/8.276, allocations: 2.588 GB / 2.89 GB, free: 94.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/8.276, allocations: 91.08 kB / 2.89 GB, free: 94.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.206/13.48, allocations: 0.963 GB / 3.853 GB, free: 31.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.264e-06/13.48, allocations: 0 / 3.853 GB, free: 31.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002632/13.48, allocations: 57.44 kB / 3.853 GB, free: 31.31 MB / 458.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.01703/13.5, allocations: 3.577 MB / 3.856 GB, free: 29.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/13.5, allocations: 7.406 kB / 3.856 GB, free: 29.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02264/13.52, allocations: 1.221 MB / 3.858 GB, free: 29.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/13.53, allocations: 1.54 MB / 3.859 GB, free: 29.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004707/13.53, allocations: 348.1 kB / 3.859 GB, free: 28.97 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/13.53, allocations: 186.8 kB / 3.86 GB, free: 28.97 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/13.54, allocations: 3.523 MB / 3.863 GB, free: 28.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/13.54, allocations: 10.66 kB / 3.863 GB, free: 28.56 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005146/13.54, allocations: 84.11 kB / 3.863 GB, free: 28.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002084/13.54, allocations: 105.1 kB / 3.863 GB, free: 28.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/13.56, allocations: 3.511 MB / 3.867 GB, free: 28.54 MB / 458.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.03748/13.6, allocations: 14.46 MB / 3.881 GB, free: 21.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/13.61, allocations: 2.864 MB / 3.884 GB, free: 21.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/13.62, allocations: 3.752 MB / 3.887 GB, free: 18.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.238e-05/13.62, allocations: 59.09 kB / 3.887 GB, free: 18.71 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005887/13.63, allocations: 0.575 MB / 3.888 GB, free: 18.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=175): time 1.291e-05/13.63, allocations: 2.812 kB / 3.888 GB, free: 18.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=205): time 0.06892/13.69, allocations: 12.29 MB / 3.9 GB, free: 17.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/13.69, allocations: 150.6 kB / 3.9 GB, free: 17.33 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/13.7, allocations: 1.381 MB / 3.901 GB, free: 17.15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007387/13.7, allocations: 65.92 kB / 3.901 GB, free: 17.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008276/13.7, allocations: 0.8078 MB / 3.902 GB, free: 16.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001252/13.7, allocations: 0.6726 MB / 3.903 GB, free: 16.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003217/13.7, allocations: 44.56 kB / 3.903 GB, free: 16.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002012/13.7, allocations: 389.5 kB / 3.903 GB, free: 16.05 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004933/13.71, allocations: 1.276 MB / 3.905 GB, free: 16.04 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005449/13.71, allocations: 1.733 MB / 3.906 GB, free: 15.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00519/13.72, allocations: 1.385 MB / 3.908 GB, free: 15.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-05/13.72, allocations: 7.984 kB / 3.908 GB, free: 15.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01524/13.73, allocations: 3.985 MB / 3.912 GB, free: 15.26 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003359/13.73, allocations: 466.7 kB / 3.912 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/13.73, allocations: 14.45 kB / 3.912 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007992/13.74, allocations: 1.565 MB / 3.914 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/13.74, allocations: 472.1 kB / 3.914 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008332/13.75, allocations: 6.6 MB / 3.92 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004526/13.76, allocations: 227.8 kB / 3.921 GB, free: 9.961 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006215/13.76, allocations: 117.3 kB / 3.921 GB, free: 9.961 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/13.76, allocations: 3.562 kB / 3.921 GB, free: 9.961 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01266/13.77, allocations: 3.496 MB / 3.924 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.5e-05/13.77, allocations: 15 kB / 3.924 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004288/13.78, allocations: 1.049 MB / 3.925 GB, free: 9.758 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004317/13.78, allocations: 0.49 MB / 3.926 GB, free: 9.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/13.79, allocations: 10.17 MB / 3.936 GB, free: 18.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004231/13.8, allocations: 213.7 kB / 3.936 GB, free: 18.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006013/13.8, allocations: 115.4 kB / 3.936 GB, free: 18.61 MB / 474.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.002079/13.8, allocations: 0.5936 MB / 3.937 GB, free: 18.41 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007271/13.8, allocations: 198.7 kB / 3.937 GB, free: 18.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02263/13.82, allocations: 9.858 MB / 3.946 GB, free: 17.35 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001314/13.82, allocations: 114.3 kB / 3.946 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/13.82, allocations: 3.094 kB / 3.946 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.91e-05/13.82, allocations: 10.59 kB / 3.946 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0414/13.87, allocations: 13.36 MB / 3.959 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.044e-05/13.87, allocations: 0 / 3.959 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004747/13.87, allocations: 400.6 kB / 3.96 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01374/13.88, allocations: 4.135 MB / 3.964 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007592/13.89, allocations: 66.41 kB / 3.964 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01701/13.9, allocations: 8.761 MB / 3.973 GB, free: 6.758 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/13.9, allocations: 3.281 kB / 3.973 GB, free: 6.758 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03052/13.93, allocations: 10.71 MB / 3.983 GB, free: 208 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003119/13.94, allocations: 0.9024 MB / 3.984 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/13.94, allocations: 44 kB / 3.984 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004621/13.94, allocations: 239.7 kB / 3.984 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/13.94, allocations: 229.1 kB / 3.984 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005468/13.94, allocations: 84.22 kB / 3.984 GB, free: 15.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003326/13.95, allocations: 1.25 MB / 3.986 GB, free: 13.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/13.95, allocations: 0 / 3.986 GB, free: 13.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01375/13.96, allocations: 2.379 MB / 3.988 GB, free: 11.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.medium.h,openTankCold2.level,openTankCold1.medium.h,openTankCold1.level,openTankHot1.medium.h,openTankHot1.level,openTankHot2.medium.h,openTankHot2.level,openTankCold3.medium.h,openTankCold3.level,openTankHot3.medium.h,openTankHot3.level) * Number of discrete variables: 71 ($cse1.phase,$cse1.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.region3boundary,$cse30.region3boundary,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse46.phase,$cse46.region,$cse48.phase,$cse48.region,$cse49.region3boundary,$cse50.region3boundary,$cse51.phase,$cse51.region,$cse52.phase,$cse52.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.01397/13.98, allocations: 2.601 MB / 3.991 GB, free: 9.664 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02505/14, allocations: 6.475 MB / 3.997 GB, free: 3.988 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/14, allocations: 0.5625 kB / 3.997 GB, free: 3.988 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01121/14.01, allocations: 3.138 MB / 4 GB, free: 1.195 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/14.02, allocations: 1.057 MB / 4.001 GB, free: 436 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5415/14.56, allocations: 9.604 MB / 4.01 GB, free: 54.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00382/14.57, allocations: 2.24 MB / 4.013 GB, free: 53.58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01414/14.58, allocations: 3.453 MB / 4.016 GB, free: 53.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001796/14.58, allocations: 184.2 kB / 4.016 GB, free: 53.55 MB / 490.7 MB Notification: Performance of SimCode: time 3.126e-06/14.58, allocations: 0.625 kB / 4.016 GB, free: 53.55 MB / 490.7 MB Notification: Performance of Templates: time 0.3127/14.9, allocations: 101.1 MB / 4.115 GB, free: 40.96 MB / 490.7 MB