Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadModel(Modelica): time 1.743/1.743, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 8 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08884/0.08922, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.622/7.712, allocations: 2.478 GB / 2.745 GB, free: 44.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/7.712, allocations: 91.52 kB / 2.745 GB, free: 44.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.392/13.1, allocations: 0.9378 GB / 3.682 GB, free: 27.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.525e-06/13.1, allocations: 0 / 3.682 GB, free: 27.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002621/13.1, allocations: 56.16 kB / 3.682 GB, free: 27.28 MB / 410.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.01752/13.12, allocations: 3.503 MB / 3.686 GB, free: 25.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/13.12, allocations: 10.19 kB / 3.686 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02418/13.15, allocations: 1.119 MB / 3.687 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006344/13.15, allocations: 1.541 MB / 3.689 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005447/13.15, allocations: 345.7 kB / 3.689 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/13.15, allocations: 187.7 kB / 3.689 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/13.17, allocations: 3.517 MB / 3.692 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/13.17, allocations: 9.688 kB / 3.692 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007997/13.17, allocations: 86.64 kB / 3.693 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002206/13.17, allocations: 105 kB / 3.693 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/13.19, allocations: 3.512 MB / 3.696 GB, free: 24.55 MB / 410.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.03689/13.22, allocations: 14.45 MB / 3.71 GB, free: 17.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/13.24, allocations: 2.87 MB / 3.713 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009801/13.25, allocations: 3.722 MB / 3.717 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/13.25, allocations: 58.25 kB / 3.717 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006188/13.25, allocations: 0.5742 MB / 3.717 GB, free: 14.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 1.665e-05/13.25, allocations: 0 / 3.717 GB, free: 14.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.07886/13.33, allocations: 12.3 MB / 3.729 GB, free: 13.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/13.33, allocations: 153.3 kB / 3.729 GB, free: 13.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002912/13.33, allocations: 1.392 MB / 3.731 GB, free: 13.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007496/13.34, allocations: 64.52 kB / 3.731 GB, free: 13.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008169/13.34, allocations: 0.7982 MB / 3.732 GB, free: 12.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001348/13.34, allocations: 0.6744 MB / 3.732 GB, free: 12.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/13.34, allocations: 46.38 kB / 3.732 GB, free: 12.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002122/13.34, allocations: 386.7 kB / 3.733 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004697/13.34, allocations: 1.279 MB / 3.734 GB, free: 12.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005288/13.35, allocations: 1.739 MB / 3.736 GB, free: 11.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00526/13.35, allocations: 1.379 MB / 3.737 GB, free: 11.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-05/13.35, allocations: 5.219 kB / 3.737 GB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01527/13.37, allocations: 3.988 MB / 3.741 GB, free: 11.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000286/13.37, allocations: 467.9 kB / 3.741 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/13.37, allocations: 15.27 kB / 3.741 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007914/13.38, allocations: 1.556 MB / 3.743 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003982/13.38, allocations: 470 kB / 3.743 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/13.39, allocations: 6.608 MB / 3.75 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006069/13.4, allocations: 222.2 kB / 3.75 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/13.4, allocations: 117.9 kB / 3.75 GB, free: 5.957 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/13.4, allocations: 6.375 kB / 3.75 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01346/13.41, allocations: 3.495 MB / 3.754 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-05/13.41, allocations: 17.16 kB / 3.754 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004263/13.42, allocations: 1.041 MB / 3.755 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004211/13.42, allocations: 0.492 MB / 3.755 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/13.44, allocations: 10.19 MB / 3.765 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004159/13.44, allocations: 216.5 kB / 3.765 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004483/13.44, allocations: 117.4 kB / 3.765 GB, free: 14.6 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.001904/13.44, allocations: 0.5809 MB / 3.766 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007052/13.44, allocations: 202.9 kB / 3.766 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02135/13.47, allocations: 9.853 MB / 3.776 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001165/13.47, allocations: 107.7 kB / 3.776 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/13.47, allocations: 1.312 kB / 3.776 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-05/13.47, allocations: 11.39 kB / 3.776 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02944/13.5, allocations: 13.38 MB / 3.789 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.206e-05/13.5, allocations: 0 / 3.789 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003734/13.5, allocations: 395 kB / 3.789 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0106/13.51, allocations: 4.14 MB / 3.793 GB, free: 9.832 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006679/13.51, allocations: 60.83 kB / 3.793 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/13.52, allocations: 8.769 MB / 3.802 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/13.52, allocations: 0 / 3.802 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03888/13.56, allocations: 10.74 MB / 3.812 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004005/13.57, allocations: 0.9153 MB / 3.813 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/13.57, allocations: 40 kB / 3.813 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005545/13.57, allocations: 241.5 kB / 3.814 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/13.58, allocations: 230 kB / 3.814 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004919/13.58, allocations: 93.16 kB / 3.814 GB, free: 10 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004013/13.58, allocations: 1.242 MB / 3.815 GB, free: 8.949 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.41e-07/13.58, allocations: 6.719 kB / 3.815 GB, free: 8.945 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0161/13.6, allocations: 2.359 MB / 3.817 GB, free: 6.629 MB / 442.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.01302/13.61, allocations: 2.567 MB / 3.82 GB, free: 4.715 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3653/13.97, allocations: 6.51 MB / 3.826 GB, free: 53.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/13.97, allocations: 2.312 kB / 3.826 GB, free: 53.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01069/13.99, allocations: 3.144 MB / 3.829 GB, free: 53.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009078/13.99, allocations: 1.035 MB / 3.83 GB, free: 53.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/14.02, allocations: 9.506 MB / 3.84 GB, free: 50.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00374/14.02, allocations: 2.243 MB / 3.842 GB, free: 49.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009068/14.03, allocations: 3.45 MB / 3.845 GB, free: 49.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/14.03, allocations: 190.3 kB / 3.845 GB, free: 49.38 MB / 442.7 MB Notification: Performance of SimCode: time 1.713e-06/14.03, allocations: 4.344 kB / 3.845 GB, free: 49.38 MB / 442.7 MB Notification: Performance of Templates: time 0.2239/14.25, allocations: 100.7 MB / 3.944 GB, free: 30.02 MB / 442.7 MB