Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.364/2.364, allocations: 284.7 MB / 297.2 MB, free: 6.32 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.001476/0.001476, allocations: 176.8 kB / 365.6 MB, free: 2.617 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.1 MB / 0.6239 GB, free: 8.262 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.001171/0.00117, allocations: 95.61 kB / 0.7371 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.69e-05/5.715e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8128/0.8129, allocations: 115.2 MB / 0.9699 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.338/2.151, allocations: 442.8 MB / 1.402 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/2.151, allocations: 91.12 kB / 1.402 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.061/10.21, allocations: 1.441 GB / 2.843 GB, free: 99.27 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.374e-06/10.21, allocations: 0 / 2.843 GB, free: 99.27 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0009227/10.21, allocations: 103.1 kB / 2.843 GB, free: 99.26 MB / 0.9792 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.014/10.23, allocations: 3.69 MB / 2.847 GB, free: 97.61 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/10.23, allocations: 11.28 kB / 2.847 GB, free: 97.61 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001256/10.23, allocations: 289.9 kB / 2.847 GB, free: 97.56 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/10.24, allocations: 1.124 MB / 2.848 GB, free: 97.32 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09731/10.34, allocations: 28.38 MB / 2.876 GB, free: 95.63 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/10.34, allocations: 185.5 kB / 2.876 GB, free: 95.62 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/10.34, allocations: 247.3 kB / 2.876 GB, free: 95.62 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008386/10.35, allocations: 2.562 MB / 2.879 GB, free: 95.25 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.578e-05/10.35, allocations: 5.469 kB / 2.879 GB, free: 95.25 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004556/10.35, allocations: 86.69 kB / 2.879 GB, free: 95.25 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/10.35, allocations: 53.05 kB / 2.879 GB, free: 95.25 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00629/10.35, allocations: 1.759 MB / 2.881 GB, free: 95.23 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.03111/10.39, allocations: 12.3 MB / 2.893 GB, free: 89.29 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/10.39, allocations: 1.434 MB / 2.894 GB, free: 89.25 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/10.39, allocations: 0.6414 MB / 2.895 GB, free: 89.23 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01275/10.4, allocations: 4.178 MB / 2.899 GB, free: 87.35 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/10.4, allocations: 51.45 kB / 2.899 GB, free: 87.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002718/10.41, allocations: 231.4 kB / 2.899 GB, free: 87.22 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=119): time 1.03e-05/10.41, allocations: 0 / 2.899 GB, free: 87.22 MB / 0.9792 GB Notification: Performance of matching and sorting (n=119): time 0.008748/10.42, allocations: 1.966 MB / 2.901 GB, free: 86.89 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/10.42, allocations: 66.97 kB / 2.901 GB, free: 86.83 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007941/10.42, allocations: 2.92 MB / 2.904 GB, free: 86.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0007261/10.42, allocations: 63.77 kB / 2.904 GB, free: 86.47 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002682/10.43, allocations: 1.762 MB / 2.906 GB, free: 86.01 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009227/10.43, allocations: 416.1 kB / 2.906 GB, free: 85.75 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/10.43, allocations: 37.59 kB / 2.906 GB, free: 85.75 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001969/10.43, allocations: 377.5 kB / 2.907 GB, free: 85.45 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/10.43, allocations: 0.6516 MB / 2.907 GB, free: 85.44 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00285/10.43, allocations: 1.467 MB / 2.909 GB, free: 84.48 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002564/10.44, allocations: 0.8379 MB / 2.909 GB, free: 84.45 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.56e-05/10.44, allocations: 7.469 kB / 2.909 GB, free: 84.45 MB / 0.9792 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009312/10.45, allocations: 2.684 MB / 2.912 GB, free: 84.12 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001965/10.45, allocations: 8.144 MB / 2.92 GB, free: 75.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.77e-05/10.45, allocations: 18 kB / 2.92 GB, free: 75.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00411/10.45, allocations: 0.6395 MB / 2.921 GB, free: 75.71 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/10.46, allocations: 395.5 kB / 2.921 GB, free: 75.71 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004767/10.46, allocations: 5.106 MB / 2.926 GB, free: 71.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/10.47, allocations: 223.7 kB / 2.926 GB, free: 71.54 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009279/10.47, allocations: 181.9 kB / 2.926 GB, free: 71.54 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/10.47, allocations: 5.062 kB / 2.926 GB, free: 71.54 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009758/10.48, allocations: 2.748 MB / 2.929 GB, free: 71.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.956e-05/10.48, allocations: 18.72 kB / 2.929 GB, free: 71.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004832/10.48, allocations: 1.051 MB / 2.93 GB, free: 71.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/10.48, allocations: 368.6 kB / 2.931 GB, free: 71.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02589/10.51, allocations: 14.03 MB / 2.944 GB, free: 63 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004943/10.52, allocations: 212.3 kB / 2.944 GB, free: 62.99 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007817/10.52, allocations: 153.1 kB / 2.945 GB, free: 62.99 MB / 0.9792 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 () * 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.0008753/10.52, allocations: 222.8 kB / 2.945 GB, free: 62.83 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/10.52, allocations: 360.8 kB / 2.945 GB, free: 62.64 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/10.53, allocations: 2.854 MB / 2.948 GB, free: 61.66 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.599e-05/10.53, allocations: 14.06 kB / 2.948 GB, free: 61.66 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/10.53, allocations: 0 / 2.948 GB, free: 61.66 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.093e-05/10.53, allocations: 7.172 kB / 2.948 GB, free: 61.66 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.01693/10.55, allocations: 4.942 MB / 2.953 GB, free: 59.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/10.55, allocations: 3.594 kB / 2.953 GB, free: 59.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/10.55, allocations: 214.5 kB / 2.953 GB, free: 59.58 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/10.55, allocations: 0.6304 MB / 2.954 GB, free: 59.36 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003591/10.55, allocations: 48.56 kB / 2.954 GB, free: 59.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004163/10.56, allocations: 4.978 MB / 2.958 GB, free: 54.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/10.56, allocations: 13.34 kB / 2.959 GB, free: 54.81 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008535/10.57, allocations: 2.559 MB / 2.961 GB, free: 53.58 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00256/10.57, allocations: 0.6148 MB / 2.962 GB, free: 53.17 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001191/10.57, allocations: 23.53 kB / 2.962 GB, free: 53.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004592/10.57, allocations: 207.3 kB / 2.962 GB, free: 53.12 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004129/10.57, allocations: 91.33 kB / 2.962 GB, free: 53.11 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003074/10.57, allocations: 82.48 kB / 2.962 GB, free: 53.1 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.006272/10.58, allocations: 2.224 MB / 2.964 GB, free: 52.23 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.042e-06/10.58, allocations: 0 / 2.964 GB, free: 52.23 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01303/10.59, allocations: 2.027 MB / 2.966 GB, free: 51.77 MB / 0.9792 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 () * 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.01272/10.61, allocations: 5.364 MB / 2.971 GB, free: 49.11 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01046/10.62, allocations: 3.793 MB / 2.975 GB, free: 47.48 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/10.62, allocations: 0 / 2.975 GB, free: 47.48 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002909/10.62, allocations: 0.8571 MB / 2.976 GB, free: 47.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01322/10.63, allocations: 1.71 MB / 2.978 GB, free: 46.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/10.65, allocations: 5.459 MB / 2.983 GB, free: 44.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003451/10.66, allocations: 2.32 MB / 2.985 GB, free: 43.66 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01021/10.67, allocations: 1.281 MB / 2.986 GB, free: 43.46 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003265/10.67, allocations: 1.551 MB / 2.988 GB, free: 42.2 MB / 0.9792 GB Notification: Performance of SimCode: time 1.663e-06/10.67, allocations: 0 / 2.988 GB, free: 42.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.947/12.62, allocations: 139.4 MB / 3.124 GB, free: 108.8 MB / 1.011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/12.62, allocations: 234.4 kB / 3.124 GB, free: 108.5 MB / 1.011 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.719/22.34, allocations: 3.719 kB / 3.124 GB, free: 108.5 MB / 1.011 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)