Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.PumpingSystem.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.827/1.827, allocations: 171.2 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005267/0.0005269, allocations: 8 kB / 233.3 MB, free: 2.277 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08768, allocations: 38.77 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.885/7.973, allocations: 2.515 GB / 2.781 GB, free: 60.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/7.973, allocations: 83.05 kB / 2.781 GB, free: 60.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.644/11.62, allocations: 0.685 GB / 3.466 GB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.886e-06/11.62, allocations: 0 / 3.466 GB, free: 14.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000217/11.62, allocations: 37.73 kB / 3.466 GB, free: 14.03 MB / 378.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.01463/11.63, allocations: 2.775 MB / 3.469 GB, free: 12.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/11.63, allocations: 14.61 kB / 3.469 GB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001112/11.63, allocations: 182.5 kB / 3.469 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006158/11.64, allocations: 0.5218 MB / 3.469 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/11.64, allocations: 0.9753 MB / 3.47 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003064/11.64, allocations: 187.1 kB / 3.47 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007099/11.65, allocations: 123.5 kB / 3.471 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007416/11.65, allocations: 2.01 MB / 3.473 GB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.427e-05/11.65, allocations: 4 kB / 3.473 GB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000305/11.65, allocations: 51.98 kB / 3.473 GB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/11.65, allocations: 87.94 kB / 3.473 GB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006874/11.66, allocations: 1.747 MB / 3.474 GB, free: 7.543 MB / 378.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.02299/11.68, allocations: 9.328 MB / 3.483 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005847/11.69, allocations: 1.473 MB / 3.485 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.535/12.22, allocations: 63.31 MB / 3.547 GB, free: 19.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004194/12.23, allocations: 1.073 MB / 3.548 GB, free: 19.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=110): time 5.871e-06/12.23, allocations: 4 kB / 3.548 GB, free: 19.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.03002/12.26, allocations: 6.495 MB / 3.554 GB, free: 18.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000187/12.26, allocations: 305.2 kB / 3.554 GB, free: 18.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/12.26, allocations: 0.9208 MB / 3.555 GB, free: 17.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004897/12.26, allocations: 48.83 kB / 3.555 GB, free: 17.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006659/12.26, allocations: 0.557 MB / 3.556 GB, free: 17.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008268/12.26, allocations: 418.9 kB / 3.556 GB, free: 17.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/12.26, allocations: 26.78 kB / 3.556 GB, free: 17.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/12.26, allocations: 368.5 kB / 3.557 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/12.27, allocations: 0.6257 MB / 3.557 GB, free: 17.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002596/12.27, allocations: 1.033 MB / 3.558 GB, free: 16.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/12.27, allocations: 0.7325 MB / 3.559 GB, free: 16.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.21e-05/12.27, allocations: 3.562 kB / 3.559 GB, free: 16.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007216/12.28, allocations: 2.137 MB / 3.561 GB, free: 16.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001987/12.28, allocations: 4.367 MB / 3.565 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.793e-05/12.28, allocations: 11.69 kB / 3.565 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0122/12.29, allocations: 0.9954 MB / 3.566 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/12.29, allocations: 294.5 kB / 3.567 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00628/12.3, allocations: 4.034 MB / 3.571 GB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/12.3, allocations: 130.5 kB / 3.571 GB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005343/12.3, allocations: 72.92 kB / 3.571 GB, free: 24.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/12.3, allocations: 7.812 kB / 3.571 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006118/12.31, allocations: 1.815 MB / 3.573 GB, free: 24.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.061e-05/12.31, allocations: 10.22 kB / 3.573 GB, free: 24.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01083/12.32, allocations: 0.7461 MB / 3.573 GB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/12.32, allocations: 318.3 kB / 3.574 GB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009704/12.33, allocations: 6.758 MB / 3.58 GB, free: 19.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/12.34, allocations: 115.8 kB / 3.58 GB, free: 19.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003859/12.34, allocations: 70.53 kB / 3.58 GB, free: 19.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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,sink.state.phase,sink.medium.phase,userValve.state_b.phase,userValve.state_a.phase,reservoir.medium.phase,pumps.medium.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 (159): * Single equations (assignments): 153 * 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.001482/12.34, allocations: 465.7 kB / 3.581 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004566/12.34, allocations: 137.9 kB / 3.581 GB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/12.35, allocations: 4.94 MB / 3.586 GB, free: 18.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.247e-05/12.35, allocations: 53.73 kB / 3.586 GB, free: 18.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/12.35, allocations: 0 / 3.586 GB, free: 18.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.465e-05/12.35, allocations: 10.11 kB / 3.586 GB, free: 18.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/12.37, allocations: 6.734 MB / 3.592 GB, free: 18.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-05/12.37, allocations: 7.234 kB / 3.592 GB, free: 18.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/12.37, allocations: 173.9 kB / 3.593 GB, free: 18.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007587/12.37, allocations: 1.37 MB / 3.594 GB, free: 18.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004426/12.38, allocations: 35.28 kB / 3.594 GB, free: 18.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005586/12.38, allocations: 4.459 MB / 3.598 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/12.38, allocations: 6.828 kB / 3.598 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/12.39, allocations: 4.922 MB / 3.603 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/12.39, allocations: 0.546 MB / 3.604 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006353/12.39, allocations: 30.73 kB / 3.604 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002492/12.4, allocations: 108.1 kB / 3.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005655/12.4, allocations: 124.6 kB / 3.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/12.4, allocations: 49 kB / 3.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002202/12.4, allocations: 0.9828 MB / 3.605 GB, free: 14.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.42e-07/12.4, allocations: 4.453 kB / 3.605 GB, free: 14.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01094/12.41, allocations: 2.078 MB / 3.607 GB, free: 13.92 MB / 426.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.medium.T,reservoir.level,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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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.02499/12.44, allocations: 7.737 MB / 3.614 GB, free: 12.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01136/12.45, allocations: 3.405 MB / 3.618 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/12.45, allocations: 3.969 kB / 3.618 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004747/12.45, allocations: 1.511 MB / 3.619 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006017/12.46, allocations: 0.6427 MB / 3.62 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/12.48, allocations: 14.68 MB / 3.634 GB, free: 16.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/12.48, allocations: 1.538 MB / 3.636 GB, free: 16.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00414/12.49, allocations: 1.391 MB / 3.637 GB, free: 16.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001735/12.49, allocations: 0.7662 MB / 3.638 GB, free: 16 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/12.49, allocations: 0 / 3.638 GB, free: 16 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5371/13.03, allocations: 87.19 MB / 3.723 GB, free: 79.87 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/13.03, allocations: 244.4 kB / 3.723 GB, free: 79.62 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/19.75, allocations: 0 / 3.723 GB, free: 79.62 MB / 442.7 MB