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.148/2.148, allocations: 248.7 MB / 256.2 MB, free: 7.09 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.001471/0.001471, allocations: 174 kB / 315.4 MB, free: 3.984 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.02/2.02, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 98.02 kB / 0.6704 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.325e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2051, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.969/2.174, allocations: 435.4 MB / 1.309 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/2.175, allocations: 88.14 kB / 1.309 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.449/9.624, allocations: 1.393 GB / 2.703 GB, free: 86.2 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.004e-06/9.624, allocations: 0 / 2.703 GB, free: 86.2 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0008027/9.625, allocations: 102.8 kB / 2.703 GB, free: 86.19 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.01266/9.637, allocations: 3.7 MB / 2.707 GB, free: 84.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/9.637, allocations: 12.5 kB / 2.707 GB, free: 84.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/9.648, allocations: 1.122 MB / 2.708 GB, free: 84.45 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0905/9.739, allocations: 27.63 MB / 2.735 GB, free: 82.78 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/9.739, allocations: 71.03 kB / 2.735 GB, free: 82.78 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/9.74, allocations: 150.8 kB / 2.735 GB, free: 82.78 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006252/9.747, allocations: 1.884 MB / 2.737 GB, free: 82.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007141/9.754, allocations: 2.263 MB / 2.739 GB, free: 82.41 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.947e-05/9.754, allocations: 6 kB / 2.739 GB, free: 82.41 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003695/9.754, allocations: 4.5 kB / 2.739 GB, free: 82.41 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.636e-05/9.754, allocations: 52.91 kB / 2.739 GB, free: 82.41 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.02864/9.783, allocations: 11.88 MB / 2.751 GB, free: 76.54 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004659/9.788, allocations: 1.988 MB / 2.752 GB, free: 76.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/9.79, allocations: 0.8186 MB / 2.753 GB, free: 76.49 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01292/9.803, allocations: 4.035 MB / 2.757 GB, free: 74.61 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/9.803, allocations: 47.06 kB / 2.757 GB, free: 74.57 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002612/9.805, allocations: 172.2 kB / 2.757 GB, free: 74.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=119): time 1.191e-05/9.805, allocations: 1.281 kB / 2.757 GB, free: 74.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=119): time 0.01224/9.818, allocations: 2.706 MB / 2.76 GB, free: 74.18 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/9.818, allocations: 74.02 kB / 2.76 GB, free: 74.11 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006613/9.824, allocations: 2.577 MB / 2.763 GB, free: 73.82 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007106/9.825, allocations: 31.3 kB / 2.763 GB, free: 73.79 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002295/9.828, allocations: 1.746 MB / 2.764 GB, free: 73.29 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007944/9.828, allocations: 391.2 kB / 2.765 GB, free: 73.02 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/9.829, allocations: 0 / 2.765 GB, free: 73.02 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001778/9.829, allocations: 384.4 kB / 2.765 GB, free: 72.72 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/9.831, allocations: 0.8128 MB / 2.766 GB, free: 72.71 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00282/9.834, allocations: 1.599 MB / 2.768 GB, free: 71.77 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005615/9.839, allocations: 1.226 MB / 2.769 GB, free: 71.74 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.963e-05/9.839, allocations: 4.781 kB / 2.769 GB, free: 71.74 MB / 0.9167 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01541/9.855, allocations: 3.26 MB / 2.772 GB, free: 71.41 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002735/9.858, allocations: 8.063 MB / 2.78 GB, free: 63.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/9.858, allocations: 20.62 kB / 2.78 GB, free: 63.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005327/9.863, allocations: 0.8482 MB / 2.781 GB, free: 63.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004858/9.868, allocations: 389.6 kB / 2.781 GB, free: 63.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/9.881, allocations: 5.838 MB / 2.787 GB, free: 58.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005515/9.887, allocations: 186.6 kB / 2.787 GB, free: 58.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008947/9.888, allocations: 177.2 kB / 2.787 GB, free: 58.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/9.888, allocations: 7.094 kB / 2.787 GB, free: 58.84 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01167/9.9, allocations: 2.724 MB / 2.79 GB, free: 58.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.466e-05/9.9, allocations: 17.44 kB / 2.79 GB, free: 58.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004431/9.904, allocations: 0.9917 MB / 2.791 GB, free: 58.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/9.907, allocations: 371.6 kB / 2.791 GB, free: 58.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02573/9.933, allocations: 13.68 MB / 2.804 GB, free: 50.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004664/9.937, allocations: 173.2 kB / 2.805 GB, free: 50.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007956/9.938, allocations: 151.6 kB / 2.805 GB, free: 50.7 MB / 0.9167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.001113/9.939, allocations: 172.8 kB / 2.805 GB, free: 50.59 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01074/9.95, allocations: 2.17 MB / 2.807 GB, free: 50.25 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/9.951, allocations: 347.7 kB / 2.807 GB, free: 50.06 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/9.965, allocations: 2.794 MB / 2.81 GB, free: 49.82 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.146e-05/9.965, allocations: 28.91 kB / 2.81 GB, free: 49.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/9.965, allocations: 0 / 2.81 GB, free: 49.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.65e-05/9.965, allocations: 6.422 kB / 2.81 GB, free: 49.82 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.01674/9.982, allocations: 4.657 MB / 2.815 GB, free: 49.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/9.982, allocations: 0 / 2.815 GB, free: 49.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/9.984, allocations: 213.5 kB / 2.815 GB, free: 49.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/9.986, allocations: 0.5157 MB / 2.815 GB, free: 49.23 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003077/9.986, allocations: 30.83 kB / 2.815 GB, free: 49.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004437/9.991, allocations: 5.054 MB / 2.82 GB, free: 45.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/9.991, allocations: 3.156 kB / 2.82 GB, free: 45.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008723/10, allocations: 2.51 MB / 2.823 GB, free: 44.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002457/10, allocations: 0.5923 MB / 2.823 GB, free: 44.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/10, allocations: 0 / 2.823 GB, free: 44.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004503/10.01, allocations: 186 kB / 2.824 GB, free: 44.12 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004231/10.01, allocations: 94.48 kB / 2.824 GB, free: 44.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003056/10.01, allocations: 78.7 kB / 2.824 GB, free: 44.12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004912/10.01, allocations: 1.929 MB / 2.826 GB, free: 43.94 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.32e-07/10.01, allocations: 0 / 2.826 GB, free: 43.94 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01154/10.03, allocations: 1.9 MB / 2.827 GB, free: 43.65 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.01236/10.04, allocations: 5.211 MB / 2.833 GB, free: 41.78 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01022/10.05, allocations: 3.875 MB / 2.836 GB, free: 41.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/10.05, allocations: 0 / 2.836 GB, free: 41.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002578/10.05, allocations: 0.8095 MB / 2.837 GB, free: 41.27 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01231/10.06, allocations: 1.592 MB / 2.839 GB, free: 41.24 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/10.08, allocations: 5.287 MB / 2.844 GB, free: 39.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00316/10.08, allocations: 2.321 MB / 2.846 GB, free: 39 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.009943/10.09, allocations: 1.245 MB / 2.847 GB, free: 38.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003183/10.1, allocations: 1.541 MB / 2.849 GB, free: 38.81 MB / 0.9167 GB Notification: Performance of SimCode: time 1.713e-06/10.1, allocations: 0 / 2.849 GB, free: 38.81 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2894/10.39, allocations: 117.5 MB / 2.964 GB, free: 7.406 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003189/10.39, allocations: 183.2 kB / 2.964 GB, free: 7.215 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/18.5, allocations: 0 / 2.964 GB, free: 7.215 MB / 0.948 GB