Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.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.SeriesPipes1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes1",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.01168/0.01168, allocations: 106.7 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.001368/0.001367, allocations: 166.5 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.946/1.946, allocations: 170.9 MB / 187.5 MB, free: 1 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.2976/0.2976, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008721/0.0008723, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1325, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1): time 0.4401/0.5726, allocations: 76.99 MB / 449.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.06347/0.6362, allocations: 32.54 MB / 481.8 MB, free: 4.602 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004125/0.6404, allocations: 95.72 kB / 481.9 MB, free: 4.555 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005174/0.6456, allocations: 1.08 MB / 483 MB, free: 3.844 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03004/0.6757, allocations: 6.169 MB / 489.2 MB, free: 24 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03374/0.7095, allocations: 7.021 MB / 496.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009625/0.7192, allocations: 3.596 MB / 499.8 MB, free: 8.461 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003512/0.7227, allocations: 1.225 MB / 0.4893 GB, free: 7.219 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007904/0.7307, allocations: 2.06 MB / 0.4913 GB, free: 5.152 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06367/0.7944, allocations: 20.83 MB / 0.5116 GB, free: 316 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.7958, allocations: 108 kB / 0.5117 GB, free: 208 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03452/0.8303, allocations: 9.887 MB / 0.5214 GB, free: 6.305 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002398/0.8328, allocations: 0.7518 MB / 0.5221 GB, free: 5.551 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002134/0.835, allocations: 0.5122 MB / 0.5226 GB, free: 5.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02102/0.8561, allocations: 6.451 MB / 0.5289 GB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8561, allocations: 0 / 0.5289 GB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.8562, allocations: 0 / 0.5289 GB, free: 14.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001599/0.8563, allocations: 0 / 0.5289 GB, free: 14.56 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 510 * Number of variables: 510 Notification: Performance of Generate backend data structure: time 0.01597/0.8723, allocations: 3.526 MB / 0.5323 GB, free: 10.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.8724, allocations: 8.031 kB / 0.5324 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001374/0.8738, allocations: 290.9 kB / 0.5326 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0092/0.883, allocations: 0.8165 MB / 0.5334 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00595/0.889, allocations: 1.571 MB / 0.535 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004092/0.8895, allocations: 175.7 kB / 0.5351 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/0.8906, allocations: 199.9 kB / 0.5353 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/0.9056, allocations: 3.484 MB / 0.5387 GB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.9058, allocations: 3.938 kB / 0.5387 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008614/0.9066, allocations: 87.97 kB / 0.5388 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004745/0.9071, allocations: 183.5 kB / 0.539 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.9219, allocations: 3.277 MB / 0.5422 GB, free: 0.6914 MB / 394.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.03571/0.9577, allocations: 14.99 MB / 0.5568 GB, free: 460 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.9682, allocations: 2.302 MB / 0.5591 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1018/1.07, allocations: 19.01 MB / 0.5776 GB, free: 8.824 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01243/1.082, allocations: 1.626 MB / 0.5792 GB, free: 7.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 9.307e-06/1.083, allocations: 0 / 0.5792 GB, free: 7.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=169): time 0.3356/1.418, allocations: 8.815 MB / 0.5878 GB, free: 161.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/1.418, allocations: 231 kB / 0.5881 GB, free: 161.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004442/1.423, allocations: 1.574 MB / 0.5896 GB, free: 161.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005259/1.423, allocations: 57.92 kB / 0.5896 GB, free: 161.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001363/1.425, allocations: 0.9967 MB / 0.5906 GB, free: 160.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001052/1.426, allocations: 0.5809 MB / 0.5912 GB, free: 159.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/1.426, allocations: 41.39 kB / 0.5912 GB, free: 159.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002245/1.426, allocations: 394 kB / 0.5916 GB, free: 159.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004427/1.431, allocations: 1.136 MB / 0.5927 GB, free: 159.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004988/1.436, allocations: 1.664 MB / 0.5943 GB, free: 158.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005038/1.441, allocations: 1.38 MB / 0.5957 GB, free: 157.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.37e-05/1.441, allocations: 6.609 kB / 0.5957 GB, free: 157.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01338/1.455, allocations: 3.347 MB / 0.599 GB, free: 156.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00147/1.456, allocations: 5.935 MB / 0.6048 GB, free: 150 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.831e-05/1.456, allocations: 15.12 kB / 0.6048 GB, free: 150 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/1.458, allocations: 280.5 kB / 0.605 GB, free: 149.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004594/1.463, allocations: 0.5324 MB / 0.6056 GB, free: 149.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/1.465, allocations: 2.503 MB / 0.608 GB, free: 147.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004166/1.469, allocations: 258.4 kB / 0.6082 GB, free: 147.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006882/1.47, allocations: 103.9 kB / 0.6083 GB, free: 147.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.47, allocations: 7.5 kB / 0.6084 GB, free: 147.6 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01083/1.481, allocations: 3.093 MB / 0.6114 GB, free: 146.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.48e-05/1.481, allocations: 15.91 kB / 0.6114 GB, free: 146.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/1.482, allocations: 279 kB / 0.6117 GB, free: 146.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004282/1.487, allocations: 0.5241 MB / 0.6122 GB, free: 146.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/1.489, allocations: 2.505 MB / 0.6146 GB, free: 144 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003816/1.492, allocations: 256.3 kB / 0.6149 GB, free: 144 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006051/1.493, allocations: 98.92 kB / 0.615 GB, free: 144 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 22 (pipe3.state_a.phase,pipe1.state_a.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,valve.state_b.phase,valve.state_a.phase,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,pipe3.statesFM[2].phase,pipe3.state_b.phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 251 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002294/1.495, allocations: 0.7336 MB / 0.6157 GB, free: 143.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007163/1.496, allocations: 199.4 kB / 0.6159 GB, free: 143.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/1.513, allocations: 7.732 MB / 0.6234 GB, free: 139.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/1.514, allocations: 92.53 kB / 0.6235 GB, free: 139.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.514, allocations: 0 / 0.6235 GB, free: 139.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01368/1.527, allocations: 6.642 MB / 0.63 GB, free: 134.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02312/1.551, allocations: 10.86 MB / 0.6406 GB, free: 123.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.881e-05/1.551, allocations: 0 / 0.6406 GB, free: 123.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003282/1.554, allocations: 400.3 kB / 0.641 GB, free: 123.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00241/1.556, allocations: 376.8 kB / 0.6413 GB, free: 122.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004667/1.557, allocations: 66.97 kB / 0.6414 GB, free: 122.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/1.559, allocations: 2.573 MB / 0.6439 GB, free: 120.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.559, allocations: 0 / 0.6439 GB, free: 120.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0157/1.574, allocations: 7.164 MB / 0.6509 GB, free: 112.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/1.577, allocations: 0.73 MB / 0.6516 GB, free: 112.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007955/1.578, allocations: 51.67 kB / 0.6517 GB, free: 112.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00308/1.581, allocations: 197.6 kB / 0.6519 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006575/1.581, allocations: 149.8 kB / 0.652 GB, free: 111.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/1.582, allocations: 63.97 kB / 0.6521 GB, free: 111.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002462/1.584, allocations: 1.159 MB / 0.6532 GB, free: 110.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.584, allocations: 0 / 0.6532 GB, free: 110.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009917/1.594, allocations: 2.564 MB / 0.6557 GB, free: 108.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (pipe1.mediums[1].p,pipe1.mediums[1].h,valve.filter.x[1],valve.filter.x[2],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe2.mediums[2].p,pipe2.mediums[2].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 53 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse21.region3boundary,$cse22.region3boundary,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.region3boundary,$cse31.region3boundary,$cse32.phase,$cse32.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse37.phase,$cse37.region,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,pipe3.statesFM[2].phase) * Number of discrete states: 5 (valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02777/1.622, allocations: 9.726 MB / 0.6652 GB, free: 98.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01456/1.636, allocations: 5.233 MB / 0.6703 GB, free: 93.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.637, allocations: 8.125 kB / 0.6703 GB, free: 93.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005347/1.642, allocations: 2.414 MB / 0.6727 GB, free: 90.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007822/1.65, allocations: 0.8629 MB / 0.6735 GB, free: 90.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02809/1.678, allocations: 21.2 MB / 0.6942 GB, free: 68.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002803/1.681, allocations: 2.301 MB / 0.6965 GB, free: 66.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007835/1.689, allocations: 2.67 MB / 0.6991 GB, free: 63.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00291/1.692, allocations: 1.315 MB / 0.7004 GB, free: 62.11 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/1.692, allocations: 0 / 0.7004 GB, free: 62.11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5455/2.237, allocations: 110 MB / 0.8078 GB, free: 125.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/2.238, allocations: 262.3 kB / 0.808 GB, free: 125.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/12.36, allocations: 0.875 kB / 0.808 GB, free: 125.5 MB / 442.7 MB