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.773/2.773, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001662/0.001662, allocations: 183.7 kB / 370.8 MB, free: 10.85 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.143/2.143, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001183, allocations: 102.3 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004999, allocations: 12.09 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2297, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.455/1.685, allocations: 442.9 MB / 1.411 GB, free: 3.809 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/1.686, allocations: 101.4 kB / 1.411 GB, free: 3.754 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.983/9.668, allocations: 1.445 GB / 2.856 GB, free: 28.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.534e-06/9.668, allocations: 4 kB / 2.856 GB, free: 28.93 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0008797/9.669, allocations: 104 kB / 2.856 GB, free: 28.82 MB / 0.9636 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.02617/9.695, allocations: 5.666 MB / 2.861 GB, free: 23.08 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/9.695, allocations: 8.031 kB / 2.861 GB, free: 23.07 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001584/9.697, allocations: 295.4 kB / 2.862 GB, free: 22.77 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/9.709, allocations: 1.122 MB / 2.863 GB, free: 21.64 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1001/9.809, allocations: 28.53 MB / 2.891 GB, free: 8.836 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004657/9.809, allocations: 193.1 kB / 2.891 GB, free: 8.645 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/9.811, allocations: 244 kB / 2.891 GB, free: 8.406 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/9.823, allocations: 2.694 MB / 2.894 GB, free: 5.566 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.724e-05/9.823, allocations: 7.547 kB / 2.894 GB, free: 5.562 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000663/9.824, allocations: 84 kB / 2.894 GB, free: 5.48 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.077e-05/9.824, allocations: 52 kB / 2.894 GB, free: 5.43 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/9.835, allocations: 1.995 MB / 2.896 GB, free: 3.434 MB / 0.9792 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.035/9.87, allocations: 12.3 MB / 2.908 GB, free: 6.312 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007715/9.877, allocations: 1.632 MB / 2.909 GB, free: 4.668 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01312/9.891, allocations: 4.121 MB / 2.913 GB, free: 232 kB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/9.891, allocations: 51.56 kB / 2.913 GB, free: 172 kB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.8518/10.74, allocations: 221.4 kB / 2.914 GB, free: 113 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=119): time 7.434e-06/10.74, allocations: 0 / 2.914 GB, free: 113 MB / 0.9948 GB Notification: Performance of matching and sorting (n=119): time 0.0252/10.77, allocations: 4.006 MB / 2.918 GB, free: 112.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/10.77, allocations: 65.31 kB / 2.918 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009163/10.78, allocations: 2.951 MB / 2.921 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007353/10.78, allocations: 66.17 kB / 2.921 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002702/10.78, allocations: 1.758 MB / 2.922 GB, free: 111.6 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008909/10.78, allocations: 412.4 kB / 2.923 GB, free: 111.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/10.78, allocations: 35 kB / 2.923 GB, free: 111.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001997/10.78, allocations: 380.2 kB / 2.923 GB, free: 111.1 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003954/10.79, allocations: 0.7622 MB / 2.924 GB, free: 111.1 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004866/10.79, allocations: 1.574 MB / 2.925 GB, free: 110.2 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004683/10.8, allocations: 0.9329 MB / 2.926 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-05/10.8, allocations: 5.844 kB / 2.926 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01365/10.81, allocations: 2.911 MB / 2.929 GB, free: 109.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00184/10.81, allocations: 8.144 MB / 2.937 GB, free: 101.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.078e-05/10.81, allocations: 18.89 kB / 2.937 GB, free: 101.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003844/10.82, allocations: 0.6739 MB / 2.938 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003408/10.82, allocations: 389.4 kB / 2.938 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005991/10.82, allocations: 5.161 MB / 2.943 GB, free: 97.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005446/10.83, allocations: 221.7 kB / 2.943 GB, free: 97.24 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009843/10.83, allocations: 180.8 kB / 2.944 GB, free: 97.24 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/10.83, allocations: 3.594 kB / 2.944 GB, free: 97.24 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01336/10.84, allocations: 2.943 MB / 2.946 GB, free: 97.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-05/10.84, allocations: 25.45 kB / 2.946 GB, free: 97.12 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005577/10.85, allocations: 1.087 MB / 2.948 GB, free: 97.06 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002822/10.85, allocations: 366.7 kB / 2.948 GB, free: 97.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02767/10.88, allocations: 14.44 MB / 2.962 GB, free: 88.92 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005049/10.89, allocations: 219.1 kB / 2.962 GB, free: 88.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007808/10.89, allocations: 148 kB / 2.962 GB, free: 88.91 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.003449/10.89, allocations: 0.8688 MB / 2.963 GB, free: 88.73 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/10.89, allocations: 359.4 kB / 2.964 GB, free: 88.53 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/10.91, allocations: 3.075 MB / 2.967 GB, free: 88.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.976e-05/10.91, allocations: 18.25 kB / 2.967 GB, free: 88.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/10.91, allocations: 3.062 kB / 2.967 GB, free: 88.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.715e-05/10.91, allocations: 11.12 kB / 2.967 GB, free: 88.3 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.02167/10.93, allocations: 5.17 MB / 2.972 GB, free: 87.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/10.93, allocations: 1.781 kB / 2.972 GB, free: 87.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/10.93, allocations: 209.7 kB / 2.972 GB, free: 87.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003584/10.94, allocations: 0.667 MB / 2.972 GB, free: 87.68 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003732/10.94, allocations: 47.8 kB / 2.973 GB, free: 87.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00524/10.94, allocations: 5.037 MB / 2.977 GB, free: 83.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/10.94, allocations: 5.047 kB / 2.977 GB, free: 83.52 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/10.96, allocations: 2.784 MB / 2.98 GB, free: 82.86 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002757/10.96, allocations: 0.6156 MB / 2.981 GB, free: 82.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/10.96, allocations: 24.16 kB / 2.981 GB, free: 82.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005961/10.97, allocations: 216.4 kB / 2.981 GB, free: 82.56 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006237/10.97, allocations: 93.94 kB / 2.981 GB, free: 82.56 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004781/10.97, allocations: 78.98 kB / 2.981 GB, free: 82.56 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.007231/10.97, allocations: 2.264 MB / 2.983 GB, free: 82.38 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.71e-07/10.97, allocations: 0 / 2.983 GB, free: 82.38 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01334/10.99, allocations: 2.029 MB / 2.985 GB, free: 82.3 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.01658/11, allocations: 5.591 MB / 2.991 GB, free: 80.53 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01492/11.02, allocations: 3.968 MB / 2.995 GB, free: 80.02 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/11.02, allocations: 3.438 kB / 2.995 GB, free: 80.02 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004436/11.02, allocations: 0.961 MB / 2.996 GB, free: 80 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01379/11.04, allocations: 1.694 MB / 2.997 GB, free: 79.98 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/11.06, allocations: 21.11 MB / 3.018 GB, free: 63.62 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003244/11.07, allocations: 2.313 MB / 3.02 GB, free: 62.86 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.007042/11.07, allocations: 0.8188 MB / 3.021 GB, free: 62.83 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004298/11.08, allocations: 1.613 MB / 3.023 GB, free: 62.82 MB / 0.9948 GB Notification: Performance of SimCode: time 1.924e-06/11.08, allocations: 0 / 3.023 GB, free: 62.82 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2946/11.37, allocations: 129.3 MB / 3.149 GB, free: 55.45 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/11.37, allocations: 269.5 kB / 3.149 GB, free: 55.09 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.702/20.08, allocations: 0 / 3.149 GB, free: 55.09 MB / 0.9948 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)