Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.184/2.184, 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.001511/0.00151, allocations: 184.8 kB / 320.4 MB, free: 15.33 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.924/1.924, allocations: 205.2 MB / 0.5711 GB, free: 11.73 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.001122/0.001121, allocations: 97.86 kB / 0.6754 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.596e-05/4.611e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.21, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.3/7.51, allocations: 2.179 GB / 3.07 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/7.51, allocations: 88.95 kB / 3.07 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.377/8.887, allocations: 235.4 MB / 3.3 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.084e-06/8.887, allocations: 0 / 3.3 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.672e-05/8.887, allocations: 10.23 kB / 3.3 GB, free: 251.4 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001355/8.888, allocations: 0.6367 MB / 3.301 GB, free: 251 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/8.889, allocations: 9.375 kB / 3.301 GB, free: 251 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.985e-05/8.889, allocations: 65.66 kB / 3.301 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/8.89, allocations: 152 kB / 3.301 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/8.891, allocations: 311.2 kB / 3.301 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/8.891, allocations: 19.5 kB / 3.301 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/8.891, allocations: 21.91 kB / 3.301 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/8.892, allocations: 258 kB / 3.301 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/8.892, allocations: 3.953 kB / 3.301 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/8.892, allocations: 8 kB / 3.301 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/8.892, allocations: 6.906 kB / 3.301 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/8.892, allocations: 161.8 kB / 3.302 GB, free: 250.4 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.001709/8.894, allocations: 1.207 MB / 3.303 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/8.894, allocations: 106.6 kB / 3.303 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/8.894, allocations: 65.89 kB / 3.303 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006925/8.895, allocations: 308.7 kB / 3.303 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/8.895, allocations: 34.56 kB / 3.303 GB, free: 249 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 2.675e-06/8.895, allocations: 0 / 3.303 GB, free: 249 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0006573/8.896, allocations: 181 kB / 3.303 GB, free: 249 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/8.896, allocations: 58.59 kB / 3.303 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/8.896, allocations: 277.9 kB / 3.304 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/8.896, allocations: 32.86 kB / 3.304 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/8.896, allocations: 174 kB / 3.304 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/8.896, allocations: 58.22 kB / 3.304 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/8.896, allocations: 4 kB / 3.304 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.398e-05/8.897, allocations: 342.2 kB / 3.304 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/8.897, allocations: 45.17 kB / 3.304 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/8.897, allocations: 111.5 kB / 3.304 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/8.897, allocations: 68.73 kB / 3.304 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/8.897, allocations: 6.906 kB / 3.304 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004393/8.898, allocations: 194.4 kB / 3.305 GB, free: 248 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/8.898, allocations: 3.281 kB / 3.305 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/8.898, allocations: 3.312 kB / 3.305 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/8.898, allocations: 3.375 kB / 3.305 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/8.898, allocations: 46.52 kB / 3.305 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/8.898, allocations: 8.078 kB / 3.305 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/8.898, allocations: 43.55 kB / 3.305 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/8.898, allocations: 15.36 kB / 3.305 GB, free: 247.9 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 (22): * Single equations (assignments): 22 * 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 8.528e-05/8.899, allocations: 112.2 kB / 3.305 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/8.899, allocations: 29.88 kB / 3.305 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/8.899, allocations: 183.9 kB / 3.305 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/8.899, allocations: 0 / 3.305 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/8.899, allocations: 3.281 kB / 3.305 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/8.899, allocations: 4 kB / 3.305 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/8.9, allocations: 0.6398 MB / 3.306 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/8.9, allocations: 0 / 3.306 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/8.901, allocations: 38.61 kB / 3.306 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/8.901, allocations: 7.266 kB / 3.306 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/8.901, allocations: 6.641 kB / 3.306 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/8.901, allocations: 3.125 kB / 3.306 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/8.901, allocations: 3.375 kB / 3.306 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006429/8.901, allocations: 455.2 kB / 3.306 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/8.902, allocations: 121.8 kB / 3.306 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/8.902, allocations: 3.812 kB / 3.306 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/8.902, allocations: 25.53 kB / 3.306 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/8.902, allocations: 18.11 kB / 3.306 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/8.902, allocations: 7.406 kB / 3.306 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002883/8.902, allocations: 223.6 kB / 3.307 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.6e-07/8.902, allocations: 0 / 3.307 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000888/8.903, allocations: 180.3 kB / 3.307 GB, free: 246.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 (15): * Single equations (assignments): 15 * 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.002606/8.906, allocations: 2.401 MB / 3.309 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004398/8.906, allocations: 136.7 kB / 3.309 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/8.906, allocations: 0 / 3.309 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/8.907, allocations: 73.14 kB / 3.309 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/8.908, allocations: 153.1 kB / 3.309 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/8.909, allocations: 0.508 MB / 3.31 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/8.91, allocations: 0.7852 MB / 3.311 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003639/8.91, allocations: 61.44 kB / 3.311 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/8.91, allocations: 91.62 kB / 3.311 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of SimCode: time 8.92e-07/8.91, allocations: 0.875 kB / 3.311 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08699/8.997, allocations: 27.16 MB / 3.337 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003256/8.998, allocations: 189.4 kB / 3.338 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/12.6, allocations: 0 / 3.338 GB, free: 228.1 MB / 0.8698 GB