Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.76/1.76, allocations: 288.2 MB / 303.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001178, allocations: 185.9 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.4 MB / 0.6305 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 102.6 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004477, allocations: 16.94 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2549, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.87/6.125, allocations: 2.061 GB / 3.041 GB, free: 255.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/6.125, allocations: 91.95 kB / 3.041 GB, free: 255.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4794/6.604, allocations: 243.4 MB / 3.279 GB, free: 6.969 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.954e-06/6.604, allocations: 0 / 3.279 GB, free: 6.969 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.903e-05/6.604, allocations: 12 kB / 3.279 GB, free: 6.957 MB / 0.948 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.001658/6.606, allocations: 0.6978 MB / 3.279 GB, free: 6.211 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/6.606, allocations: 8.031 kB / 3.279 GB, free: 6.203 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/6.606, allocations: 58.55 kB / 3.279 GB, free: 6.137 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/6.608, allocations: 151.4 kB / 3.28 GB, free: 5.988 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/6.608, allocations: 326.7 kB / 3.28 GB, free: 5.629 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/6.608, allocations: 20.56 kB / 3.28 GB, free: 5.609 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/6.608, allocations: 24 kB / 3.28 GB, free: 5.586 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/6.609, allocations: 277.9 kB / 3.28 GB, free: 5.289 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/6.609, allocations: 7.938 kB / 3.28 GB, free: 5.281 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/6.609, allocations: 12 kB / 3.28 GB, free: 5.27 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/6.609, allocations: 4 kB / 3.28 GB, free: 5.266 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/6.609, allocations: 204.7 kB / 3.28 GB, free: 5.066 MB / 0.948 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.001495/6.611, allocations: 1.23 MB / 3.282 GB, free: 3.734 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/6.611, allocations: 142.5 kB / 3.282 GB, free: 3.586 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005117/6.612, allocations: 295.3 kB / 3.282 GB, free: 3.242 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/6.612, allocations: 34.56 kB / 3.282 GB, free: 3.199 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 2.174e-06/6.612, allocations: 0 / 3.282 GB, free: 3.199 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.0008096/6.612, allocations: 291 kB / 3.282 GB, free: 2.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/6.613, allocations: 51.41 kB / 3.282 GB, free: 2.848 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/6.613, allocations: 287.7 kB / 3.283 GB, free: 2.562 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/6.613, allocations: 29.7 kB / 3.283 GB, free: 2.527 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/6.613, allocations: 184.1 kB / 3.283 GB, free: 2.344 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/6.613, allocations: 63.12 kB / 3.283 GB, free: 2.281 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/6.613, allocations: 7.938 kB / 3.283 GB, free: 2.273 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/6.613, allocations: 338.8 kB / 3.283 GB, free: 1.934 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/6.613, allocations: 72.77 kB / 3.283 GB, free: 1.863 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/6.613, allocations: 130.7 kB / 3.283 GB, free: 1.711 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/6.614, allocations: 88.75 kB / 3.284 GB, free: 1.625 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/6.614, allocations: 0 / 3.284 GB, free: 1.625 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004361/6.614, allocations: 253.8 kB / 3.284 GB, free: 1.371 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/6.614, allocations: 8 kB / 3.284 GB, free: 1.363 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/6.614, allocations: 0 / 3.284 GB, free: 1.363 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/6.614, allocations: 4 kB / 3.284 GB, free: 1.359 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/6.614, allocations: 51.91 kB / 3.284 GB, free: 1.309 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/6.614, allocations: 4.094 kB / 3.284 GB, free: 1.305 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/6.615, allocations: 35.73 kB / 3.284 GB, free: 1.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/6.615, allocations: 15.98 kB / 3.284 GB, free: 1.254 MB / 0.948 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 () * Number of clocked 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 0.0001588/6.615, allocations: 157.7 kB / 3.284 GB, free: 1.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/6.615, allocations: 27.62 kB / 3.284 GB, free: 1.062 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/6.615, allocations: 232.6 kB / 3.284 GB, free: 0.8281 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/6.615, allocations: 0 / 3.284 GB, free: 0.8281 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/6.615, allocations: 0 / 3.284 GB, free: 0.8281 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/6.615, allocations: 3.984 kB / 3.284 GB, free: 0.8242 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009843/6.616, allocations: 0.6952 MB / 3.285 GB, free: 52 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/6.616, allocations: 0 / 3.285 GB, free: 52 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/6.617, allocations: 39.92 kB / 3.285 GB, free: 12 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/6.617, allocations: 0 / 3.285 GB, free: 12 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/6.617, allocations: 8.062 kB / 3.285 GB, free: 4 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/6.617, allocations: 4.094 kB / 3.285 GB, free: 0 / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.651e-05/7.346, allocations: 0.7656 kB / 3.285 GB, free: 265.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/7.347, allocations: 0.5273 MB / 3.286 GB, free: 265.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/7.348, allocations: 121.4 kB / 3.286 GB, free: 265.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/7.348, allocations: 6.828 kB / 3.286 GB, free: 265.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/7.348, allocations: 19.7 kB / 3.286 GB, free: 265.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/7.348, allocations: 25.58 kB / 3.286 GB, free: 265.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/7.348, allocations: 6.016 kB / 3.286 GB, free: 265.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003775/7.348, allocations: 227.4 kB / 3.286 GB, free: 265 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.348, allocations: 2.297 kB / 3.286 GB, free: 265 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001017/7.349, allocations: 175.8 kB / 3.286 GB, free: 265 MB / 0.948 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 () * Number of clocked 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.003328/7.353, allocations: 2.469 MB / 3.289 GB, free: 263.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005388/7.353, allocations: 176.5 kB / 3.289 GB, free: 263.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/7.353, allocations: 3.75 kB / 3.289 GB, free: 263.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/7.354, allocations: 93.38 kB / 3.289 GB, free: 263.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/7.354, allocations: 160.3 kB / 3.289 GB, free: 263.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/7.358, allocations: 2.568 MB / 3.291 GB, free: 262.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/7.358, allocations: 0.7907 MB / 3.292 GB, free: 261.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003046/7.358, allocations: 64.36 kB / 3.292 GB, free: 261.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/7.359, allocations: 92.14 kB / 3.292 GB, free: 261.4 MB / 0.948 GB Notification: Performance of SimCode: time 8.085e-06/7.359, allocations: 0 / 3.292 GB, free: 261.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07472/7.433, allocations: 24.45 MB / 3.316 GB, free: 261.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/7.434, allocations: 219.4 kB / 3.316 GB, free: 260.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/10.48, allocations: 0 / 3.316 GB, free: 260.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)