Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.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.Sensors.Examples.Velocity,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_Velocity",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.246/2.246, allocations: 248.7 MB / 256.2 MB, free: 7.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.001603/0.001602, allocations: 182.3 kB / 315.4 MB, free: 3.988 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.058/2.058, allocations: 205.3 MB / 0.5662 GB, free: 0.5664 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.001066/0.001066, allocations: 86.53 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.48e-05, allocations: 12 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2231, allocations: 106.2 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.219/7.442, allocations: 2.18 GB / 3.064 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/7.442, allocations: 87.94 kB / 3.064 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.342/8.784, allocations: 232.5 MB / 3.291 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.373e-06/8.784, allocations: 0 / 3.291 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.135e-05/8.784, allocations: 6.5 kB / 3.291 GB, free: 253.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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001219/8.785, allocations: 0.6446 MB / 3.292 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/8.785, allocations: 10.62 kB / 3.292 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/8.787, allocations: 154.2 kB / 3.292 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006331/8.788, allocations: 321.6 kB / 3.292 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/8.788, allocations: 10.97 kB / 3.292 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.84e-05/8.788, allocations: 14.97 kB / 3.292 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003988/8.788, allocations: 144 kB / 3.292 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/8.789, allocations: 226.5 kB / 3.292 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/8.789, allocations: 2.531 kB / 3.292 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/8.789, allocations: 7.328 kB / 3.292 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/8.789, allocations: 10.23 kB / 3.292 GB, free: 252.5 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.001603/8.79, allocations: 1.156 MB / 3.294 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/8.791, allocations: 119.9 kB / 3.294 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/8.791, allocations: 74.8 kB / 3.294 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/8.791, allocations: 295.2 kB / 3.294 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/8.792, allocations: 37 kB / 3.294 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 2.294e-06/8.792, allocations: 0 / 3.294 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.0008911/8.792, allocations: 208.3 kB / 3.294 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/8.792, allocations: 51.41 kB / 3.294 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/8.793, allocations: 211.6 kB / 3.294 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/8.793, allocations: 30.89 kB / 3.295 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/8.793, allocations: 183.5 kB / 3.295 GB, free: 251 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/8.793, allocations: 53.67 kB / 3.295 GB, free: 251 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/8.793, allocations: 3.844 kB / 3.295 GB, free: 251 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/8.793, allocations: 337.5 kB / 3.295 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/8.793, allocations: 51.05 kB / 3.295 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/8.793, allocations: 104.8 kB / 3.295 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/8.794, allocations: 98.62 kB / 3.295 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/8.794, allocations: 0 / 3.295 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006055/8.794, allocations: 233 kB / 3.296 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/8.794, allocations: 7.875 kB / 3.296 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/8.794, allocations: 0 / 3.296 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/8.794, allocations: 3.906 kB / 3.296 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/8.795, allocations: 50.41 kB / 3.296 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/8.795, allocations: 6.531 kB / 3.296 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/8.795, allocations: 25.8 kB / 3.296 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/8.795, allocations: 7.781 kB / 3.296 GB, free: 250.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 7.957e-05/8.795, allocations: 116.8 kB / 3.296 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005336/8.796, allocations: 186.3 kB / 3.296 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/8.796, allocations: 22.94 kB / 3.296 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006009/8.797, allocations: 210.7 kB / 3.296 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/8.797, allocations: 3.875 kB / 3.296 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/8.797, allocations: 3.969 kB / 3.296 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/8.797, allocations: 0 / 3.296 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/8.798, allocations: 0.635 MB / 3.297 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/8.798, allocations: 0 / 3.297 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/8.798, allocations: 37.81 kB / 3.297 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/8.798, allocations: 6.094 kB / 3.297 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/8.798, allocations: 96 / 3.297 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/8.798, allocations: 15.08 kB / 3.297 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/8.798, allocations: 2.969 kB / 3.297 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007495/8.799, allocations: 481.8 kB / 3.297 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/8.799, allocations: 113.5 kB / 3.297 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/8.799, allocations: 7.922 kB / 3.297 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/8.8, allocations: 20.09 kB / 3.297 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/8.8, allocations: 16.77 kB / 3.297 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/8.8, allocations: 11.44 kB / 3.297 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001792/8.8, allocations: 168.2 kB / 3.298 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.11e-07/8.8, allocations: 0 / 3.298 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007528/8.801, allocations: 142.8 kB / 3.298 GB, free: 249.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002694/8.803, allocations: 2.571 MB / 3.3 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004256/8.804, allocations: 135 kB / 3.3 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/8.804, allocations: 0 / 3.3 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/8.804, allocations: 68.39 kB / 3.3 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009912/8.805, allocations: 116.7 kB / 3.301 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/8.806, allocations: 0.4997 MB / 3.301 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/8.807, allocations: 0.7844 MB / 3.302 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003132/8.807, allocations: 57.11 kB / 3.302 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/8.807, allocations: 89.25 kB / 3.302 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of SimCode: time 8.71e-07/8.807, allocations: 0 / 3.302 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05889/8.866, allocations: 14.38 MB / 3.316 GB, free: 246 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/8.866, allocations: 159.8 kB / 3.316 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/11.85, allocations: 3.5 kB / 3.316 GB, free: 245.8 MB / 0.8698 GB