Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.231/2.231, allocations: 251 MB / 265.9 MB, free: 11.7 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.001515/0.001515, allocations: 178.1 kB / 325.5 MB, free: 2.914 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.312/2.312, allocations: 205.4 MB / 0.5764 GB, free: 21.23 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.001085/0.001085, allocations: 105.4 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004988, allocations: 8.969 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, allocations: 106.3 MB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.49/6.714, allocations: 2.18 GB / 3.079 GB, free: 7.207 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/6.714, allocations: 87.38 kB / 3.079 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.303/8.017, allocations: 213.5 MB / 3.288 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.444e-06/8.017, allocations: 0 / 3.288 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.918e-05/8.017, allocations: 8 kB / 3.288 GB, free: 160.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001273/8.018, allocations: 0.609 MB / 3.288 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/8.019, allocations: 8.031 kB / 3.288 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.285e-05/8.019, allocations: 50.55 kB / 3.288 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004482/8.019, allocations: 59.55 kB / 3.288 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/8.02, allocations: 301.4 kB / 3.289 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/8.02, allocations: 16 kB / 3.289 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.996e-05/8.02, allocations: 16 kB / 3.289 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/8.02, allocations: 188.1 kB / 3.289 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/8.02, allocations: 0 / 3.289 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/8.02, allocations: 4 kB / 3.289 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/8.02, allocations: 4 kB / 3.289 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/8.021, allocations: 135.8 kB / 3.289 GB, free: 159.1 MB / 0.8855 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.001345/8.022, allocations: 0.7896 MB / 3.29 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/8.023, allocations: 86.47 kB / 3.29 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003302/8.023, allocations: 190.2 kB / 3.29 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/8.023, allocations: 30.56 kB / 3.29 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 2.685e-06/8.023, allocations: 0 / 3.29 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.001017/8.024, allocations: 221.4 kB / 3.29 GB, free: 157.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/8.024, allocations: 59.41 kB / 3.29 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/8.024, allocations: 234.1 kB / 3.291 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/8.024, allocations: 33.7 kB / 3.291 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/8.025, allocations: 151.9 kB / 3.291 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/8.025, allocations: 39.84 kB / 3.291 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/8.025, allocations: 0 / 3.291 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/8.025, allocations: 330.8 kB / 3.291 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/8.025, allocations: 47.97 kB / 3.291 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/8.025, allocations: 110.7 kB / 3.291 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/8.025, allocations: 51.95 kB / 3.291 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/8.025, allocations: 0 / 3.291 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005753/8.026, allocations: 165.3 kB / 3.291 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-05/8.026, allocations: 363.9 kB / 3.292 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/8.026, allocations: 4 kB / 3.292 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/8.026, allocations: 7.984 kB / 3.292 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/8.026, allocations: 19.98 kB / 3.292 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/8.026, allocations: 4 kB / 3.292 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/8.027, allocations: 23.83 kB / 3.292 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/8.027, allocations: 8 kB / 3.292 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/8.027, allocations: 8 kB / 3.292 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004449/8.027, allocations: 119.9 kB / 3.292 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/8.027, allocations: 4 kB / 3.292 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/8.027, allocations: 4 kB / 3.292 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/8.028, allocations: 31.97 kB / 3.292 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/8.028, allocations: 0 / 3.292 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/8.028, allocations: 27.83 kB / 3.292 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/8.028, allocations: 8 kB / 3.292 GB, free: 155.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002054/8.028, allocations: 221.6 kB / 3.292 GB, free: 155.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/8.028, allocations: 15.81 kB / 3.292 GB, free: 155.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005756/8.029, allocations: 171.3 kB / 3.292 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/8.029, allocations: 3.953 kB / 3.292 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/8.029, allocations: 0 / 3.292 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/8.029, allocations: 7.922 kB / 3.292 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/8.03, allocations: 0.5898 MB / 3.293 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/8.03, allocations: 4 kB / 3.293 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/8.03, allocations: 23.98 kB / 3.293 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/8.03, allocations: 0 / 3.293 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/8.03, allocations: 4 kB / 3.293 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/8.03, allocations: 8.219 kB / 3.293 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/8.03, allocations: 0 / 3.293 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005854/8.031, allocations: 397.3 kB / 3.293 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/8.031, allocations: 112.8 kB / 3.294 GB, free: 154 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/8.031, allocations: 8 kB / 3.294 GB, free: 154 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/8.032, allocations: 15.98 kB / 3.294 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/8.032, allocations: 15.88 kB / 3.294 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/8.032, allocations: 12 kB / 3.294 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002438/8.032, allocations: 193.9 kB / 3.294 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.6e-07/8.032, allocations: 0 / 3.294 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009798/8.033, allocations: 171.8 kB / 3.294 GB, free: 153.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002447/8.035, allocations: 2.193 MB / 3.296 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007999/8.036, allocations: 179.6 kB / 3.296 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/8.036, allocations: 0 / 3.296 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/8.037, allocations: 68.47 kB / 3.296 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/8.038, allocations: 124.7 kB / 3.296 GB, free: 150.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/8.041, allocations: 1.769 MB / 3.298 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/8.041, allocations: 0.7599 MB / 3.299 GB, free: 148.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004121/8.041, allocations: 66.88 kB / 3.299 GB, free: 148.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/8.042, allocations: 75.34 kB / 3.299 GB, free: 148.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.322e-06/8.042, allocations: 4 kB / 3.299 GB, free: 148.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05937/8.101, allocations: 20.25 MB / 3.319 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/8.101, allocations: 226.2 kB / 3.319 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.315/11.42, allocations: 3.938 kB / 3.319 GB, free: 127.8 MB / 0.8855 GB