Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.6 MB / 307.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 181 kB / 377.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 0.6366 GB, free: 8.637 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 92.77 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004054, allocations: 12 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3266, allocations: 116.3 MB / 0.9884 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.92/2.247, allocations: 444 MB / 1.422 GB, free: 269.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/2.248, allocations: 93.31 kB / 1.422 GB, free: 269.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.547/8.795, allocations: 1.445 GB / 2.867 GB, free: 89.43 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.386e-06/8.795, allocations: 0 / 2.867 GB, free: 89.43 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001013/8.796, allocations: 110.6 kB / 2.867 GB, free: 89.43 MB / 0.9948 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.02439/8.82, allocations: 5.66 MB / 2.873 GB, free: 87.77 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 8.175e-05/8.82, allocations: 8.125 kB / 2.873 GB, free: 87.77 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001977/8.822, allocations: 299.6 kB / 2.873 GB, free: 87.72 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008494/8.831, allocations: 1.119 MB / 2.874 GB, free: 87.48 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07157/8.902, allocations: 28.55 MB / 2.902 GB, free: 85.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/8.903, allocations: 183.4 kB / 2.902 GB, free: 85.81 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001368/8.904, allocations: 242.2 kB / 2.902 GB, free: 85.81 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/8.914, allocations: 2.688 MB / 2.905 GB, free: 85.44 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/8.914, allocations: 2.625 kB / 2.905 GB, free: 85.44 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009118/8.915, allocations: 88.8 kB / 2.905 GB, free: 85.44 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.002e-05/8.915, allocations: 54.14 kB / 2.905 GB, free: 85.44 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006954/8.922, allocations: 1.985 MB / 2.907 GB, free: 85.43 MB / 0.9948 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.02825/8.951, allocations: 12.31 MB / 2.919 GB, free: 79.48 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004831/8.956, allocations: 1.635 MB / 2.921 GB, free: 79.44 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/8.967, allocations: 4.129 MB / 2.925 GB, free: 77.56 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/8.967, allocations: 46.56 kB / 2.925 GB, free: 77.52 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002775/8.97, allocations: 227.9 kB / 2.925 GB, free: 77.44 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=119): time 1.302e-05/8.97, allocations: 0 / 2.925 GB, free: 77.44 MB / 0.9948 GB Notification: Performance of matching and sorting (n=119): time 0.01459/8.984, allocations: 4.006 MB / 2.929 GB, free: 76.36 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/8.984, allocations: 68.53 kB / 2.929 GB, free: 76.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008293/8.993, allocations: 2.956 MB / 2.932 GB, free: 75.99 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007774/8.993, allocations: 62.02 kB / 2.932 GB, free: 75.96 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002645/8.996, allocations: 1.764 MB / 2.934 GB, free: 75.5 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009393/8.997, allocations: 411.8 kB / 2.934 GB, free: 75.24 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004864/8.998, allocations: 34.44 kB / 2.934 GB, free: 75.24 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002664/8.998, allocations: 385.5 kB / 2.934 GB, free: 74.93 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/9, allocations: 0.7641 MB / 2.935 GB, free: 74.93 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003141/9.004, allocations: 1.567 MB / 2.937 GB, free: 73.97 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/9.007, allocations: 0.9395 MB / 2.938 GB, free: 73.95 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.312e-05/9.007, allocations: 6.5 kB / 2.938 GB, free: 73.95 MB / 0.9948 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.00985/9.017, allocations: 2.91 MB / 2.94 GB, free: 73.61 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002601/9.019, allocations: 8.142 MB / 2.948 GB, free: 65.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/9.019, allocations: 20.88 kB / 2.948 GB, free: 65.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002523/9.022, allocations: 0.6721 MB / 2.949 GB, free: 65.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/9.024, allocations: 390.8 kB / 2.949 GB, free: 65.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004346/9.028, allocations: 5.157 MB / 2.954 GB, free: 61.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004694/9.033, allocations: 223.4 kB / 2.955 GB, free: 61.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008336/9.034, allocations: 176.2 kB / 2.955 GB, free: 61.04 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/9.034, allocations: 6.984 kB / 2.955 GB, free: 61.04 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01022/9.044, allocations: 2.938 MB / 2.958 GB, free: 60.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/9.044, allocations: 21.34 kB / 2.958 GB, free: 60.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003357/9.048, allocations: 1.085 MB / 2.959 GB, free: 60.87 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/9.049, allocations: 366.8 kB / 2.959 GB, free: 60.87 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/9.071, allocations: 14.45 MB / 2.973 GB, free: 52.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004499/9.076, allocations: 217.5 kB / 2.973 GB, free: 52.69 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008677/9.077, allocations: 149.8 kB / 2.974 GB, free: 52.69 MB / 0.9948 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.003614/9.08, allocations: 0.8751 MB / 2.974 GB, free: 52.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/9.082, allocations: 363 kB / 2.975 GB, free: 52.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/9.093, allocations: 3.073 MB / 2.978 GB, free: 52.07 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.815e-05/9.093, allocations: 17.39 kB / 2.978 GB, free: 52.07 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/9.093, allocations: 1.531 kB / 2.978 GB, free: 52.07 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.523e-05/9.093, allocations: 7.125 kB / 2.978 GB, free: 52.07 MB / 0.9948 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.0184/9.112, allocations: 5.166 MB / 2.983 GB, free: 51.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/9.112, allocations: 0.8438 kB / 2.983 GB, free: 51.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/9.113, allocations: 214.3 kB / 2.983 GB, free: 51.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002146/9.115, allocations: 0.6624 MB / 2.984 GB, free: 51.45 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/9.115, allocations: 51.42 kB / 2.984 GB, free: 51.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004081/9.119, allocations: 5.034 MB / 2.989 GB, free: 47.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/9.12, allocations: 4.406 kB / 2.989 GB, free: 47.29 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008185/9.128, allocations: 2.791 MB / 2.991 GB, free: 46.62 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003007/9.131, allocations: 0.6131 MB / 2.992 GB, free: 46.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001336/9.132, allocations: 33.36 kB / 2.992 GB, free: 46.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003252/9.135, allocations: 218.6 kB / 2.992 GB, free: 46.31 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/9.136, allocations: 89.81 kB / 2.992 GB, free: 46.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/9.136, allocations: 80.06 kB / 2.992 GB, free: 46.3 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005506/9.141, allocations: 2.256 MB / 2.995 GB, free: 46.12 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.81e-07/9.141, allocations: 1.031 kB / 2.995 GB, free: 46.12 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01197/9.153, allocations: 2.026 MB / 2.997 GB, free: 45.86 MB / 0.9948 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.0117/9.165, allocations: 5.587 MB / 3.002 GB, free: 43.94 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.009319/9.175, allocations: 3.967 MB / 3.006 GB, free: 43.42 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/9.175, allocations: 0 / 3.006 GB, free: 43.42 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00247/9.177, allocations: 0.9546 MB / 3.007 GB, free: 43.41 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009438/9.187, allocations: 1.709 MB / 3.009 GB, free: 43.38 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/9.213, allocations: 21.1 MB / 3.029 GB, free: 42.89 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/9.216, allocations: 2.313 MB / 3.031 GB, free: 42.13 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005048/9.221, allocations: 0.8292 MB / 3.032 GB, free: 42 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002831/9.224, allocations: 1.603 MB / 3.034 GB, free: 41.99 MB / 1.01 GB Notification: Performance of SimCode: time 1.347e-05/9.224, allocations: 0 / 3.034 GB, free: 41.99 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2367/9.461, allocations: 129.3 MB / 3.16 GB, free: 24.62 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/9.461, allocations: 258.9 kB / 3.16 GB, free: 24.28 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/17.44, allocations: 4 kB / 3.16 GB, free: 24.27 MB / 1.01 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)