Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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) 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 ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01117/0.01117, allocations: 105.9 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001242/0.001241, allocations: 166.9 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.712/1.712, allocations: 170.9 MB / 187.5 MB, free: 0.9883 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.267/0.267, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006934/0.0006935, allocations: 12 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1326, allocations: 48.71 MB / 372.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.0899/0.2226, allocations: 39.75 MB / 412 MB, free: 5.016 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.4521/0.6748, allocations: 22.35 MB / 434.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.6768, allocations: 37.06 kB / 434.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003188/0.68, allocations: 0.4998 MB / 434.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02693/0.707, allocations: 4.693 MB / 439.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01673/0.7238, allocations: 4.03 MB / 443.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004966/0.7288, allocations: 1.465 MB / 445.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.7302, allocations: 0.4966 MB / 445.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02724/0.7575, allocations: 9.052 MB / 454.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03572/0.7933, allocations: 14.21 MB / 468.9 MB, free: 3.809 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003101/0.7937, allocations: 44 kB / 468.9 MB, free: 3.766 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02346/0.8171, allocations: 8.155 MB / 477.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006997/0.8179, allocations: 273.8 kB / 477.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000641/0.8186, allocations: 227.4 kB / 477.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.8302, allocations: 4.071 MB / 481.6 MB, free: 9.633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8303, allocations: 0 / 481.6 MB, free: 9.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.8303, allocations: 0 / 481.6 MB, free: 9.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.8303, allocations: 0 / 481.6 MB, free: 9.633 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007521/0.8379, allocations: 1.904 MB / 483.5 MB, free: 7.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.8379, allocations: 12.02 kB / 483.6 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003661/0.8383, allocations: 125.8 kB / 483.7 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003668/0.842, allocations: 366.2 kB / 484 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.844, allocations: 0.6976 MB / 484.7 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.8442, allocations: 64.14 kB / 484.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.8444, allocations: 88.45 kB / 484.9 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004991/0.8494, allocations: 1.447 MB / 486.3 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-05/0.8495, allocations: 11.08 kB / 486.3 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.8496, allocations: 29.12 kB / 486.4 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/0.8498, allocations: 64.89 kB / 486.4 MB, free: 5.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005795/0.8556, allocations: 1.343 MB / 487.8 MB, free: 4.527 MB / 346.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.01369/0.8693, allocations: 6.534 MB / 494.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004753/0.8741, allocations: 1.025 MB / 495.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1151/0.9893, allocations: 32.38 MB / 0.5153 GB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/0.9894, allocations: 43.5 kB / 0.5154 GB, free: 9.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=56): time 2.985e-06/0.9894, allocations: 2.906 kB / 0.5154 GB, free: 9.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.01433/1.004, allocations: 3.319 MB / 0.5186 GB, free: 7.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.38e-05/1.004, allocations: 162.8 kB / 0.5188 GB, free: 7.066 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/1.005, allocations: 0.7179 MB / 0.5195 GB, free: 6.512 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001596/1.005, allocations: 39.52 kB / 0.5195 GB, free: 6.477 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/1.006, allocations: 428.4 kB / 0.5199 GB, free: 6.199 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000277/1.006, allocations: 209.8 kB / 0.5201 GB, free: 6.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/1.006, allocations: 16.62 kB / 0.5201 GB, free: 6.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/1.006, allocations: 387.3 kB / 0.5205 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/1.008, allocations: 418.1 kB / 0.5209 GB, free: 5.383 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/1.01, allocations: 0.6248 MB / 0.5215 GB, free: 4.805 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/1.011, allocations: 481.9 kB / 0.522 GB, free: 4.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.012, allocations: 3.953 kB / 0.522 GB, free: 4.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004659/1.016, allocations: 1.356 MB / 0.5233 GB, free: 3.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000964/1.017, allocations: 2.446 MB / 0.5257 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/1.017, allocations: 8 kB / 0.5257 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00559/1.023, allocations: 0.6787 MB / 0.5264 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.024, allocations: 153.8 kB / 0.5265 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/1.027, allocations: 1.303 MB / 0.5278 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.028, allocations: 103.2 kB / 0.5279 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/1.029, allocations: 41.73 kB / 0.5279 GB, free: 15.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.029, allocations: 4 kB / 0.5279 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004703/1.033, allocations: 1.23 MB / 0.5291 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/1.033, allocations: 8 kB / 0.5291 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003223/1.037, allocations: 447.1 kB / 0.5296 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.038, allocations: 169 kB / 0.5297 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/1.04, allocations: 1.113 MB / 0.5308 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/1.042, allocations: 101.3 kB / 0.5309 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/1.042, allocations: 40.55 kB / 0.5309 GB, free: 12.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 (pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0007773/1.043, allocations: 371.6 kB / 0.5313 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/1.043, allocations: 82.97 kB / 0.5314 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007232/1.05, allocations: 3.337 MB / 0.5346 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.526e-05/1.05, allocations: 42.5 kB / 0.5347 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.05, allocations: 0 / 0.5347 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005668/1.056, allocations: 2.783 MB / 0.5374 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/1.066, allocations: 4.572 MB / 0.5419 GB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/1.067, allocations: 4 kB / 0.5419 GB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.068, allocations: 176.1 kB / 0.542 GB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006826/1.069, allocations: 92.77 kB / 0.5421 GB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.989e-05/1.069, allocations: 23.98 kB / 0.5421 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006629/1.069, allocations: 0.6487 MB / 0.5428 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.069, allocations: 0 / 0.5428 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007146/1.077, allocations: 2.929 MB / 0.5456 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.078, allocations: 446.3 kB / 0.5461 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/1.078, allocations: 16 kB / 0.5461 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.079, allocations: 91.83 kB / 0.5462 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/1.08, allocations: 60.56 kB / 0.5462 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.96e-05/1.08, allocations: 24 kB / 0.5462 GB, free: 56 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00178/1.081, allocations: 0.7863 MB / 0.547 GB, free: 15.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.081, allocations: 0 / 0.547 GB, free: 15.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006604/1.088, allocations: 1.626 MB / 0.5486 GB, free: 13.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01659/1.105, allocations: 5.079 MB / 0.5536 GB, free: 8.668 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006179/1.111, allocations: 1.851 MB / 0.5554 GB, free: 6.859 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.111, allocations: 4.125 kB / 0.5554 GB, free: 6.855 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002323/1.113, allocations: 0.8943 MB / 0.5563 GB, free: 5.977 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004185/1.117, allocations: 468.9 kB / 0.5567 GB, free: 5.516 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/1.131, allocations: 9.091 MB / 0.5656 GB, free: 12.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/1.133, allocations: 1.341 MB / 0.5669 GB, free: 10.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002727/1.135, allocations: 0.9086 MB / 0.5678 GB, free: 10.03 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.137, allocations: 0.5618 MB / 0.5683 GB, free: 9.465 MB / 442.7 MB Notification: Performance of SimCode: time 1.373e-06/1.137, allocations: 0 / 0.5683 GB, free: 9.465 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5401/1.677, allocations: 70.59 MB / 0.6373 GB, free: 141.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/1.677, allocations: 270.9 kB / 0.6375 GB, free: 140.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/8.706, allocations: 0 / 0.6375 GB, free: 140.9 MB / 458.7 MB