Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.068/2.068, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004397, allocations: 12 kB / 264 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3711, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.008794/0.38, allocations: 3.366 MB / 311.9 MB, free: 9.379 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003943/0.384, allocations: 1.135 MB / 313.1 MB, free: 8.234 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000552/0.3846, allocations: 7.938 kB / 313.1 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.3851, allocations: 95.34 kB / 313.2 MB, free: 8.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.3863, allocations: 275.2 kB / 313.4 MB, free: 7.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007789/0.3871, allocations: 139.8 kB / 313.6 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.3885, allocations: 0.6085 MB / 314.2 MB, free: 7.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004567/0.389, allocations: 200.7 kB / 314.4 MB, free: 6.906 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005613/0.3896, allocations: 295 kB / 314.7 MB, free: 6.617 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.3906, allocations: 342.6 kB / 315 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004501/0.3912, allocations: 40 kB / 315 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003727/0.3916, allocations: 48 kB / 315.1 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.3918, allocations: 127.5 kB / 315.2 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.392, allocations: 169.3 kB / 315.4 MB, free: 5.898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009077/0.393, allocations: 0.6241 MB / 316 MB, free: 5.273 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.393, allocations: 0 / 316 MB, free: 5.273 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.393, allocations: 0 / 316 MB, free: 5.273 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.393, allocations: 0 / 316 MB, free: 5.273 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002747/0.3958, allocations: 0.9652 MB / 317 MB, free: 4.246 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3958, allocations: 15.97 kB / 317 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002259/0.3961, allocations: 95.42 kB / 317.1 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.3963, allocations: 83.11 kB / 317.1 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008846/0.3972, allocations: 423.7 kB / 317.6 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.3974, allocations: 100.4 kB / 317.7 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.3976, allocations: 52 kB / 317.7 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.3994, allocations: 0.6638 MB / 318.4 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.3995, allocations: 0 / 318.4 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.561e-05/0.3996, allocations: 24 kB / 318.4 MB, free: 2.672 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.3996, allocations: 11.95 kB / 318.4 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.4014, allocations: 479.7 kB / 318.9 MB, free: 2.188 MB / 250.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.00462/0.4061, allocations: 1.924 MB / 320.8 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003576/0.4097, allocations: 0.7607 MB / 321.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.565e-05/0.4098, allocations: 12.42 kB / 321.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.4098, allocations: 43 kB / 321.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.665e-06/0.4098, allocations: 0 / 321.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.009423/0.4192, allocations: 1.59 MB / 323.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003341/0.4196, allocations: 0.5683 MB / 323.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009004/0.4205, allocations: 494.9 kB / 324.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.4207, allocations: 37.7 kB / 324.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.421, allocations: 284.7 kB / 324.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/0.4213, allocations: 185.2 kB / 324.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.4213, allocations: 12 kB / 324.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.4215, allocations: 370.7 kB / 325.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009546/0.4225, allocations: 209 kB / 325.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.4237, allocations: 428.5 kB / 325.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.4248, allocations: 276 kB / 326 MB, free: 10.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.4248, allocations: 0 / 326 MB, free: 10.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004262/0.4291, allocations: 0.8498 MB / 326.9 MB, free: 9.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.569e-05/0.4291, allocations: 37.7 kB / 326.9 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4292, allocations: 0 / 326.9 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/0.4309, allocations: 226.4 kB / 327.1 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.4324, allocations: 135.8 kB / 327.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/0.4495, allocations: 5.31 MB / 332.6 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.4515, allocations: 99.62 kB / 332.7 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.4516, allocations: 16 kB / 332.7 MB, free: 3.469 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006351/0.4523, allocations: 193.8 kB / 332.9 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.4526, allocations: 71.2 kB / 332.9 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006479/0.4591, allocations: 0.8201 MB / 333.8 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.4591, allocations: 8 kB / 333.8 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4591, allocations: 3.938 kB / 333.8 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006231/0.4654, allocations: 1.093 MB / 334.9 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005823/0.4713, allocations: 1.518 MB / 336.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4713, allocations: 4 kB / 336.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.4728, allocations: 131.8 kB / 336.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/0.4744, allocations: 185.5 kB / 336.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.775e-05/0.4746, allocations: 12 kB / 336.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008871/0.4834, allocations: 3.587 MB / 340.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.4835, allocations: 3.953 kB / 340.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00531/0.4888, allocations: 1.125 MB / 341.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004675/0.4893, allocations: 196.8 kB / 341.6 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.4895, allocations: 16 kB / 341.6 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009712/0.4905, allocations: 51.86 kB / 341.7 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.4907, allocations: 40.48 kB / 341.7 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/0.4908, allocations: 16 kB / 341.7 MB, free: 9.879 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006083/0.4914, allocations: 342.8 kB / 342.1 MB, free: 9.547 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.4914, allocations: 0 / 342.1 MB, free: 9.547 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001036/0.4924, allocations: 227.7 kB / 342.3 MB, free: 9.324 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.005684/0.4981, allocations: 1.681 MB / 344 MB, free: 7.609 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004102/0.5023, allocations: 1.077 MB / 345.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.5023, allocations: 4 kB / 345.1 MB, free: 6.477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.5043, allocations: 0.5435 MB / 345.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.5055, allocations: 158.2 kB / 345.8 MB, free: 5.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.5103, allocations: 1.965 MB / 347.7 MB, free: 3.734 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.511, allocations: 0.8953 MB / 348.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006212/0.5116, allocations: 68.66 kB / 348.7 MB, free: 2.746 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004548/0.5121, allocations: 219.4 kB / 348.9 MB, free: 2.531 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5121, allocations: 0 / 348.9 MB, free: 2.531 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06108/0.5732, allocations: 16.93 MB / 365.8 MB, free: 1.609 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/0.5735, allocations: 211.6 kB / 366 MB, free: 1.367 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.3/3.874, allocations: 3.938 kB / 366 MB, free: 1.363 MB / 298.7 MB