Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.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.SeriesPipes13,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes13",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.01155/0.01155, allocations: 107.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.2.mo): time 0.001401/0.0014, allocations: 181.3 kB / 15.95 MB, free: 5.52 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.265/2.265, allocations: 194.5 MB / 211.3 MB, free: 11.04 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.2822/0.2822, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005066/0.0005067, allocations: 8 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1281, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13): time 0.4538/0.582, allocations: 77.65 MB / 493.7 MB, free: 20.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.06446/0.6465, allocations: 32.72 MB / 0.514 GB, free: 13.71 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004151/0.6507, allocations: 96.41 kB / 0.5141 GB, free: 13.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005832/0.6566, allocations: 1.087 MB / 0.5152 GB, free: 13.05 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03098/0.6876, allocations: 6.246 MB / 0.5213 GB, free: 9.695 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03399/0.7217, allocations: 7.053 MB / 0.5282 GB, free: 5.371 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009828/0.7315, allocations: 3.649 MB / 0.5318 GB, free: 3.023 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003323/0.7349, allocations: 1.223 MB / 0.5329 GB, free: 2.254 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00769/0.7427, allocations: 2.075 MB / 0.535 GB, free: 1.094 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06587/0.8086, allocations: 21.07 MB / 0.5555 GB, free: 14.7 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.8097, allocations: 104 kB / 0.5556 GB, free: 14.6 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03388/0.8436, allocations: 10.05 MB / 0.5655 GB, free: 4.543 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002124/0.8458, allocations: 0.7479 MB / 0.5662 GB, free: 3.793 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.8476, allocations: 0.516 MB / 0.5667 GB, free: 3.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01976/0.8674, allocations: 6.522 MB / 0.5731 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8675, allocations: 0 / 0.5731 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.8675, allocations: 0 / 0.5731 GB, free: 12.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001412/0.8677, allocations: 0 / 0.5731 GB, free: 12.73 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.01502/0.8827, allocations: 3.6 MB / 0.5766 GB, free: 9.066 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.8828, allocations: 12.03 kB / 0.5766 GB, free: 9.055 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001136/0.8839, allocations: 286.9 kB / 0.5769 GB, free: 8.766 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00878/0.8927, allocations: 0.8361 MB / 0.5777 GB, free: 7.926 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/0.898, allocations: 1.574 MB / 0.5792 GB, free: 6.297 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/0.8984, allocations: 175.7 kB / 0.5794 GB, free: 6.125 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009118/0.8993, allocations: 203.9 kB / 0.5796 GB, free: 5.926 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.9128, allocations: 3.485 MB / 0.583 GB, free: 2.281 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.712e-05/0.913, allocations: 7.938 kB / 0.583 GB, free: 2.273 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/0.9134, allocations: 91.91 kB / 0.5831 GB, free: 2.184 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004403/0.9138, allocations: 195.5 kB / 0.5833 GB, free: 1.992 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/0.928, allocations: 3.277 MB / 0.5865 GB, free: 14.71 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.03362/0.9617, allocations: 14.98 MB / 0.6011 GB, free: 14.47 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009859/0.9716, allocations: 2.299 MB / 0.6033 GB, free: 12.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4642/1.436, allocations: 19.05 MB / 0.6219 GB, free: 138.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006973/1.443, allocations: 1.619 MB / 0.6235 GB, free: 138.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=155): time 6.312e-06/1.443, allocations: 0 / 0.6235 GB, free: 138.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=171): time 0.03565/1.479, allocations: 8.142 MB / 0.6315 GB, free: 137.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/1.479, allocations: 232.5 kB / 0.6317 GB, free: 136.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003404/1.482, allocations: 1.576 MB / 0.6332 GB, free: 136.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005095/1.483, allocations: 63.33 kB / 0.6333 GB, free: 136.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/1.484, allocations: 1.002 MB / 0.6343 GB, free: 135.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/1.485, allocations: 0.5818 MB / 0.6348 GB, free: 135 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/1.485, allocations: 41.16 kB / 0.6349 GB, free: 135 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/1.486, allocations: 392.6 kB / 0.6352 GB, free: 134.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00403/1.49, allocations: 1.141 MB / 0.6364 GB, free: 134.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004764/1.494, allocations: 1.67 MB / 0.638 GB, free: 133.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00468/1.499, allocations: 1.382 MB / 0.6393 GB, free: 132.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.223e-05/1.499, allocations: 3 kB / 0.6393 GB, free: 132.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.01362/1.513, allocations: 3.949 MB / 0.6432 GB, free: 131.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001401/1.514, allocations: 5.939 MB / 0.649 GB, free: 124.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.02e-05/1.514, allocations: 15.16 kB / 0.649 GB, free: 124.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02786/1.542, allocations: 2.985 MB / 0.6519 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/1.545, allocations: 324.2 kB / 0.6522 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/1.556, allocations: 3.488 MB / 0.6556 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004043/1.56, allocations: 257.7 kB / 0.6559 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006864/1.561, allocations: 105 kB / 0.656 GB, free: 122.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.561, allocations: 3.188 kB / 0.656 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01535/1.576, allocations: 3.559 MB / 0.6595 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/1.576, allocations: 17.48 kB / 0.6595 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01897/1.595, allocations: 1.787 MB / 0.6612 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003798/1.599, allocations: 367.7 kB / 0.6616 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/1.611, allocations: 2.774 MB / 0.6643 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005107/1.616, allocations: 261.8 kB / 0.6645 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008082/1.617, allocations: 101.7 kB / 0.6646 GB, free: 119.7 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 (169): * Single equations (assignments): 165 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 86} Notification: Performance of prepare postOptimizeDAE: time 0.003288/1.62, allocations: 0.7232 MB / 0.6653 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009251/1.621, allocations: 197.8 kB / 0.6655 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02578/1.647, allocations: 7.743 MB / 0.6731 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001693/1.647, allocations: 86.25 kB / 0.6732 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.402e-05/1.647, allocations: 0 / 0.6732 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01473/1.662, allocations: 6.649 MB / 0.6797 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02364/1.686, allocations: 10.87 MB / 0.6903 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/1.686, allocations: 0 / 0.6903 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003396/1.689, allocations: 403.5 kB / 0.6907 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002519/1.692, allocations: 378.8 kB / 0.691 GB, free: 99.69 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004653/1.692, allocations: 59.97 kB / 0.6911 GB, free: 99.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/1.694, allocations: 2.576 MB / 0.6936 GB, free: 96.95 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.694, allocations: 2.188 kB / 0.6936 GB, free: 96.95 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/1.711, allocations: 7.168 MB / 0.7006 GB, free: 89.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/1.713, allocations: 0.7339 MB / 0.7013 GB, free: 88.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008877/1.714, allocations: 55.92 kB / 0.7014 GB, free: 88.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003224/1.717, allocations: 187.7 kB / 0.7016 GB, free: 88.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006985/1.718, allocations: 145.8 kB / 0.7017 GB, free: 88.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003014/1.718, allocations: 67.97 kB / 0.7018 GB, free: 88.46 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002707/1.721, allocations: 1.167 MB / 0.7029 GB, free: 87.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.721, allocations: 0 / 0.7029 GB, free: 87.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01037/1.731, allocations: 2.589 MB / 0.7054 GB, free: 84.89 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.02732/1.759, allocations: 9.733 MB / 0.7149 GB, free: 75.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01612/1.775, allocations: 5.408 MB / 0.7202 GB, free: 69.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.775, allocations: 0 / 0.7202 GB, free: 69.97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00561/1.781, allocations: 2.434 MB / 0.7226 GB, free: 67.52 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007883/1.789, allocations: 0.8727 MB / 0.7234 GB, free: 66.69 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02777/1.817, allocations: 21.25 MB / 0.7442 GB, free: 45.19 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002922/1.82, allocations: 2.313 MB / 0.7464 GB, free: 42.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005827/1.825, allocations: 1.745 MB / 0.7481 GB, free: 41.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002768/1.828, allocations: 1.296 MB / 0.7494 GB, free: 39.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.633e-06/1.828, allocations: 0 / 0.7494 GB, free: 39.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6687/2.497, allocations: 120.6 MB / 0.8672 GB, free: 80.07 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/2.497, allocations: 251.5 kB / 0.8674 GB, free: 79.71 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/13.1, allocations: 7.938 kB / 0.8674 GB, free: 79.71 MB / 474.7 MB