Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 183.6 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 98.92 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 10.81 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2464, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/1.327, allocations: 435.4 MB / 1.325 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/1.327, allocations: 97.2 kB / 1.325 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.076/7.403, allocations: 1.406 GB / 2.732 GB, free: 45.26 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.506e-06/7.403, allocations: 3.938 kB / 2.732 GB, free: 45.25 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.00107/7.404, allocations: 103.9 kB / 2.732 GB, free: 45.15 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.02379/7.428, allocations: 5.654 MB / 2.738 GB, free: 39.42 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.833e-05/7.428, allocations: 8.031 kB / 2.738 GB, free: 39.41 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002162/7.431, allocations: 291.4 kB / 2.738 GB, free: 39.11 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008792/7.439, allocations: 1.126 MB / 2.739 GB, free: 37.98 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07273/7.512, allocations: 27.88 MB / 2.766 GB, free: 9.883 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000355/7.513, allocations: 189.4 kB / 2.766 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001372/7.514, allocations: 240 kB / 2.767 GB, free: 9.461 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009842/7.524, allocations: 2.687 MB / 2.769 GB, free: 6.629 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/7.524, allocations: 8 kB / 2.769 GB, free: 6.621 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008066/7.525, allocations: 87.44 kB / 2.769 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-05/7.525, allocations: 48 kB / 2.769 GB, free: 6.492 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006551/7.531, allocations: 1.987 MB / 2.771 GB, free: 4.504 MB / 0.9323 GB 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.03039/7.562, allocations: 12.28 MB / 2.783 GB, free: 7.395 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005451/7.567, allocations: 1.624 MB / 2.785 GB, free: 5.758 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01268/7.58, allocations: 4.121 MB / 2.789 GB, free: 1.312 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/7.58, allocations: 47.56 kB / 2.789 GB, free: 1.258 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002885/7.583, allocations: 222.2 kB / 2.789 GB, free: 1.039 MB / 0.948 GB Notification: Performance of pre-optimization done (n=119): time 1.111e-05/7.583, allocations: 0 / 2.789 GB, free: 1.039 MB / 0.948 GB Notification: Performance of matching and sorting (n=119): time 0.01503/7.598, allocations: 4.005 MB / 2.793 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/7.598, allocations: 68.36 kB / 2.793 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/7.608, allocations: 2.952 MB / 2.796 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0008734/7.609, allocations: 61.7 kB / 2.796 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003081/7.612, allocations: 1.763 MB / 2.798 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/7.614, allocations: 410 kB / 2.798 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005275/7.614, allocations: 36 kB / 2.798 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003336/7.614, allocations: 381.9 kB / 2.799 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002771/7.617, allocations: 0.7612 MB / 2.799 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003652/7.621, allocations: 1.565 MB / 2.801 GB, free: 4.445 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/7.624, allocations: 0.9405 MB / 2.802 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.07e-05/7.624, allocations: 8 kB / 2.802 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009656/7.634, allocations: 2.905 MB / 2.805 GB, free: 0.5664 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.8681/8.502, allocations: 8.141 MB / 2.813 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.119e-05/8.502, allocations: 16.97 kB / 2.813 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003344/8.505, allocations: 0.6731 MB / 2.813 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002279/8.508, allocations: 392.4 kB / 2.814 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004281/8.512, allocations: 5.157 MB / 2.819 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004765/8.517, allocations: 222.3 kB / 2.819 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006553/8.517, allocations: 178.6 kB / 2.819 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/8.517, allocations: 3.094 kB / 2.819 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008504/8.526, allocations: 2.938 MB / 2.822 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.31e-05/8.526, allocations: 16.83 kB / 2.822 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004228/8.53, allocations: 1.088 MB / 2.823 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/8.532, allocations: 364.9 kB / 2.823 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02377/8.556, allocations: 14.44 MB / 2.837 GB, free: 99.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004166/8.56, allocations: 215.5 kB / 2.838 GB, free: 99.29 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008058/8.561, allocations: 149.6 kB / 2.838 GB, free: 99.29 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.003867/8.565, allocations: 0.8754 MB / 2.839 GB, free: 99.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001761/8.567, allocations: 356.2 kB / 2.839 GB, free: 99.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/8.579, allocations: 3.085 MB / 2.842 GB, free: 98.91 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-05/8.579, allocations: 16.94 kB / 2.842 GB, free: 98.91 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/8.579, allocations: 0 / 2.842 GB, free: 98.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/8.579, allocations: 6.938 kB / 2.842 GB, free: 98.91 MB / 0.9636 GB 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 postOpt removeSimpleEquations (simulation): time 0.01783/8.597, allocations: 5.145 MB / 2.847 GB, free: 98.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/8.597, allocations: 0 / 2.847 GB, free: 98.39 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/8.598, allocations: 210.5 kB / 2.847 GB, free: 98.39 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/8.6, allocations: 0.6731 MB / 2.848 GB, free: 98.33 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000247/8.6, allocations: 46.16 kB / 2.848 GB, free: 98.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/8.604, allocations: 5.037 MB / 2.853 GB, free: 94.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/8.604, allocations: 3.594 kB / 2.853 GB, free: 94.18 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00795/8.612, allocations: 2.783 MB / 2.856 GB, free: 93.52 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002875/8.615, allocations: 0.6111 MB / 2.856 GB, free: 93.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001555/8.617, allocations: 27.97 kB / 2.856 GB, free: 93.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003489/8.62, allocations: 213.7 kB / 2.856 GB, free: 93.22 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/8.621, allocations: 98 kB / 2.856 GB, free: 93.22 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000296/8.621, allocations: 80.2 kB / 2.857 GB, free: 93.22 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.007817/8.629, allocations: 2.26 MB / 2.859 GB, free: 93.04 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.42e-07/8.629, allocations: 0 / 2.859 GB, free: 93.04 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01418/8.643, allocations: 1.987 MB / 2.861 GB, free: 92.96 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01448/8.657, allocations: 5.56 MB / 2.866 GB, free: 91.21 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01161/8.669, allocations: 3.96 MB / 2.87 GB, free: 90.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/8.669, allocations: 1.875 kB / 2.87 GB, free: 90.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00327/8.672, allocations: 0.961 MB / 2.871 GB, free: 90.68 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009633/8.682, allocations: 1.691 MB / 2.873 GB, free: 90.66 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02815/8.71, allocations: 21.09 MB / 2.893 GB, free: 74.29 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004303/8.715, allocations: 2.318 MB / 2.895 GB, free: 73.53 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006142/8.721, allocations: 0.8195 MB / 2.896 GB, free: 73.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003795/8.725, allocations: 1.604 MB / 2.898 GB, free: 73.49 MB / 0.9636 GB Notification: Performance of SimCode: time 1.854e-06/8.725, allocations: 1.688 kB / 2.898 GB, free: 73.49 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2478/8.973, allocations: 128.8 MB / 3.024 GB, free: 66.14 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/8.973, allocations: 269.5 kB / 3.024 GB, free: 65.79 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/16.55, allocations: 0 / 3.024 GB, free: 65.79 MB / 0.9636 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)