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.968/1.968, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003676, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08271/0.08311, allocations: 44.5 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.285/6.368, allocations: 2.588 GB / 2.889 GB, free: 76.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/6.368, allocations: 93.36 kB / 2.889 GB, free: 76.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.07/10.44, allocations: 0.963 GB / 3.852 GB, free: 7.098 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.73e-06/10.44, allocations: 0 / 3.852 GB, free: 7.098 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000238/10.44, allocations: 55.92 kB / 3.852 GB, free: 7.043 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.01478/10.45, allocations: 3.576 MB / 3.856 GB, free: 3.402 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/10.45, allocations: 8.031 kB / 3.856 GB, free: 3.395 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/10.47, allocations: 1.219 MB / 3.857 GB, free: 2.172 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005416/10.48, allocations: 1.545 MB / 3.859 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005463/10.48, allocations: 342.5 kB / 3.859 GB, free: 204 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000919/10.48, allocations: 188 kB / 3.859 GB, free: 16 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3791/10.86, allocations: 3.511 MB / 3.863 GB, free: 29.35 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.447e-05/10.86, allocations: 8.188 kB / 3.863 GB, free: 29.35 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004864/10.86, allocations: 87.89 kB / 3.863 GB, free: 29.35 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/10.86, allocations: 110 kB / 3.863 GB, free: 29.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01323/10.87, allocations: 3.516 MB / 3.866 GB, free: 29.33 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.03034/10.9, allocations: 14.45 MB / 3.88 GB, free: 22.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/10.91, allocations: 2.87 MB / 3.883 GB, free: 22.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007202/10.92, allocations: 3.749 MB / 3.887 GB, free: 19.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.509e-05/10.92, allocations: 52.94 kB / 3.887 GB, free: 19.69 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004552/10.92, allocations: 0.5737 MB / 3.887 GB, free: 19.64 MB / 458.7 MB Notification: Performance of pre-optimization done (n=175): time 8.182e-06/10.92, allocations: 0 / 3.887 GB, free: 19.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=205): time 0.05659/10.98, allocations: 12.28 MB / 3.899 GB, free: 18.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/10.98, allocations: 154.9 kB / 3.899 GB, free: 18.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/10.98, allocations: 1.227 MB / 3.901 GB, free: 18.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005059/10.98, allocations: 65.33 kB / 3.901 GB, free: 18.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004874/10.98, allocations: 0.7602 MB / 3.901 GB, free: 17.87 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008222/10.98, allocations: 0.6771 MB / 3.902 GB, free: 17.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/10.98, allocations: 46.75 kB / 3.902 GB, free: 17.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/10.98, allocations: 393.8 kB / 3.903 GB, free: 17.17 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003827/10.99, allocations: 1.275 MB / 3.904 GB, free: 17.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004233/10.99, allocations: 1.733 MB / 3.905 GB, free: 16.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004165/11, allocations: 1.389 MB / 3.907 GB, free: 16.64 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/11, allocations: 6.875 kB / 3.907 GB, free: 16.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01161/11.01, allocations: 3.892 MB / 3.911 GB, free: 16.44 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009805/11.01, allocations: 4.871 MB / 3.915 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.789e-05/11.01, allocations: 16.34 kB / 3.915 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006693/11.02, allocations: 1.566 MB / 3.917 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/11.02, allocations: 475.3 kB / 3.917 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008112/11.03, allocations: 6.6 MB / 3.924 GB, free: 22.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/11.03, allocations: 218.9 kB / 3.924 GB, free: 22.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000478/11.03, allocations: 117.8 kB / 3.924 GB, free: 22.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/11.03, allocations: 5.719 kB / 3.924 GB, free: 22.59 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01028/11.04, allocations: 3.493 MB / 3.928 GB, free: 22.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-05/11.04, allocations: 15.12 kB / 3.928 GB, free: 22.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003298/11.04, allocations: 1 MB / 3.929 GB, free: 22.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/11.05, allocations: 0.4888 MB / 3.929 GB, free: 22.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/11.06, allocations: 10.26 MB / 3.939 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/11.06, allocations: 221 kB / 3.939 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/11.06, allocations: 114.3 kB / 3.939 GB, free: 15.25 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.001803/11.07, allocations: 0.5827 MB / 3.94 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006461/11.07, allocations: 198.5 kB / 3.94 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01789/11.08, allocations: 9.865 MB / 3.95 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/11.08, allocations: 103.9 kB / 3.95 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/11.08, allocations: 2.953 kB / 3.95 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-05/11.09, allocations: 13.23 kB / 3.95 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/11.11, allocations: 13.36 MB / 3.963 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/11.11, allocations: 0 / 3.963 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002616/11.11, allocations: 396.6 kB / 3.963 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008661/11.12, allocations: 4.141 MB / 3.967 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000526/11.12, allocations: 62.14 kB / 3.967 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/11.13, allocations: 8.766 MB / 3.976 GB, free: 8.055 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.591e-06/11.13, allocations: 0 / 3.976 GB, free: 8.055 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03446/11.17, allocations: 10.71 MB / 3.986 GB, free: 6.465 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003643/11.17, allocations: 0.9131 MB / 3.987 GB, free: 5.898 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001301/11.17, allocations: 42.66 kB / 3.987 GB, free: 5.867 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006694/11.18, allocations: 231.5 kB / 3.988 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001318/11.18, allocations: 233.8 kB / 3.988 GB, free: 5.789 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005505/11.18, allocations: 88.91 kB / 3.988 GB, free: 5.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00433/11.19, allocations: 1.246 MB / 3.989 GB, free: 5.293 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.767e-06/11.19, allocations: 0 / 3.989 GB, free: 5.293 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01139/11.2, allocations: 2.38 MB / 3.991 GB, free: 5.016 MB / 474.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.01036/11.21, allocations: 2.597 MB / 3.994 GB, free: 4.645 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01818/11.23, allocations: 6.485 MB / 4 GB, free: 2.316 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/11.23, allocations: 3.844 kB / 4 GB, free: 2.316 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008469/11.24, allocations: 3.137 MB / 4.003 GB, free: 1.055 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006365/11.24, allocations: 1.044 MB / 4.004 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/11.26, allocations: 9.614 MB / 4.014 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/11.26, allocations: 2.205 MB / 4.016 GB, free: 11.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/11.27, allocations: 203 kB / 4.016 GB, free: 11.17 MB / 490.7 MB Notification: Performance of SimCode: time 1.763e-06/11.27, allocations: 0 / 4.016 GB, free: 11.17 MB / 490.7 MB Notification: Performance of Templates: time 0.5605/11.83, allocations: 174.7 MB / 4.187 GB, free: 3.707 MB / 490.7 MB