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: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.054/2.054, allocations: 194.9 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004938, allocations: 8 kB / 264.1 MB, free: 2.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3446, allocations: 44.5 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.261/8.606, allocations: 2.588 GB / 2.889 GB, free: 83.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/8.607, allocations: 92.33 kB / 2.889 GB, free: 83.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.277/13.88, allocations: 0.963 GB / 3.852 GB, free: 29.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.995e-06/13.88, allocations: 0 / 3.852 GB, free: 29.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002589/13.88, allocations: 58.42 kB / 3.852 GB, free: 29.75 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.01781/13.9, allocations: 3.582 MB / 3.856 GB, free: 28.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/13.9, allocations: 9.25 kB / 3.856 GB, free: 28.19 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001567/13.9, allocations: 278.7 kB / 3.856 GB, free: 28.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02229/13.93, allocations: 1.212 MB / 3.857 GB, free: 28.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00599/13.93, allocations: 1.543 MB / 3.859 GB, free: 27.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000582/13.93, allocations: 347.9 kB / 3.859 GB, free: 27.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/13.93, allocations: 188.8 kB / 3.859 GB, free: 27.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/13.95, allocations: 3.515 MB / 3.863 GB, free: 27.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.433e-05/13.95, allocations: 21.62 kB / 3.863 GB, free: 27.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006314/13.95, allocations: 86.2 kB / 3.863 GB, free: 27.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/13.95, allocations: 104.1 kB / 3.863 GB, free: 27.04 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/13.97, allocations: 3.51 MB / 3.866 GB, free: 27.02 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.03691/14, allocations: 14.45 MB / 3.881 GB, free: 19.97 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/14.01, allocations: 2.863 MB / 3.883 GB, free: 19.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/14.02, allocations: 3.75 MB / 3.887 GB, free: 17.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.693e-05/14.02, allocations: 58.41 kB / 3.887 GB, free: 17.23 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005858/14.03, allocations: 0.579 MB / 3.888 GB, free: 17.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=175): time 1.427e-05/14.03, allocations: 0 / 3.888 GB, free: 17.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=205): time 0.06908/14.1, allocations: 12.28 MB / 3.9 GB, free: 16.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/14.1, allocations: 155.9 kB / 3.9 GB, free: 15.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/14.1, allocations: 1.223 MB / 3.901 GB, free: 15.69 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007266/14.1, allocations: 61.67 kB / 3.901 GB, free: 15.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000776/14.1, allocations: 0.7984 MB / 3.902 GB, free: 15.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001257/14.1, allocations: 0.683 MB / 3.903 GB, free: 14.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/14.11, allocations: 43.88 kB / 3.903 GB, free: 14.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/14.11, allocations: 390.6 kB / 3.903 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004794/14.11, allocations: 1.274 MB / 3.904 GB, free: 14.58 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005387/14.12, allocations: 1.734 MB / 3.906 GB, free: 14.08 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005165/14.12, allocations: 1.392 MB / 3.907 GB, free: 14.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.038e-05/14.12, allocations: 3.156 kB / 3.907 GB, free: 14.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01541/14.14, allocations: 3.983 MB / 3.911 GB, free: 13.81 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001297/14.14, allocations: 4.976 MB / 3.916 GB, free: 8.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.536e-05/14.14, allocations: 12.88 kB / 3.916 GB, free: 8.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008129/14.15, allocations: 1.558 MB / 3.918 GB, free: 8.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004077/14.15, allocations: 477.6 kB / 3.918 GB, free: 8.656 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009696/14.16, allocations: 6.606 MB / 3.924 GB, free: 19.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004671/14.16, allocations: 219.5 kB / 3.925 GB, free: 19.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007825/14.17, allocations: 121.2 kB / 3.925 GB, free: 19.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/14.17, allocations: 7.75 kB / 3.925 GB, free: 19.95 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01359/14.18, allocations: 3.487 MB / 3.928 GB, free: 19.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-05/14.18, allocations: 15.38 kB / 3.928 GB, free: 19.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00443/14.18, allocations: 1.043 MB / 3.929 GB, free: 19.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004379/14.19, allocations: 0.4925 MB / 3.93 GB, free: 19.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/14.2, allocations: 10.19 MB / 3.94 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004349/14.21, allocations: 209.3 kB / 3.94 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007314/14.21, allocations: 116.6 kB / 3.94 GB, free: 12.6 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.002237/14.21, allocations: 0.5894 MB / 3.941 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008003/14.21, allocations: 200.8 kB / 3.941 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02419/14.24, allocations: 9.867 MB / 3.95 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001497/14.24, allocations: 102.1 kB / 3.95 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/14.24, allocations: 2.719 kB / 3.95 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.493e-05/14.24, allocations: 13.12 kB / 3.95 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03233/14.27, allocations: 13.36 MB / 3.963 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.749e-05/14.27, allocations: 0 / 3.963 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003583/14.27, allocations: 399.6 kB / 3.964 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/14.28, allocations: 4.137 MB / 3.968 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007032/14.28, allocations: 57.36 kB / 3.968 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/14.3, allocations: 8.767 MB / 3.977 GB, free: 5.398 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/14.3, allocations: 5.125 kB / 3.977 GB, free: 5.395 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02617/14.32, allocations: 10.71 MB / 3.987 GB, free: 2.734 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003/14.32, allocations: 0.9032 MB / 3.988 GB, free: 2.176 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000919/14.33, allocations: 48.84 kB / 3.988 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004529/14.33, allocations: 237 kB / 3.988 GB, free: 2.094 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/14.33, allocations: 225.9 kB / 3.988 GB, free: 2.062 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004151/14.33, allocations: 90.19 kB / 3.988 GB, free: 2.043 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002912/14.33, allocations: 1.243 MB / 3.99 GB, free: 1.566 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.31e-07/14.33, allocations: 0 / 3.99 GB, free: 1.566 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01281/14.35, allocations: 2.392 MB / 3.992 GB, free: 1.125 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.03987/14.39, allocations: 12.7 MB / 4.004 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02369/14.41, allocations: 6.466 MB / 4.011 GB, free: 8.562 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/14.41, allocations: 1.781 kB / 4.011 GB, free: 8.562 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01095/14.42, allocations: 3.152 MB / 4.014 GB, free: 5.785 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009753/14.43, allocations: 1.038 MB / 4.015 GB, free: 5.039 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4466/14.88, allocations: 29.2 MB / 4.043 GB, free: 42.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/14.88, allocations: 2.241 MB / 4.046 GB, free: 41.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008896/14.89, allocations: 3.461 MB / 4.049 GB, free: 41.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003001/14.89, allocations: 1.315 MB / 4.05 GB, free: 41.78 MB / 490.7 MB Notification: Performance of SimCode: time 8.61e-07/14.89, allocations: 0 / 4.05 GB, free: 41.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2716/15.16, allocations: 130.2 MB / 4.177 GB, free: 3.695 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/15.17, allocations: 260.6 kB / 4.178 GB, free: 3.352 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.362/24.53, allocations: 0 / 4.178 GB, free: 3.352 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature_res.mat does not exist to compare? outputFormat=mat