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 2.175/2.175, allocations: 194.9 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004897, allocations: 11.94 kB / 264.1 MB, free: 2.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3099, allocations: 44.51 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.375/8.685, allocations: 2.625 GB / 2.926 GB, free: 93.39 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/8.685, allocations: 89.48 kB / 2.926 GB, free: 93.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.019/12.7, allocations: 0.7028 GB / 3.629 GB, free: 24.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.805e-06/12.7, allocations: 0 / 3.629 GB, free: 24.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001638/12.7, allocations: 43.67 kB / 3.629 GB, free: 24.95 MB / 426.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.01454/12.72, allocations: 2.844 MB / 3.632 GB, free: 22.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/12.72, allocations: 12.03 kB / 3.632 GB, free: 22.34 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008703/12.72, allocations: 186.6 kB / 3.632 GB, free: 22.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006026/12.73, allocations: 0.5618 MB / 3.632 GB, free: 21.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/12.73, allocations: 0.994 MB / 3.633 GB, free: 20.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/12.73, allocations: 181.9 kB / 3.634 GB, free: 20.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006476/12.73, allocations: 115.6 kB / 3.634 GB, free: 20.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006715/12.74, allocations: 2.02 MB / 3.636 GB, free: 18.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.672e-05/12.74, allocations: 3.938 kB / 3.636 GB, free: 18.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/12.74, allocations: 49.64 kB / 3.636 GB, free: 18.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/12.74, allocations: 80.39 kB / 3.636 GB, free: 18.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006504/12.74, allocations: 1.747 MB / 3.638 GB, free: 17.2 MB / 426.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.02043/12.76, allocations: 9.333 MB / 3.647 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004961/12.77, allocations: 1.473 MB / 3.648 GB, free: 5.816 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5675/13.34, allocations: 63.38 MB / 3.71 GB, free: 20.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003883/13.34, allocations: 1.072 MB / 3.711 GB, free: 20.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=110): time 5.371e-06/13.34, allocations: 0 / 3.711 GB, free: 20.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.03022/13.37, allocations: 6.498 MB / 3.717 GB, free: 19.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/13.37, allocations: 308.7 kB / 3.718 GB, free: 18.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/13.37, allocations: 0.9142 MB / 3.719 GB, free: 18.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004392/13.37, allocations: 48.17 kB / 3.719 GB, free: 18.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006043/13.37, allocations: 0.5647 MB / 3.719 GB, free: 18.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008877/13.38, allocations: 416.4 kB / 3.72 GB, free: 18.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/13.38, allocations: 24.75 kB / 3.72 GB, free: 18.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/13.38, allocations: 366.3 kB / 3.72 GB, free: 18.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/13.38, allocations: 0.635 MB / 3.721 GB, free: 18.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002649/13.38, allocations: 1.033 MB / 3.722 GB, free: 17.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/13.38, allocations: 0.7316 MB / 3.722 GB, free: 17.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.687e-05/13.38, allocations: 3.812 kB / 3.722 GB, free: 17.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.009528/13.39, allocations: 2.135 MB / 3.724 GB, free: 17.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001249/13.4, allocations: 4.366 MB / 3.729 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.346e-05/13.4, allocations: 13 kB / 3.729 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01629/13.41, allocations: 0.9958 MB / 3.73 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003298/13.41, allocations: 297 kB / 3.73 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007462/13.42, allocations: 4.026 MB / 3.734 GB, free: 25.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/13.43, allocations: 137 kB / 3.734 GB, free: 25.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004566/13.43, allocations: 68.89 kB / 3.734 GB, free: 25.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/13.43, allocations: 3.75 kB / 3.734 GB, free: 25.57 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00835/13.43, allocations: 1.815 MB / 3.736 GB, free: 25.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-05/13.43, allocations: 12.97 kB / 3.736 GB, free: 25.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01413/13.45, allocations: 0.7469 MB / 3.737 GB, free: 25.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/13.45, allocations: 317.7 kB / 3.737 GB, free: 25.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/13.46, allocations: 6.749 MB / 3.743 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/13.47, allocations: 122.2 kB / 3.744 GB, free: 20.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/13.47, allocations: 70.06 kB / 3.744 GB, free: 20.35 MB / 458.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.001312/13.47, allocations: 467.1 kB / 3.744 GB, free: 20.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004513/13.47, allocations: 135.4 kB / 3.744 GB, free: 20.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/13.48, allocations: 4.936 MB / 3.749 GB, free: 19.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.655e-05/13.48, allocations: 54.22 kB / 3.749 GB, free: 19.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/13.48, allocations: 2.5 kB / 3.749 GB, free: 19.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.825e-05/13.48, allocations: 12.42 kB / 3.749 GB, free: 19.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/13.49, allocations: 6.735 MB / 3.756 GB, free: 19.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/13.49, allocations: 6.812 kB / 3.756 GB, free: 19.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/13.5, allocations: 179.9 kB / 3.756 GB, free: 19.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0072/13.5, allocations: 1.367 MB / 3.757 GB, free: 18.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003243/13.5, allocations: 39.98 kB / 3.757 GB, free: 18.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005428/13.51, allocations: 4.458 MB / 3.762 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/13.51, allocations: 0 / 3.762 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/13.52, allocations: 4.925 MB / 3.766 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/13.52, allocations: 0.5457 MB / 3.767 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/13.52, allocations: 28.34 kB / 3.767 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/13.52, allocations: 110.9 kB / 3.767 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003706/13.52, allocations: 126.5 kB / 3.767 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/13.52, allocations: 54.09 kB / 3.767 GB, free: 15 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001938/13.53, allocations: 0.9814 MB / 3.768 GB, free: 14.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.162e-06/13.53, allocations: 0.9844 kB / 3.768 GB, free: 14.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009589/13.54, allocations: 2.092 MB / 3.77 GB, free: 14.81 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.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.02285/13.56, allocations: 7.752 MB / 3.778 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01079/13.57, allocations: 3.396 MB / 3.781 GB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/13.57, allocations: 3.469 kB / 3.781 GB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004656/13.57, allocations: 1.509 MB / 3.783 GB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00613/13.58, allocations: 0.6457 MB / 3.783 GB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/13.6, allocations: 14.69 MB / 3.798 GB, free: 17.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/13.6, allocations: 1.539 MB / 3.799 GB, free: 17 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004093/13.61, allocations: 1.384 MB / 3.8 GB, free: 16.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/13.61, allocations: 0.7548 MB / 3.801 GB, free: 16.93 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/13.61, allocations: 0 / 3.801 GB, free: 16.93 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6298/14.24, allocations: 87.38 MB / 3.886 GB, free: 76.98 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/14.24, allocations: 240.9 kB / 3.887 GB, free: 76.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/22.1, allocations: 0 / 3.887 GB, free: 76.73 MB / 474.7 MB