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: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.632/1.632, allocations: 171.1 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004898, allocations: 8 kB / 233.3 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08553/0.08606, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.089/7.175, allocations: 2.478 GB / 2.744 GB, free: 38.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/7.175, allocations: 86.64 kB / 2.744 GB, free: 38.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.015/12.19, allocations: 0.9377 GB / 3.682 GB, free: 26.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.856e-06/12.19, allocations: 0 / 3.682 GB, free: 26.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002573/12.19, allocations: 62.27 kB / 3.682 GB, free: 26.95 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.01768/12.21, allocations: 3.5 MB / 3.685 GB, free: 25.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/12.21, allocations: 11.41 kB / 3.685 GB, free: 25.33 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001733/12.21, allocations: 277.5 kB / 3.686 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02202/12.23, allocations: 1.121 MB / 3.687 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00594/12.24, allocations: 1.534 MB / 3.688 GB, free: 24.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005452/12.24, allocations: 351.2 kB / 3.689 GB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/12.24, allocations: 188.3 kB / 3.689 GB, free: 24.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/12.26, allocations: 3.519 MB / 3.692 GB, free: 24.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-05/12.26, allocations: 8.859 kB / 3.692 GB, free: 24.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006347/12.26, allocations: 85.17 kB / 3.692 GB, free: 24.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/12.26, allocations: 105.5 kB / 3.692 GB, free: 24.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01599/12.27, allocations: 3.516 MB / 3.696 GB, free: 24.16 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.0382/12.31, allocations: 14.44 MB / 3.71 GB, free: 17.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/12.32, allocations: 2.875 MB / 3.713 GB, free: 16.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009686/12.33, allocations: 3.715 MB / 3.716 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.679e-05/12.33, allocations: 63.16 kB / 3.716 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005877/12.34, allocations: 0.5757 MB / 3.717 GB, free: 14.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 1.462e-05/12.34, allocations: 2.375 kB / 3.717 GB, free: 14.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.07187/12.41, allocations: 12.28 MB / 3.729 GB, free: 13.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/12.41, allocations: 154.4 kB / 3.729 GB, free: 12.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/12.41, allocations: 1.225 MB / 3.73 GB, free: 12.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007723/12.41, allocations: 64.14 kB / 3.73 GB, free: 12.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009359/12.42, allocations: 0.7989 MB / 3.731 GB, free: 12.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001376/12.42, allocations: 0.6748 MB / 3.732 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000493/12.42, allocations: 45.56 kB / 3.732 GB, free: 11.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002495/12.42, allocations: 391.6 kB / 3.732 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005191/12.42, allocations: 1.274 MB / 3.734 GB, free: 11.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0057/12.43, allocations: 1.736 MB / 3.735 GB, free: 11.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005595/12.43, allocations: 1.382 MB / 3.737 GB, free: 11.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.704e-05/12.43, allocations: 10.31 kB / 3.737 GB, free: 11.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01697/12.45, allocations: 3.987 MB / 3.74 GB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001101/12.45, allocations: 4.972 MB / 3.745 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.118e-05/12.45, allocations: 15.12 kB / 3.745 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008565/12.46, allocations: 1.555 MB / 3.747 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004128/12.47, allocations: 473.9 kB / 3.747 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/12.48, allocations: 6.613 MB / 3.754 GB, free: 17.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004681/12.48, allocations: 219.1 kB / 3.754 GB, free: 17.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008735/12.48, allocations: 119.5 kB / 3.754 GB, free: 17.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/12.48, allocations: 5.469 kB / 3.754 GB, free: 17.02 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01402/12.5, allocations: 3.49 MB / 3.757 GB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.467e-05/12.5, allocations: 17.25 kB / 3.758 GB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004376/12.5, allocations: 1.044 MB / 3.759 GB, free: 16.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004384/12.5, allocations: 0.489 MB / 3.759 GB, free: 16.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/12.52, allocations: 10.19 MB / 3.769 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004222/12.52, allocations: 222 kB / 3.769 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006427/12.52, allocations: 111.9 kB / 3.769 GB, free: 9.66 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.002087/12.53, allocations: 0.5895 MB / 3.77 GB, free: 9.465 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007376/12.53, allocations: 201.9 kB / 3.77 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02247/12.55, allocations: 9.859 MB / 3.78 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001423/12.55, allocations: 102.9 kB / 3.78 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/12.55, allocations: 0 / 3.78 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.686e-05/12.55, allocations: 11.53 kB / 3.78 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03126/12.58, allocations: 13.38 MB / 3.793 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/12.58, allocations: 0 / 3.793 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003604/12.59, allocations: 394.6 kB / 3.793 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01047/12.6, allocations: 4.14 MB / 3.797 GB, free: 3.305 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006533/12.6, allocations: 59.86 kB / 3.797 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/12.61, allocations: 8.766 MB / 3.806 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/12.61, allocations: 0 / 3.806 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0271/12.64, allocations: 10.71 MB / 3.816 GB, free: 3.738 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002876/12.64, allocations: 0.9111 MB / 3.817 GB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007776/12.64, allocations: 48.12 kB / 3.817 GB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00414/12.64, allocations: 229.6 kB / 3.817 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000879/12.64, allocations: 231.6 kB / 3.818 GB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003739/12.64, allocations: 90.3 kB / 3.818 GB, free: 2.527 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002916/12.65, allocations: 1.249 MB / 3.819 GB, free: 1.469 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.31e-07/12.65, allocations: 0 / 3.819 GB, free: 1.469 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.3651/13.01, allocations: 2.409 MB / 3.821 GB, free: 55.3 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.04118/13.05, allocations: 12.67 MB / 3.834 GB, free: 54.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.024/13.08, allocations: 6.46 MB / 3.84 GB, free: 53.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/13.08, allocations: 2.531 kB / 3.84 GB, free: 53.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01058/13.09, allocations: 3.147 MB / 3.843 GB, free: 53.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009503/13.1, allocations: 1.041 MB / 3.844 GB, free: 53.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06163/13.16, allocations: 29.2 MB / 3.873 GB, free: 39.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003573/13.16, allocations: 2.248 MB / 3.875 GB, free: 38.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009907/13.17, allocations: 3.443 MB / 3.878 GB, free: 38.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003051/13.18, allocations: 1.319 MB / 3.88 GB, free: 38.19 MB / 442.7 MB Notification: Performance of SimCode: time 1.804e-06/13.18, allocations: 0 / 3.88 GB, free: 38.19 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6821/13.86, allocations: 129.9 MB / 4.006 GB, free: 49.85 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/13.86, allocations: 258.2 kB / 4.007 GB, free: 49.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.174/23.03, allocations: 0 / 4.007 GB, free: 49.51 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature_res.mat does not exist to compare? outputFormat=mat