Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.256/2.256, allocations: 248.5 MB / 261.1 MB, free: 6.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 182.5 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001127/0.001127, allocations: 98.05 kB / 0.6754 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.889e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2019, allocations: 106.3 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.891/2.093, allocations: 435.1 MB / 1.316 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/2.093, allocations: 87.77 kB / 1.316 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.682/9.776, allocations: 1.402 GB / 2.718 GB, free: 87.28 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.853e-06/9.776, allocations: 0 / 2.718 GB, free: 87.28 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0008805/9.777, allocations: 101.9 kB / 2.718 GB, free: 87.26 MB / 0.9167 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.01391/9.791, allocations: 3.701 MB / 2.722 GB, free: 85.65 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/9.791, allocations: 7.656 kB / 2.722 GB, free: 85.65 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00123/9.792, allocations: 288.2 kB / 2.722 GB, free: 85.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/9.803, allocations: 1.127 MB / 2.723 GB, free: 85.35 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09341/9.897, allocations: 27.71 MB / 2.75 GB, free: 83.66 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/9.897, allocations: 185.5 kB / 2.75 GB, free: 83.65 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/9.898, allocations: 240.7 kB / 2.751 GB, free: 83.65 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007116/9.905, allocations: 2.566 MB / 2.753 GB, free: 83.28 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.649e-05/9.905, allocations: 0 / 2.753 GB, free: 83.28 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004046/9.906, allocations: 88.75 kB / 2.753 GB, free: 83.28 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/9.906, allocations: 52.19 kB / 2.753 GB, free: 83.28 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005899/9.912, allocations: 1.76 MB / 2.755 GB, free: 83.27 MB / 0.9167 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.03168/9.944, allocations: 12.28 MB / 2.767 GB, free: 77.31 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003825/9.947, allocations: 1.428 MB / 2.768 GB, free: 77.26 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/9.949, allocations: 0.6442 MB / 2.769 GB, free: 77.25 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01229/9.962, allocations: 4.147 MB / 2.773 GB, free: 75.36 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/9.962, allocations: 54.75 kB / 2.773 GB, free: 75.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002534/9.964, allocations: 230.8 kB / 2.773 GB, free: 75.24 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=119): time 7.835e-06/9.964, allocations: 0 / 2.773 GB, free: 75.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=119): time 0.008459/9.973, allocations: 1.967 MB / 2.775 GB, free: 74.92 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/9.973, allocations: 63.12 kB / 2.775 GB, free: 74.86 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00729/9.98, allocations: 2.916 MB / 2.778 GB, free: 74.53 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007074/9.981, allocations: 61.86 kB / 2.778 GB, free: 74.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002336/9.983, allocations: 1.759 MB / 2.78 GB, free: 74.04 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000811/9.984, allocations: 419.2 kB / 2.78 GB, free: 73.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/9.984, allocations: 35.84 kB / 2.78 GB, free: 73.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001706/9.985, allocations: 381.6 kB / 2.781 GB, free: 73.47 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/9.986, allocations: 0.6527 MB / 2.781 GB, free: 73.46 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/9.989, allocations: 1.46 MB / 2.783 GB, free: 72.51 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/9.991, allocations: 0.8419 MB / 2.784 GB, free: 72.48 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.273e-05/9.992, allocations: 7.406 kB / 2.784 GB, free: 72.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008416/10, allocations: 2.676 MB / 2.786 GB, free: 72.15 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001909/10, allocations: 8.143 MB / 2.794 GB, free: 63.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.805e-05/10, allocations: 20.94 kB / 2.794 GB, free: 63.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003103/10.01, allocations: 0.6375 MB / 2.795 GB, free: 63.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/10.01, allocations: 393.6 kB / 2.795 GB, free: 63.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00472/10.01, allocations: 5.113 MB / 2.8 GB, free: 59.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00556/10.02, allocations: 224.2 kB / 2.8 GB, free: 59.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008511/10.02, allocations: 179 kB / 2.801 GB, free: 59.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/10.02, allocations: 3.844 kB / 2.801 GB, free: 59.57 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009969/10.03, allocations: 2.742 MB / 2.803 GB, free: 59.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.497e-05/10.03, allocations: 21.34 kB / 2.803 GB, free: 59.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004683/10.03, allocations: 1.052 MB / 2.804 GB, free: 59.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002802/10.04, allocations: 365.6 kB / 2.805 GB, free: 59.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02594/10.06, allocations: 14.02 MB / 2.818 GB, free: 51.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005006/10.07, allocations: 220.6 kB / 2.819 GB, free: 51.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007089/10.07, allocations: 157.2 kB / 2.819 GB, free: 51.21 MB / 0.9167 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.0008394/10.07, allocations: 222.1 kB / 2.819 GB, free: 51.09 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/10.07, allocations: 359.8 kB / 2.819 GB, free: 50.89 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/10.08, allocations: 2.843 MB / 2.822 GB, free: 50.65 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-05/10.08, allocations: 18.47 kB / 2.822 GB, free: 50.65 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/10.08, allocations: 9.344 kB / 2.822 GB, free: 50.65 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.823e-05/10.08, allocations: 6.609 kB / 2.822 GB, free: 50.65 MB / 0.9167 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.01557/10.1, allocations: 4.928 MB / 2.827 GB, free: 50.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/10.1, allocations: 3.656 kB / 2.827 GB, free: 50.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/10.1, allocations: 211.2 kB / 2.827 GB, free: 50.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002901/10.1, allocations: 0.6226 MB / 2.828 GB, free: 50 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003441/10.1, allocations: 48.12 kB / 2.828 GB, free: 50 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00427/10.11, allocations: 4.987 MB / 2.833 GB, free: 45.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/10.11, allocations: 7.125 kB / 2.833 GB, free: 45.84 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00852/10.12, allocations: 2.56 MB / 2.835 GB, free: 45.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002804/10.12, allocations: 0.6136 MB / 2.836 GB, free: 44.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/10.12, allocations: 23.47 kB / 2.836 GB, free: 44.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004559/10.13, allocations: 207.4 kB / 2.836 GB, free: 44.85 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003636/10.13, allocations: 92.69 kB / 2.836 GB, free: 44.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003009/10.13, allocations: 82.12 kB / 2.836 GB, free: 44.85 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005729/10.13, allocations: 2.225 MB / 2.838 GB, free: 44.65 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.12e-07/10.13, allocations: 0 / 2.838 GB, free: 44.65 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01172/10.14, allocations: 1.982 MB / 2.84 GB, free: 44.39 MB / 0.9167 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.01229/10.16, allocations: 5.336 MB / 2.845 GB, free: 42.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01026/10.17, allocations: 3.791 MB / 2.849 GB, free: 41.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/10.17, allocations: 3.531 kB / 2.849 GB, free: 41.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002772/10.17, allocations: 0.8526 MB / 2.85 GB, free: 41.71 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01473/10.18, allocations: 1.696 MB / 2.852 GB, free: 41.61 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/10.2, allocations: 5.455 MB / 2.857 GB, free: 40.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003034/10.2, allocations: 2.326 MB / 2.859 GB, free: 39.34 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01017/10.22, allocations: 1.283 MB / 2.86 GB, free: 39.16 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003156/10.22, allocations: 1.541 MB / 2.862 GB, free: 39.15 MB / 0.9167 GB Notification: Performance of SimCode: time 1.443e-06/10.22, allocations: 0 / 2.862 GB, free: 39.15 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.087/11.31, allocations: 138.9 MB / 2.998 GB, free: 115 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/11.31, allocations: 230.6 kB / 2.998 GB, free: 114.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.415/20.72, allocations: 2.734 kB / 2.998 GB, free: 114.7 MB / 0.948 GB