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.466/2.466, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.001544/0.001544, allocations: 184.8 kB / 360.6 MB, free: 7.297 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.037/2.037, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 101 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.867e-05, allocations: 8 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8136, allocations: 115.2 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.924/6.738, allocations: 2.061 GB / 3.024 GB, free: 57.86 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/6.738, allocations: 83.7 kB / 3.024 GB, free: 57.82 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.491/8.23, allocations: 240.1 MB / 3.258 GB, free: 210.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/8.23, allocations: 0 / 3.258 GB, free: 210.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.274e-05/8.23, allocations: 8 kB / 3.258 GB, free: 210.3 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.001262/8.231, allocations: 0.64 MB / 3.259 GB, free: 209.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/8.231, allocations: 8.031 kB / 3.259 GB, free: 209.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/8.233, allocations: 164.5 kB / 3.259 GB, free: 209.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/8.234, allocations: 323.4 kB / 3.26 GB, free: 209.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/8.234, allocations: 11.95 kB / 3.26 GB, free: 209.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/8.234, allocations: 12 kB / 3.26 GB, free: 209.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004128/8.234, allocations: 149.1 kB / 3.26 GB, free: 209 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/8.235, allocations: 224.8 kB / 3.26 GB, free: 208.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/8.235, allocations: 0 / 3.26 GB, free: 208.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/8.235, allocations: 0 / 3.26 GB, free: 208.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/8.235, allocations: 12 kB / 3.26 GB, free: 208.7 MB / 0.948 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.001675/8.236, allocations: 1.156 MB / 3.261 GB, free: 207.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/8.237, allocations: 114.5 kB / 3.261 GB, free: 207.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/8.237, allocations: 69.61 kB / 3.261 GB, free: 207.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006478/8.237, allocations: 295.3 kB / 3.262 GB, free: 206.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/8.237, allocations: 38.56 kB / 3.262 GB, free: 206.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 2.415e-06/8.237, allocations: 0 / 3.262 GB, free: 206.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.0009118/8.238, allocations: 219.4 kB / 3.262 GB, free: 206.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/8.238, allocations: 51.41 kB / 3.262 GB, free: 206.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/8.239, allocations: 206.4 kB / 3.262 GB, free: 206.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/8.239, allocations: 25.7 kB / 3.262 GB, free: 206.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/8.239, allocations: 188 kB / 3.262 GB, free: 206.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/8.239, allocations: 63.19 kB / 3.262 GB, free: 206.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/8.239, allocations: 0 / 3.262 GB, free: 206.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.808e-05/8.239, allocations: 338.8 kB / 3.263 GB, free: 205.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/8.239, allocations: 40.81 kB / 3.263 GB, free: 205.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/8.239, allocations: 116.5 kB / 3.263 GB, free: 205.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/8.24, allocations: 93.05 kB / 3.263 GB, free: 205.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/8.24, allocations: 3.938 kB / 3.263 GB, free: 205.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000729/8.24, allocations: 225.1 kB / 3.263 GB, free: 205.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/8.24, allocations: 7.984 kB / 3.263 GB, free: 205.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/8.24, allocations: 0 / 3.263 GB, free: 205.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/8.24, allocations: 4 kB / 3.263 GB, free: 205.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/8.241, allocations: 51.97 kB / 3.263 GB, free: 205.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/8.241, allocations: 4 kB / 3.263 GB, free: 205.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/8.242, allocations: 31.75 kB / 3.263 GB, free: 205.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/8.242, allocations: 16 kB / 3.263 GB, free: 205.2 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 () * 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.296e-05/8.242, allocations: 104.9 kB / 3.263 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005829/8.242, allocations: 189.2 kB / 3.263 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/8.242, allocations: 23.72 kB / 3.264 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000622/8.243, allocations: 209.6 kB / 3.264 GB, free: 204.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-06/8.243, allocations: 4 kB / 3.264 GB, free: 204.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/8.243, allocations: 0 / 3.264 GB, free: 204.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/8.243, allocations: 0 / 3.264 GB, free: 204.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/8.244, allocations: 0.6371 MB / 3.264 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/8.245, allocations: 7.938 kB / 3.264 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/8.245, allocations: 35.92 kB / 3.264 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/8.245, allocations: 4 kB / 3.264 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/8.245, allocations: 8.219 kB / 3.264 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/8.245, allocations: 0 / 3.264 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/8.245, allocations: 4 kB / 3.264 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000768/8.246, allocations: 480.9 kB / 3.265 GB, free: 203.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/8.246, allocations: 116.9 kB / 3.265 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/8.246, allocations: 4 kB / 3.265 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/8.246, allocations: 15.98 kB / 3.265 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/8.246, allocations: 23.92 kB / 3.265 GB, free: 203.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/8.246, allocations: 4 kB / 3.265 GB, free: 203.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001742/8.247, allocations: 170 kB / 3.265 GB, free: 203 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/8.247, allocations: 0 / 3.265 GB, free: 203 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007561/8.247, allocations: 151.8 kB / 3.265 GB, free: 202.8 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 () * 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.002795/8.25, allocations: 2.581 MB / 3.268 GB, free: 200.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000406/8.251, allocations: 131.8 kB / 3.268 GB, free: 200 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/8.251, allocations: 4.188 kB / 3.268 GB, free: 200 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/8.251, allocations: 67.92 kB / 3.268 GB, free: 200 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/8.252, allocations: 109.1 kB / 3.268 GB, free: 199.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/8.253, allocations: 0.4995 MB / 3.269 GB, free: 199.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/8.253, allocations: 0.7839 MB / 3.269 GB, free: 198.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003175/8.254, allocations: 57.97 kB / 3.269 GB, free: 198.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/8.254, allocations: 91.59 kB / 3.27 GB, free: 198.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.22e-07/8.254, allocations: 0 / 3.27 GB, free: 198.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06214/8.316, allocations: 14.38 MB / 3.284 GB, free: 184.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002875/8.316, allocations: 156.1 kB / 3.284 GB, free: 183.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/11.54, allocations: 0 / 3.284 GB, free: 183.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)