Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.PumpingSystem.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.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 194.8 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005858/0.0005859, allocations: 11.94 kB / 264 MB, free: 2.531 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3039, allocations: 44.51 MB / 308.5 MB, free: 12.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.08933/0.3933, allocations: 54.56 MB / 363.1 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04636/0.4398, allocations: 23.81 MB / 386.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.4417, allocations: 43.62 kB / 387 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.4445, allocations: 0.6259 MB / 387.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02211/0.4667, allocations: 5.166 MB / 392.8 MB, free: 8.258 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01377/0.4805, allocations: 3.288 MB / 396 MB, free: 4.961 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005573/0.4861, allocations: 2.383 MB / 398.4 MB, free: 2.578 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.4883, allocations: 0.8739 MB / 399.3 MB, free: 1.688 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02613/0.5145, allocations: 9.477 MB / 408.8 MB, free: 8.203 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3245/0.839, allocations: 15.27 MB / 424.1 MB, free: 23.99 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005556/0.8396, allocations: 75 kB / 424.1 MB, free: 23.99 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02245/0.8621, allocations: 8.58 MB / 432.7 MB, free: 23.97 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008164/0.863, allocations: 393.8 kB / 433.1 MB, free: 23.97 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006485/0.8636, allocations: 319.1 kB / 433.4 MB, free: 23.94 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.8753, allocations: 4.772 MB / 438.2 MB, free: 23.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8753, allocations: 0 / 438.2 MB, free: 23.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.8753, allocations: 6.625 kB / 438.2 MB, free: 23.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.987e-05/0.8754, allocations: 0 / 438.2 MB, free: 23.67 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: 307 * Number of variables: 307 Notification: Performance of Generate backend data structure: time 0.01026/0.8857, allocations: 2.361 MB / 440.5 MB, free: 22.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.8857, allocations: 7.125 kB / 440.5 MB, free: 22.51 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006869/0.8864, allocations: 187.1 kB / 440.7 MB, free: 22.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004813/0.8913, allocations: 483.2 kB / 441.2 MB, free: 22.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/0.8939, allocations: 0.8682 MB / 442.1 MB, free: 22.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.8941, allocations: 186.7 kB / 442.3 MB, free: 21.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.8945, allocations: 111.4 kB / 442.4 MB, free: 21.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006025/0.9005, allocations: 2.006 MB / 444.4 MB, free: 21.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.269e-05/0.9006, allocations: 3.859 kB / 444.4 MB, free: 21.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.9009, allocations: 54.31 kB / 444.4 MB, free: 21.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.901, allocations: 78.22 kB / 444.5 MB, free: 21.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005835/0.9069, allocations: 1.782 MB / 446.3 MB, free: 21.13 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.01863/0.9255, allocations: 9.327 MB / 455.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004669/0.9302, allocations: 1.483 MB / 457.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2215/1.152, allocations: 64.32 MB / 0.5092 GB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003961/1.156, allocations: 1.071 MB / 0.5102 GB, free: 4.289 MB / 410.7 MB Notification: Performance of pre-optimization done (n=110): time 5.36e-06/1.156, allocations: 0 / 0.5102 GB, free: 4.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.03/1.186, allocations: 6.557 MB / 0.5166 GB, free: 15.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/1.186, allocations: 303.1 kB / 0.5169 GB, free: 14.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/1.188, allocations: 1.035 MB / 0.5179 GB, free: 13.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000298/1.188, allocations: 46.39 kB / 0.518 GB, free: 13.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006111/1.189, allocations: 0.575 MB / 0.5185 GB, free: 13.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005909/1.19, allocations: 414.6 kB / 0.5189 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/1.19, allocations: 31.19 kB / 0.519 GB, free: 13.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/1.19, allocations: 361 kB / 0.5193 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/1.192, allocations: 0.639 MB / 0.5199 GB, free: 12.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/1.194, allocations: 1.045 MB / 0.521 GB, free: 11.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/1.197, allocations: 0.7447 MB / 0.5217 GB, free: 11.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.475e-06/1.197, allocations: 8 kB / 0.5217 GB, free: 11.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.007056/1.204, allocations: 2.178 MB / 0.5238 GB, free: 9.539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003754/1.204, allocations: 427.1 kB / 0.5242 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/1.204, allocations: 12 kB / 0.5242 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/1.215, allocations: 1.022 MB / 0.5252 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/1.218, allocations: 306.9 kB / 0.5255 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005992/1.224, allocations: 4.033 MB / 0.5295 GB, free: 4.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/1.227, allocations: 130.1 kB / 0.5296 GB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/1.227, allocations: 71.95 kB / 0.5297 GB, free: 3.883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/1.227, allocations: 2.844 kB / 0.5297 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006625/1.234, allocations: 1.871 MB / 0.5315 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-05/1.234, allocations: 12 kB / 0.5315 GB, free: 2.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009651/1.243, allocations: 0.7646 MB / 0.5322 GB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/1.246, allocations: 325.3 kB / 0.5326 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009689/1.256, allocations: 6.721 MB / 0.5391 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/1.258, allocations: 119.8 kB / 0.5392 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/1.258, allocations: 74.05 kB / 0.5393 GB, free: 11.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 24 (pipe.flowModel.states[2].phase,pipe.flowModel.states[1].phase,$whenCondition2,$whenCondition1,reservoir.regularFlow[1],reservoir.regularFlow[2],reservoir.regularFlow[3],reservoir.inFlow[1],reservoir.inFlow[2],reservoir.inFlow[3],$PRE.controller.y,controller.y,PumpRPMGenerator.endValue,PumpRPMGenerator.rate,PumpRPMGenerator.T,reservoir.medium.phase,pumps.medium.phase,sink.state.phase,sink.medium.phase,userValve.state_b.phase,userValve.state_a.phase,pumps.monitoring.state_in.phase,source.state.phase,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 154 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 1,1 6,2 7,1 1,2 3,2 1} Notification: Performance of prepare postOptimizeDAE: time 0.001128/1.259, allocations: 466.5 kB / 0.5397 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003746/1.26, allocations: 134.4 kB / 0.5399 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/1.27, allocations: 4.929 MB / 0.5447 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.606e-05/1.27, allocations: 48.56 kB / 0.5447 GB, free: 7.332 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.27, allocations: 0 / 0.5447 GB, free: 7.332 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-05/1.271, allocations: 11.97 kB / 0.5447 GB, free: 7.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/1.285, allocations: 6.747 MB / 0.5513 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.285, allocations: 0 / 0.5513 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.286, allocations: 173.2 kB / 0.5515 GB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007338/1.294, allocations: 1.393 MB / 0.5529 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003036/1.294, allocations: 42.42 kB / 0.5529 GB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005835/1.3, allocations: 4.456 MB / 0.5573 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.3, allocations: 3.094 kB / 0.5573 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/1.311, allocations: 4.864 MB / 0.562 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/1.313, allocations: 0.5523 MB / 0.5625 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004164/1.313, allocations: 27.81 kB / 0.5626 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/1.315, allocations: 106.1 kB / 0.5627 GB, free: 9.871 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004373/1.316, allocations: 126.5 kB / 0.5628 GB, free: 9.762 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/1.316, allocations: 53.28 kB / 0.5628 GB, free: 9.719 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002123/1.318, allocations: 0.9835 MB / 0.5638 GB, free: 9.016 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.318, allocations: 0 / 0.5638 GB, free: 9.016 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008207/1.326, allocations: 1.955 MB / 0.5657 GB, free: 7.184 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (pumps.medium.p,pumps.medium.T,reservoir.level,reservoir.medium.T,PT1.y) * Number of discrete variables: 36 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$whenCondition2,$whenCondition1,reservoir.regularFlow[1],reservoir.regularFlow[2],reservoir.regularFlow[3],reservoir.inFlow[1],reservoir.inFlow[2],reservoir.inFlow[3],controller.y,PumpRPMGenerator.endValue,PumpRPMGenerator.rate,PumpRPMGenerator.T) * Number of discrete states: 2 (controller.y,PumpRPMGenerator.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 1,1 1,1 6,2 9,2 3,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02221/1.348, allocations: 6.763 MB / 0.5723 GB, free: 1.926 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.2613/1.61, allocations: 3.425 MB / 0.5757 GB, free: 199.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.61, allocations: 4.094 kB / 0.5757 GB, free: 199.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004934/1.615, allocations: 1.519 MB / 0.5772 GB, free: 199.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005195/1.62, allocations: 0.6341 MB / 0.5778 GB, free: 199.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/1.635, allocations: 7.299 MB / 0.5849 GB, free: 195.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/1.637, allocations: 1.54 MB / 0.5864 GB, free: 194.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003834/1.64, allocations: 1.292 MB / 0.5877 GB, free: 194.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/1.642, allocations: 0.7665 MB / 0.5884 GB, free: 194 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/1.642, allocations: 3.094 kB / 0.5884 GB, free: 194 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1768/1.819, allocations: 86.95 MB / 0.6733 GB, free: 111.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/1.819, allocations: 233 kB / 0.6735 GB, free: 110.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/9.246, allocations: 0 / 0.6735 GB, free: 110.9 MB / 458.7 MB