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.325/2.325, allocations: 248.5 MB / 261.1 MB, free: 6.055 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.001371/0.001371, allocations: 183.1 kB / 320.4 MB, free: 15.36 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.914/1.914, allocations: 205.1 MB / 0.571 GB, free: 11.86 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.001083/0.001083, allocations: 93.52 kB / 0.6754 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.155e-05, allocations: 4 kB / 0.7869 GB, free: 97.86 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2182, allocations: 106.2 MB / 0.8907 GB, free: 7.516 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.354/7.572, allocations: 2.18 GB / 3.071 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/7.572, allocations: 82.89 kB / 3.071 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.357/8.93, allocations: 213.3 MB / 3.279 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/8.93, allocations: 2.625 kB / 3.279 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.334e-05/8.93, allocations: 4.719 kB / 3.279 GB, free: 256.3 MB / 0.8698 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.001074/8.931, allocations: 0.5666 MB / 3.28 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/8.931, allocations: 13.22 kB / 3.28 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.52e-05/8.931, allocations: 48.94 kB / 3.28 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004483/8.932, allocations: 54.25 kB / 3.28 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/8.932, allocations: 298.4 kB / 3.28 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/8.932, allocations: 12.91 kB / 3.28 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/8.932, allocations: 16.31 kB / 3.28 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/8.933, allocations: 173.6 kB / 3.28 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/8.933, allocations: 5.25 kB / 3.28 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/8.933, allocations: 7.578 kB / 3.28 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/8.933, allocations: 3.375 kB / 3.28 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/8.933, allocations: 95.33 kB / 3.28 GB, free: 255.6 MB / 0.8698 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.001375/8.935, allocations: 0.7919 MB / 3.281 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/8.935, allocations: 66.78 kB / 3.281 GB, free: 255 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/8.935, allocations: 58.91 kB / 3.281 GB, free: 255 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/8.935, allocations: 187.3 kB / 3.282 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/8.935, allocations: 41.58 kB / 3.282 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.915e-06/8.935, allocations: 0 / 3.282 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0005976/8.936, allocations: 136.9 kB / 3.282 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/8.936, allocations: 55.22 kB / 3.282 GB, free: 254.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/8.936, allocations: 231.9 kB / 3.282 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/8.936, allocations: 32.64 kB / 3.282 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.828e-05/8.937, allocations: 143.7 kB / 3.282 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/8.937, allocations: 34.98 kB / 3.282 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/8.937, allocations: 7.688 kB / 3.282 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/8.937, allocations: 328 kB / 3.282 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.15e-05/8.937, allocations: 22.31 kB / 3.282 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/8.937, allocations: 94.52 kB / 3.283 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/8.937, allocations: 37.52 kB / 3.283 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/8.937, allocations: 0 / 3.283 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003357/8.937, allocations: 136.1 kB / 3.283 GB, free: 254 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/8.938, allocations: 363.9 kB / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/8.938, allocations: 3.25 kB / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/8.938, allocations: 2.75 kB / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/8.938, allocations: 22.41 kB / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/8.938, allocations: 0 / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/8.938, allocations: 39.03 kB / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/8.938, allocations: 6.094 kB / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/8.938, allocations: 3.375 kB / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002199/8.939, allocations: 81.88 kB / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/8.939, allocations: 6.469 kB / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.428e-06/8.939, allocations: 0 / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/8.939, allocations: 25.08 kB / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/8.939, allocations: 5.25 kB / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/8.939, allocations: 21.39 kB / 3.283 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/8.939, allocations: 10.78 kB / 3.283 GB, free: 253.7 MB / 0.8698 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 () * 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 9.092e-05/8.939, allocations: 111.2 kB / 3.283 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/8.939, allocations: 28.23 kB / 3.283 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/8.94, allocations: 137.5 kB / 3.284 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/8.94, allocations: 0 / 3.284 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/8.94, allocations: 2.469 kB / 3.284 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/8.94, allocations: 0 / 3.284 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000978/8.941, allocations: 0.5578 MB / 3.284 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/8.941, allocations: 6.5 kB / 3.284 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/8.941, allocations: 26.22 kB / 3.284 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/8.941, allocations: 3.312 kB / 3.284 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/8.941, allocations: 6.281 kB / 3.284 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/8.941, allocations: 3.469 kB / 3.284 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/8.941, allocations: 3.375 kB / 3.284 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/8.942, allocations: 353.1 kB / 3.285 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/8.942, allocations: 112.7 kB / 3.285 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/8.942, allocations: 2.125 kB / 3.285 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/8.942, allocations: 29.27 kB / 3.285 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/8.942, allocations: 14.58 kB / 3.285 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/8.942, allocations: 6.594 kB / 3.285 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002475/8.943, allocations: 194.5 kB / 3.285 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.403e-06/8.943, allocations: 0 / 3.285 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001002/8.944, allocations: 172 kB / 3.285 GB, free: 252.6 MB / 0.8698 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 () * 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.00234/8.946, allocations: 2.162 MB / 3.287 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004854/8.946, allocations: 134.6 kB / 3.287 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/8.946, allocations: 0 / 3.287 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/8.947, allocations: 47.28 kB / 3.287 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/8.948, allocations: 127 kB / 3.287 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/8.949, allocations: 382.4 kB / 3.288 GB, free: 251 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/8.949, allocations: 0.7656 MB / 3.289 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005582/8.95, allocations: 88.39 kB / 3.289 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/8.95, allocations: 69.58 kB / 3.289 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.202e-06/8.95, allocations: 0 / 3.289 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0611/9.011, allocations: 23.1 MB / 3.311 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/9.011, allocations: 191.5 kB / 3.311 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.509/12.52, allocations: 0 / 3.311 GB, free: 245.6 MB / 0.8698 GB