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.259/2.259, allocations: 251 MB / 265.9 MB, free: 11.68 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.001563/0.001562, allocations: 183.5 kB / 325.5 MB, free: 2.891 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.414/2.414, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.001205/0.001204, allocations: 111.2 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005162, allocations: 16.58 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2056, allocations: 106.2 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.244/1.45, allocations: 435.2 MB / 1.324 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/1.45, allocations: 99.67 kB / 1.324 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.464/8.914, allocations: 1.407 GB / 2.73 GB, free: 20.7 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.565e-06/8.914, allocations: 0 / 2.73 GB, free: 20.7 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0008705/8.915, allocations: 107.9 kB / 2.731 GB, free: 20.59 MB / 0.9011 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.02528/8.94, allocations: 5.647 MB / 2.736 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/8.94, allocations: 8.031 kB / 2.736 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001418/8.942, allocations: 295.4 kB / 2.736 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/8.953, allocations: 1.122 MB / 2.737 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09792/9.051, allocations: 27.87 MB / 2.765 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/9.052, allocations: 185 kB / 2.765 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/9.053, allocations: 248 kB / 2.765 GB, free: 0.8633 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/9.064, allocations: 2.694 MB / 2.768 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.318e-05/9.064, allocations: 8 kB / 2.768 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005015/9.065, allocations: 88 kB / 2.768 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.003e-05/9.065, allocations: 48 kB / 2.768 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/9.075, allocations: 1.987 MB / 2.77 GB, free: 11.9 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.8121/9.888, allocations: 12.29 MB / 2.782 GB, free: 99.95 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007626/9.895, allocations: 1.626 MB / 2.783 GB, free: 99.91 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/9.91, allocations: 4.102 MB / 2.787 GB, free: 98.14 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/9.91, allocations: 46.75 kB / 2.787 GB, free: 98.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003043/9.913, allocations: 230.7 kB / 2.788 GB, free: 98.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=119): time 1.28e-05/9.913, allocations: 0.6562 kB / 2.788 GB, free: 98.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119): time 0.02601/9.939, allocations: 4 MB / 2.792 GB, free: 97.22 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/9.94, allocations: 65.25 kB / 2.792 GB, free: 97.16 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/9.95, allocations: 2.954 MB / 2.794 GB, free: 96.89 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000765/9.951, allocations: 65.81 kB / 2.795 GB, free: 96.86 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002722/9.953, allocations: 1.751 MB / 2.796 GB, free: 96.58 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008737/9.954, allocations: 411.9 kB / 2.797 GB, free: 96.38 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/9.955, allocations: 37.16 kB / 2.797 GB, free: 96.38 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002088/9.955, allocations: 387 kB / 2.797 GB, free: 96.07 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003901/9.959, allocations: 0.7614 MB / 2.798 GB, free: 96.06 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005042/9.964, allocations: 1.564 MB / 2.799 GB, free: 95.11 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004897/9.969, allocations: 0.9454 MB / 2.8 GB, free: 95.09 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.535e-05/9.969, allocations: 5.25 kB / 2.8 GB, free: 95.09 MB / 0.9323 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01512/9.984, allocations: 2.905 MB / 2.803 GB, free: 94.77 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002091/9.986, allocations: 8.142 MB / 2.811 GB, free: 86.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/9.986, allocations: 21.36 kB / 2.811 GB, free: 86.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003895/9.99, allocations: 0.6707 MB / 2.812 GB, free: 86.37 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003298/9.994, allocations: 386.6 kB / 2.812 GB, free: 86.37 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006028/10, allocations: 5.171 MB / 2.817 GB, free: 82.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005555/10.01, allocations: 220.9 kB / 2.817 GB, free: 82.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009324/10.01, allocations: 181.8 kB / 2.817 GB, free: 82.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/10.01, allocations: 3.938 kB / 2.817 GB, free: 82.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01365/10.02, allocations: 2.938 MB / 2.82 GB, free: 82.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.544e-05/10.02, allocations: 17.59 kB / 2.82 GB, free: 82.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00572/10.03, allocations: 1.085 MB / 2.821 GB, free: 82.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/10.03, allocations: 367 kB / 2.822 GB, free: 82.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02907/10.06, allocations: 14.44 MB / 2.836 GB, free: 73.87 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005068/10.06, allocations: 210.8 kB / 2.836 GB, free: 73.87 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000781/10.06, allocations: 151.8 kB / 2.836 GB, free: 73.87 MB / 0.9323 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.003511/10.07, allocations: 0.8746 MB / 2.837 GB, free: 73.68 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/10.07, allocations: 364.3 kB / 2.837 GB, free: 73.48 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/10.09, allocations: 3.068 MB / 2.84 GB, free: 73.26 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.288e-05/10.09, allocations: 18 kB / 2.84 GB, free: 73.26 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/10.09, allocations: 0 / 2.84 GB, free: 73.26 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.415e-05/10.09, allocations: 7.594 kB / 2.84 GB, free: 73.26 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 postOpt removeSimpleEquations (simulation): time 0.02179/10.11, allocations: 5.153 MB / 2.845 GB, free: 72.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.721e-05/10.11, allocations: 3.094 kB / 2.846 GB, free: 72.71 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/10.11, allocations: 218.1 kB / 2.846 GB, free: 72.71 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003379/10.11, allocations: 0.663 MB / 2.846 GB, free: 72.64 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003793/10.11, allocations: 51.39 kB / 2.846 GB, free: 72.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004974/10.12, allocations: 5.024 MB / 2.851 GB, free: 68.49 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/10.12, allocations: 11.27 kB / 2.851 GB, free: 68.48 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/10.13, allocations: 2.776 MB / 2.854 GB, free: 67.82 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002818/10.13, allocations: 0.6152 MB / 2.855 GB, free: 67.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001478/10.14, allocations: 27.92 kB / 2.855 GB, free: 67.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004918/10.14, allocations: 218.1 kB / 2.855 GB, free: 67.52 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004772/10.14, allocations: 90.7 kB / 2.855 GB, free: 67.52 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003133/10.14, allocations: 80.05 kB / 2.855 GB, free: 67.52 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.007323/10.15, allocations: 2.26 MB / 2.857 GB, free: 67.34 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.102e-06/10.15, allocations: 0 / 2.857 GB, free: 67.34 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01326/10.16, allocations: 1.985 MB / 2.859 GB, free: 67.26 MB / 0.9323 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.01727/10.18, allocations: 5.561 MB / 2.865 GB, free: 65.49 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01487/10.19, allocations: 3.961 MB / 2.868 GB, free: 64.98 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/10.19, allocations: 0 / 2.868 GB, free: 64.98 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004653/10.2, allocations: 0.96 MB / 2.869 GB, free: 64.97 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01378/10.21, allocations: 1.694 MB / 2.871 GB, free: 64.95 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02787/10.24, allocations: 21.09 MB / 2.892 GB, free: 48.59 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004418/10.25, allocations: 2.317 MB / 2.894 GB, free: 47.82 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.007096/10.25, allocations: 0.8192 MB / 2.895 GB, free: 47.79 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003911/10.26, allocations: 1.607 MB / 2.896 GB, free: 47.79 MB / 0.9323 GB Notification: Performance of SimCode: time 1.583e-06/10.26, allocations: 2.938 kB / 2.896 GB, free: 47.79 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2952/10.55, allocations: 128.8 MB / 3.022 GB, free: 40.23 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/10.55, allocations: 266.5 kB / 3.022 GB, free: 39.87 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.032/19.58, allocations: 0 / 3.022 GB, free: 39.87 MB / 0.9323 GB