Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01117/0.01117, allocations: 107.2 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001284/0.001284, allocations: 182.5 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.415/2.415, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2748/0.2748, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005218/0.0005221, allocations: 8 kB / 361.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1227, allocations: 54.88 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1): time 0.4445/0.5674, allocations: 77.64 MB / 493.7 MB, free: 20.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.07524/0.6427, allocations: 32.71 MB / 0.514 GB, free: 13.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003829/0.6466, allocations: 100.4 kB / 0.5141 GB, free: 13.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005332/0.6519, allocations: 1.079 MB / 0.5152 GB, free: 13.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02921/0.6812, allocations: 6.26 MB / 0.5213 GB, free: 9.715 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03351/0.7147, allocations: 7.049 MB / 0.5282 GB, free: 5.422 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009402/0.7242, allocations: 3.63 MB / 0.5317 GB, free: 3.086 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/0.7273, allocations: 1.236 MB / 0.5329 GB, free: 2.305 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007108/0.7344, allocations: 2.073 MB / 0.535 GB, free: 1.145 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06228/0.7968, allocations: 21.06 MB / 0.5555 GB, free: 14.77 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008774/0.7977, allocations: 108 kB / 0.5556 GB, free: 14.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03609/0.8338, allocations: 10.04 MB / 0.5654 GB, free: 4.609 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002586/0.8365, allocations: 0.7478 MB / 0.5662 GB, free: 3.859 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005511/0.842, allocations: 0.5238 MB / 0.5667 GB, free: 3.328 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04784/0.8899, allocations: 6.517 MB / 0.573 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.89, allocations: 4 kB / 0.573 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.89, allocations: 0 / 0.573 GB, free: 12.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001223/0.8901, allocations: 0 / 0.573 GB, free: 12.79 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.02569/0.9158, allocations: 3.592 MB / 0.5765 GB, free: 9.133 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.678e-05/0.9159, allocations: 12.03 kB / 0.5766 GB, free: 9.121 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001446/0.9174, allocations: 295.9 kB / 0.5768 GB, free: 8.824 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/0.9323, allocations: 0.8361 MB / 0.5777 GB, free: 7.984 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007713/0.94, allocations: 1.575 MB / 0.5792 GB, free: 6.355 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004692/0.9406, allocations: 175.7 kB / 0.5794 GB, free: 6.184 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.9416, allocations: 199.9 kB / 0.5796 GB, free: 5.988 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.9544, allocations: 3.495 MB / 0.583 GB, free: 2.336 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-05/0.9546, allocations: 11.89 kB / 0.583 GB, free: 2.324 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003677/0.955, allocations: 83.97 kB / 0.5831 GB, free: 2.242 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004206/0.9554, allocations: 187.5 kB / 0.5832 GB, free: 2.059 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/0.9688, allocations: 3.289 MB / 0.5864 GB, free: 14.77 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.03185/1.001, allocations: 14.99 MB / 0.6011 GB, free: 14.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00952/1.01, allocations: 2.302 MB / 0.6033 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4388/1.449, allocations: 19.05 MB / 0.6219 GB, free: 138.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0101/1.459, allocations: 1.621 MB / 0.6235 GB, free: 138.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=155): time 7.504e-06/1.459, allocations: 0 / 0.6235 GB, free: 138.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=171): time 0.05848/1.518, allocations: 8.831 MB / 0.6321 GB, free: 137.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/1.518, allocations: 230.2 kB / 0.6324 GB, free: 137 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004663/1.523, allocations: 1.578 MB / 0.6339 GB, free: 136.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006107/1.523, allocations: 59.14 kB / 0.634 GB, free: 136.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.525, allocations: 1.003 MB / 0.6349 GB, free: 135.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001306/1.526, allocations: 0.5854 MB / 0.6355 GB, free: 135.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003685/1.527, allocations: 41.03 kB / 0.6356 GB, free: 135.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002552/1.527, allocations: 392.7 kB / 0.6359 GB, free: 134.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005694/1.533, allocations: 1.142 MB / 0.637 GB, free: 134.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006379/1.539, allocations: 1.672 MB / 0.6387 GB, free: 133.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006363/1.546, allocations: 1.379 MB / 0.64 GB, free: 132.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.344e-05/1.546, allocations: 6.031 kB / 0.64 GB, free: 132.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.01573/1.561, allocations: 3.337 MB / 0.6433 GB, free: 131.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001738/1.563, allocations: 5.932 MB / 0.6491 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.156e-05/1.563, allocations: 19.53 kB / 0.6491 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/1.566, allocations: 282.1 kB / 0.6494 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005809/1.572, allocations: 0.525 MB / 0.6499 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/1.574, allocations: 2.504 MB / 0.6523 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005205/1.58, allocations: 254.7 kB / 0.6526 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007674/1.58, allocations: 106.8 kB / 0.6527 GB, free: 122.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/1.58, allocations: 7.734 kB / 0.6527 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01526/1.596, allocations: 3.086 MB / 0.6557 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.943e-05/1.596, allocations: 18.84 kB / 0.6557 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002179/1.598, allocations: 277.8 kB / 0.656 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005957/1.604, allocations: 0.5271 MB / 0.6565 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/1.607, allocations: 2.504 MB / 0.6589 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005204/1.612, allocations: 259.3 kB / 0.6592 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007815/1.613, allocations: 105.9 kB / 0.6593 GB, free: 118.9 MB / 474.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: 23 (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,valveOpening1.nextEventScaled,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.003015/1.616, allocations: 0.7275 MB / 0.66 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009401/1.617, allocations: 199.1 kB / 0.6602 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02817/1.645, allocations: 7.735 MB / 0.6677 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002508/1.646, allocations: 90.16 kB / 0.6678 GB, free: 114.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.224e-05/1.646, allocations: 0.5625 kB / 0.6678 GB, free: 114.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0226/1.668, allocations: 6.636 MB / 0.6743 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03535/1.704, allocations: 10.87 MB / 0.6849 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/1.704, allocations: 0 / 0.6849 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004501/1.708, allocations: 405.1 kB / 0.6853 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003669/1.712, allocations: 379.2 kB / 0.6857 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006286/1.713, allocations: 66.64 kB / 0.6857 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/1.715, allocations: 2.571 MB / 0.6882 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.715, allocations: 4.281 kB / 0.6882 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02196/1.737, allocations: 7.164 MB / 0.6952 GB, free: 95.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003004/1.74, allocations: 0.7377 MB / 0.696 GB, free: 94.38 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/1.742, allocations: 47.98 kB / 0.696 GB, free: 94.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004398/1.746, allocations: 199.6 kB / 0.6962 GB, free: 94.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008686/1.747, allocations: 145.8 kB / 0.6963 GB, free: 94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003173/1.747, allocations: 70.64 kB / 0.6964 GB, free: 93.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003754/1.751, allocations: 1.163 MB / 0.6975 GB, free: 92.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.422e-06/1.751, allocations: 0 / 0.6975 GB, free: 92.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01509/1.766, allocations: 2.586 MB / 0.7001 GB, free: 90.36 MB / 474.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: 54 ($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,valveOpening1.nextEventScaled,pipe3.statesFM[2].phase) * Number of discrete states: 6 (valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,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.03572/1.802, allocations: 9.738 MB / 0.7096 GB, free: 80.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0146/1.817, allocations: 5.304 MB / 0.7148 GB, free: 75.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.817, allocations: 0 / 0.7148 GB, free: 75.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005351/1.822, allocations: 2.434 MB / 0.7171 GB, free: 73.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007281/1.829, allocations: 0.8538 MB / 0.718 GB, free: 72.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02533/1.855, allocations: 21.24 MB / 0.7387 GB, free: 50.78 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002221/1.857, allocations: 2.305 MB / 0.741 GB, free: 48.44 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007817/1.865, allocations: 2.676 MB / 0.7436 GB, free: 45.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002951/1.868, allocations: 1.319 MB / 0.7449 GB, free: 44.46 MB / 474.7 MB Notification: Performance of SimCode: time 1.343e-06/1.868, allocations: 0 / 0.7449 GB, free: 44.46 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6714/2.539, allocations: 110.6 MB / 0.8529 GB, free: 94.21 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/2.54, allocations: 262.3 kB / 0.8531 GB, free: 93.86 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/13.17, allocations: 0 / 0.8531 GB, free: 93.86 MB / 474.7 MB