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.199/2.199, allocations: 248.5 MB / 261.1 MB, free: 5.98 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.0014/0.0014, allocations: 183.6 kB / 320.4 MB, free: 15.32 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.927/1.927, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001646/0.001646, allocations: 107.8 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.986e-05/5.008e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.228, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.447/7.675, allocations: 2.179 GB / 3.07 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/7.675, allocations: 81.45 kB / 3.07 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.407/9.082, allocations: 235.5 MB / 3.3 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.783e-06/9.082, allocations: 0 / 3.3 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.768e-05/9.082, allocations: 9.953 kB / 3.3 GB, free: 251.7 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.001401/9.084, allocations: 0.6466 MB / 3.301 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/9.084, allocations: 6.562 kB / 3.301 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.029e-05/9.084, allocations: 56.78 kB / 3.301 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/9.085, allocations: 153.7 kB / 3.301 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007494/9.086, allocations: 319.1 kB / 3.301 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/9.086, allocations: 17.34 kB / 3.301 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/9.086, allocations: 23.25 kB / 3.301 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/9.087, allocations: 265.4 kB / 3.302 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/9.087, allocations: 0 / 3.302 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/9.087, allocations: 10.73 kB / 3.302 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/9.087, allocations: 4.031 kB / 3.302 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/9.088, allocations: 170.7 kB / 3.302 GB, free: 250.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.001991/9.09, allocations: 1.224 MB / 3.303 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/9.09, allocations: 117.7 kB / 3.303 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/9.09, allocations: 76.78 kB / 3.303 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006867/9.091, allocations: 300.7 kB / 3.303 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/9.091, allocations: 34.5 kB / 3.304 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 3.547e-06/9.091, allocations: 0 / 3.304 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.0007516/9.092, allocations: 191.2 kB / 3.304 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/9.092, allocations: 51.41 kB / 3.304 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/9.092, allocations: 291.2 kB / 3.304 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/9.092, allocations: 29.64 kB / 3.304 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/9.092, allocations: 191.7 kB / 3.304 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/9.092, allocations: 58.34 kB / 3.304 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/9.092, allocations: 2.953 kB / 3.304 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.975e-05/9.092, allocations: 344.4 kB / 3.305 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/9.093, allocations: 53.06 kB / 3.305 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/9.093, allocations: 111.7 kB / 3.305 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/9.093, allocations: 69.91 kB / 3.305 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/9.093, allocations: 3.938 kB / 3.305 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005396/9.094, allocations: 210 kB / 3.305 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/9.094, allocations: 9.75 kB / 3.305 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/9.094, allocations: 3.984 kB / 3.305 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/9.094, allocations: 3.875 kB / 3.305 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/9.094, allocations: 48.58 kB / 3.305 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/9.094, allocations: 7.141 kB / 3.305 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/9.094, allocations: 38.86 kB / 3.305 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/9.095, allocations: 19.58 kB / 3.305 GB, free: 248.1 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 9.174e-05/9.095, allocations: 112.9 kB / 3.305 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.68e-05/9.095, allocations: 34.44 kB / 3.305 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/9.095, allocations: 194.6 kB / 3.306 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/9.095, allocations: 3.781 kB / 3.306 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/9.095, allocations: 0 / 3.306 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/9.095, allocations: 0 / 3.306 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/9.097, allocations: 0.6631 MB / 3.306 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/9.097, allocations: 1.156 kB / 3.306 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/9.097, allocations: 40.94 kB / 3.306 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/9.097, allocations: 7.922 kB / 3.306 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/9.097, allocations: 3.906 kB / 3.306 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/9.097, allocations: 3.188 kB / 3.306 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/9.097, allocations: 7.75 kB / 3.306 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007275/9.098, allocations: 470.6 kB / 3.307 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/9.098, allocations: 135.2 kB / 3.307 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/9.098, allocations: 7.906 kB / 3.307 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/9.098, allocations: 22.64 kB / 3.307 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/9.099, allocations: 23.03 kB / 3.307 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/9.099, allocations: 7.844 kB / 3.307 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003374/9.099, allocations: 227.2 kB / 3.307 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.4e-07/9.099, allocations: 0 / 3.307 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001005/9.1, allocations: 175 kB / 3.307 GB, free: 246.7 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.00314/9.103, allocations: 2.409 MB / 3.31 GB, free: 245 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005257/9.104, allocations: 149.8 kB / 3.31 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/9.104, allocations: 0 / 3.31 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/9.104, allocations: 74.48 kB / 3.31 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/9.105, allocations: 157.2 kB / 3.31 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/9.107, allocations: 0.5364 MB / 3.31 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/9.107, allocations: 0.7884 MB / 3.311 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003858/9.108, allocations: 62.41 kB / 3.311 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/9.108, allocations: 85.73 kB / 3.311 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/9.108, allocations: 2.625 kB / 3.311 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07294/9.181, allocations: 27.32 MB / 3.338 GB, free: 226.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002879/9.181, allocations: 179.1 kB / 3.338 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.674/12.86, allocations: 0 / 3.338 GB, free: 226.4 MB / 0.8698 GB