Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.709/2.709, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.003134/0.003136, allocations: 182.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.895/2.895, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001159/0.001159, allocations: 100.4 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007068/0.0007068, allocations: 12.41 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2437, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.983/7.227, allocations: 2.061 GB / 3.04 GB, free: 198.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/7.227, allocations: 91.12 kB / 3.04 GB, free: 198.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.486/8.713, allocations: 243.4 MB / 3.277 GB, free: 277.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.686e-06/8.713, allocations: 0 / 3.277 GB, free: 277.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.494e-05/8.713, allocations: 12.19 kB / 3.277 GB, free: 277.8 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.001839/8.715, allocations: 0.6942 MB / 3.278 GB, free: 277.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/8.715, allocations: 11.38 kB / 3.278 GB, free: 277.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/8.715, allocations: 67.42 kB / 3.278 GB, free: 277.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/8.717, allocations: 152.1 kB / 3.278 GB, free: 277.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008359/8.718, allocations: 319.4 kB / 3.279 GB, free: 277.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/8.718, allocations: 17.41 kB / 3.279 GB, free: 277.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.71e-05/8.718, allocations: 27.06 kB / 3.279 GB, free: 277.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/8.719, allocations: 279.4 kB / 3.279 GB, free: 277 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/8.719, allocations: 5.625 kB / 3.279 GB, free: 277 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/8.719, allocations: 9.75 kB / 3.279 GB, free: 277 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/8.719, allocations: 6 kB / 3.279 GB, free: 277 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/8.719, allocations: 194.7 kB / 3.279 GB, free: 277 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.00203/8.721, allocations: 1.238 MB / 3.28 GB, free: 276.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/8.722, allocations: 134.3 kB / 3.28 GB, free: 276.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000703/8.723, allocations: 297.4 kB / 3.281 GB, free: 275.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/8.723, allocations: 38.89 kB / 3.281 GB, free: 275.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 4.127e-06/8.723, allocations: 2.531 kB / 3.281 GB, free: 275.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.00127/8.724, allocations: 287 kB / 3.281 GB, free: 275.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/8.724, allocations: 53.5 kB / 3.281 GB, free: 275.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004916/8.724, allocations: 286.5 kB / 3.281 GB, free: 275.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/8.725, allocations: 31.08 kB / 3.281 GB, free: 275.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/8.725, allocations: 189.5 kB / 3.282 GB, free: 275.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/8.725, allocations: 55.78 kB / 3.282 GB, free: 275.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/8.725, allocations: 5.062 kB / 3.282 GB, free: 275.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.693e-05/8.725, allocations: 346.2 kB / 3.282 GB, free: 275.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/8.725, allocations: 64.31 kB / 3.282 GB, free: 275.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/8.726, allocations: 138.2 kB / 3.282 GB, free: 275.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/8.726, allocations: 89.11 kB / 3.282 GB, free: 275.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/8.726, allocations: 0.9688 kB / 3.282 GB, free: 275.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008018/8.727, allocations: 252.3 kB / 3.282 GB, free: 275 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/8.727, allocations: 7.281 kB / 3.282 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/8.727, allocations: 1.375 kB / 3.282 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/8.727, allocations: 4.812 kB / 3.282 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/8.727, allocations: 51.94 kB / 3.282 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/8.727, allocations: 2.875 kB / 3.282 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/8.728, allocations: 38.62 kB / 3.283 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/8.728, allocations: 15.64 kB / 3.283 GB, free: 275 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.0002295/8.728, allocations: 152.9 kB / 3.283 GB, free: 274.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-05/8.728, allocations: 33.69 kB / 3.283 GB, free: 274.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007853/8.729, allocations: 225.3 kB / 3.283 GB, free: 274.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/8.729, allocations: 1.469 kB / 3.283 GB, free: 274.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/8.729, allocations: 9.25 kB / 3.283 GB, free: 274.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/8.729, allocations: 0 / 3.283 GB, free: 274.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/8.731, allocations: 0.6978 MB / 3.284 GB, free: 274.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/8.731, allocations: 5.609 kB / 3.284 GB, free: 274.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/8.731, allocations: 40.38 kB / 3.284 GB, free: 274.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/8.731, allocations: 3.094 kB / 3.284 GB, free: 274.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/8.731, allocations: 7.938 kB / 3.284 GB, free: 274.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/8.731, allocations: 2.219 kB / 3.284 GB, free: 274.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/8.731, allocations: 4.812 kB / 3.284 GB, free: 274.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/8.732, allocations: 0.5174 MB / 3.284 GB, free: 274.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/8.732, allocations: 121.2 kB / 3.284 GB, free: 274.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/8.732, allocations: 12.88 kB / 3.284 GB, free: 274.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/8.733, allocations: 23.59 kB / 3.284 GB, free: 274 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/8.733, allocations: 16.31 kB / 3.284 GB, free: 274 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/8.733, allocations: 5.625 kB / 3.284 GB, free: 274 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004286/8.733, allocations: 230.1 kB / 3.285 GB, free: 274 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.81e-07/8.733, allocations: 0 / 3.285 GB, free: 274 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00155/8.735, allocations: 169.7 kB / 3.285 GB, free: 274 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.004695/8.74, allocations: 2.476 MB / 3.287 GB, free: 272.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001055/8.741, allocations: 178.6 kB / 3.287 GB, free: 272.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/8.741, allocations: 1.156 kB / 3.287 GB, free: 272.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004871/8.741, allocations: 95.7 kB / 3.287 GB, free: 272.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/8.743, allocations: 155.9 kB / 3.288 GB, free: 272.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/8.749, allocations: 2.574 MB / 3.29 GB, free: 271 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/8.75, allocations: 0.7962 MB / 3.291 GB, free: 270.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006284/8.75, allocations: 64.86 kB / 3.291 GB, free: 270.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/8.751, allocations: 89.61 kB / 3.291 GB, free: 270.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.204e-06/8.751, allocations: 0 / 3.291 GB, free: 270.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07419/8.825, allocations: 24.44 MB / 3.315 GB, free: 269.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/8.825, allocations: 204.9 kB / 3.315 GB, free: 268.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.581/12.41, allocations: 0 / 3.315 GB, free: 268.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)