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.077/2.077, allocations: 194.8 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 8 kB / 264 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2968, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.1343/0.4311, allocations: 78.79 MB / 387.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05998/0.4912, allocations: 29.44 MB / 416.8 MB, free: 300 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003671/0.4949, allocations: 71.38 kB / 416.8 MB, free: 228 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2999/0.7949, allocations: 1.155 MB / 418 MB, free: 7.941 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01414/0.8091, allocations: 3.577 MB / 421.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02783/0.8369, allocations: 7.187 MB / 428.8 MB, free: 7.785 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008161/0.8451, allocations: 3.836 MB / 432.6 MB, free: 7.777 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.8487, allocations: 1.656 MB / 434.3 MB, free: 7.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01983/0.8686, allocations: 7.489 MB / 441.7 MB, free: 7.539 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00415/0.8728, allocations: 1.458 MB / 443.2 MB, free: 7.535 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001257/0.8741, allocations: 142.3 kB / 443.3 MB, free: 7.535 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02659/0.9007, allocations: 8.739 MB / 452.1 MB, free: 6.223 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001861/0.9026, allocations: 0.6756 MB / 452.8 MB, free: 6.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.9042, allocations: 475.6 kB / 453.2 MB, free: 6.012 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01441/0.9186, allocations: 5.878 MB / 459.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.9187, allocations: 0 / 459.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.9187, allocations: 0 / 459.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001158/0.9188, allocations: 0 / 459.1 MB, free: 1.109 MB / 346.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.013/0.9318, allocations: 2.969 MB / 462.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.9319, allocations: 8.031 kB / 462.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00116/0.9331, allocations: 278.9 kB / 462.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01805/0.9511, allocations: 1.258 MB / 463.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/0.9554, allocations: 1.316 MB / 464.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005949/0.956, allocations: 346.3 kB / 465.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009045/0.957, allocations: 184.7 kB / 465.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/0.9713, allocations: 3.482 MB / 468.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-05/0.9714, allocations: 7.562 kB / 468.9 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005051/0.9719, allocations: 85.23 kB / 469 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002389/0.9722, allocations: 101.1 kB / 469.1 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/0.9879, allocations: 3.507 MB / 472.6 MB, free: 6.074 MB / 362.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.03881/1.027, allocations: 14.51 MB / 487.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01261/1.039, allocations: 2.907 MB / 490 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06819/1.108, allocations: 19.91 MB / 0.498 GB, free: 1.457 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.91e-05/1.108, allocations: 60.12 kB / 0.4981 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004529/1.112, allocations: 450 kB / 0.4985 GB, free: 1.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=175): time 1.177e-05/1.112, allocations: 4 kB / 0.4985 GB, free: 1.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=205): time 0.07127/1.184, allocations: 12.46 MB / 0.5107 GB, free: 7.309 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.184, allocations: 150.5 kB / 0.5108 GB, free: 7.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/1.187, allocations: 1.395 MB / 0.5122 GB, free: 6.074 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000727/1.188, allocations: 63.33 kB / 0.5122 GB, free: 6.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009695/1.188, allocations: 0.7956 MB / 0.513 GB, free: 5.531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/1.19, allocations: 0.6748 MB / 0.5137 GB, free: 4.957 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/1.19, allocations: 41.12 kB / 0.5137 GB, free: 4.949 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002291/1.19, allocations: 393 kB / 0.5141 GB, free: 4.598 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004827/1.195, allocations: 1.308 MB / 0.5154 GB, free: 3.715 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005965/1.201, allocations: 1.769 MB / 0.5171 GB, free: 2.238 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005313/1.207, allocations: 1.421 MB / 0.5185 GB, free: 1.348 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/1.207, allocations: 4 kB / 0.5185 GB, free: 1.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01439/1.221, allocations: 4.091 MB / 0.5225 GB, free: 14.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004178/1.221, allocations: 472.2 kB / 0.5229 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/1.222, allocations: 12 kB / 0.5229 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008393/1.23, allocations: 1.596 MB / 0.5245 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004287/1.234, allocations: 479 kB / 0.5249 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/1.245, allocations: 6.705 MB / 0.5315 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004879/1.25, allocations: 223.4 kB / 0.5317 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005761/1.25, allocations: 122 kB / 0.5318 GB, free: 5.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.251, allocations: 0 / 0.5318 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01357/1.264, allocations: 3.562 MB / 0.5353 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-05/1.264, allocations: 12 kB / 0.5353 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00463/1.269, allocations: 1.056 MB / 0.5363 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/1.273, allocations: 0.5016 MB / 0.5368 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/1.289, allocations: 10.22 MB / 0.5468 GB, free: 8.461 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003971/1.293, allocations: 210 kB / 0.547 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004485/1.294, allocations: 119 kB / 0.5471 GB, free: 8.195 MB / 442.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.001763/1.296, allocations: 0.5822 MB / 0.5477 GB, free: 7.793 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007133/1.296, allocations: 197.7 kB / 0.5479 GB, free: 7.598 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02517/1.321, allocations: 9.993 MB / 0.5576 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001594/1.322, allocations: 106.6 kB / 0.5577 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.322, allocations: 0 / 0.5577 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.529e-05/1.322, allocations: 11.95 kB / 0.5578 GB, free: 236 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03481/1.357, allocations: 13.34 MB / 0.5708 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.632e-05/1.357, allocations: 0 / 0.5708 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003888/1.361, allocations: 411.4 kB / 0.5712 GB, free: 2.426 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2769/1.637, allocations: 4.09 MB / 0.5752 GB, free: 192 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006735/1.638, allocations: 58.53 kB / 0.5752 GB, free: 192 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/1.65, allocations: 8.771 MB / 0.5838 GB, free: 187.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.65, allocations: 0 / 0.5838 GB, free: 187.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02456/1.674, allocations: 10.77 MB / 0.5943 GB, free: 182.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002373/1.677, allocations: 0.903 MB / 0.5952 GB, free: 182.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008013/1.678, allocations: 47.44 kB / 0.5952 GB, free: 182.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004378/1.682, allocations: 242.8 kB / 0.5955 GB, free: 182.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009564/1.683, allocations: 231.8 kB / 0.5957 GB, free: 182.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003642/1.684, allocations: 87.44 kB / 0.5958 GB, free: 182.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002406/1.686, allocations: 1.25 MB / 0.597 GB, free: 181.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.686, allocations: 3.844 kB / 0.597 GB, free: 181.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009174/1.695, allocations: 2.259 MB / 0.5992 GB, free: 181.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.level,openTankCold2.medium.h,openTankCold1.level,openTankCold1.medium.h,openTankHot1.level,openTankHot1.medium.h,openTankHot2.level,openTankHot2.medium.h,openTankCold3.level,openTankCold3.medium.h,openTankHot3.level,openTankHot3.medium.h) * Number of discrete variables: 71 ($cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse31.region3boundary,$cse32.region3boundary,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.region3boundary,$cse52.region3boundary,$cse53.phase,$cse53.region,$cse54.phase,$cse54.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.03091/1.726, allocations: 11.85 MB / 0.6108 GB, free: 171.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02203/1.748, allocations: 6.557 MB / 0.6172 GB, free: 164.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.748, allocations: 4.562 kB / 0.6172 GB, free: 164.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01047/1.759, allocations: 3.173 MB / 0.6203 GB, free: 161.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008737/1.768, allocations: 1.037 MB / 0.6213 GB, free: 160.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05227/1.82, allocations: 21.14 MB / 0.6419 GB, free: 138.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002048/1.822, allocations: 2.253 MB / 0.6441 GB, free: 136.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008323/1.83, allocations: 3.518 MB / 0.6476 GB, free: 132.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002668/1.833, allocations: 1.323 MB / 0.6489 GB, free: 131.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.893e-06/1.833, allocations: 0 / 0.6489 GB, free: 131.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5222/2.355, allocations: 125.4 MB / 0.7713 GB, free: 175.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/2.356, allocations: 250.6 kB / 0.7715 GB, free: 174.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/12.79, allocations: 0 / 0.7715 GB, free: 174.8 MB / 458.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