Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.001484/0.001484, allocations: 184.9 kB / 371.6 MB, free: 3.387 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.666/1.666, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009983/0.0009985, allocations: 93.91 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.943e-05/3.944e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2908, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.365/6.656, allocations: 2.062 GB / 3.042 GB, free: 180.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/6.657, allocations: 84.61 kB / 3.042 GB, free: 180.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.339/7.996, allocations: 243.1 MB / 3.28 GB, free: 224.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.254e-06/7.996, allocations: 2.906 kB / 3.28 GB, free: 224.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.593e-05/7.996, allocations: 10.28 kB / 3.28 GB, free: 224.4 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.001729/7.997, allocations: 0.6483 MB / 3.28 GB, free: 223.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/7.997, allocations: 9.75 kB / 3.28 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/7.998, allocations: 55.73 kB / 3.28 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/7.999, allocations: 150.5 kB / 3.281 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/8, allocations: 323.3 kB / 3.281 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/8, allocations: 23.23 kB / 3.281 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/8, allocations: 24.97 kB / 3.281 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/8.001, allocations: 254.1 kB / 3.281 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/8.001, allocations: 6.094 kB / 3.281 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/8.001, allocations: 11.75 kB / 3.281 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/8.001, allocations: 6 kB / 3.281 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/8.001, allocations: 160 kB / 3.281 GB, free: 223.6 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.001921/8.003, allocations: 1.234 MB / 3.283 GB, free: 222.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/8.003, allocations: 113.5 kB / 3.283 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/8.003, allocations: 73.53 kB / 3.283 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004824/8.004, allocations: 297.3 kB / 3.283 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/8.004, allocations: 36.38 kB / 3.283 GB, free: 222.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 2.394e-06/8.004, allocations: 0 / 3.283 GB, free: 222.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.0005297/8.004, allocations: 187.9 kB / 3.283 GB, free: 222.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/8.004, allocations: 62.41 kB / 3.283 GB, free: 222.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/8.005, allocations: 279.7 kB / 3.284 GB, free: 222.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/8.005, allocations: 29.02 kB / 3.284 GB, free: 222.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/8.005, allocations: 186.5 kB / 3.284 GB, free: 222.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/8.005, allocations: 61.55 kB / 3.284 GB, free: 222 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/8.005, allocations: 7.312 kB / 3.284 GB, free: 222 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/8.005, allocations: 342.2 kB / 3.284 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/8.005, allocations: 55.09 kB / 3.284 GB, free: 221.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/8.005, allocations: 122.5 kB / 3.284 GB, free: 221.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/8.005, allocations: 67.86 kB / 3.284 GB, free: 221.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/8.005, allocations: 0 / 3.284 GB, free: 221.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003542/8.006, allocations: 221.2 kB / 3.285 GB, free: 221.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/8.006, allocations: 6.969 kB / 3.285 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/8.006, allocations: 0 / 3.285 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/8.006, allocations: 3.125 kB / 3.285 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/8.006, allocations: 48.94 kB / 3.285 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/8.006, allocations: 3.188 kB / 3.285 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/8.006, allocations: 34.11 kB / 3.285 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/8.006, allocations: 20.05 kB / 3.285 GB, free: 221.6 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 8.736e-05/8.007, allocations: 125.1 kB / 3.285 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/8.007, allocations: 26.69 kB / 3.285 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/8.007, allocations: 192.5 kB / 3.285 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/8.007, allocations: 3.375 kB / 3.285 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/8.007, allocations: 0 / 3.285 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/8.007, allocations: 7.172 kB / 3.285 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009267/8.008, allocations: 0.6556 MB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/8.008, allocations: 3.219 kB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/8.008, allocations: 38.61 kB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/8.008, allocations: 5.938 kB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/8.008, allocations: 3.062 kB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/8.008, allocations: 3.062 kB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/8.008, allocations: 8.359 kB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/8.009, allocations: 476.6 kB / 3.286 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/8.009, allocations: 126.7 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/8.009, allocations: 7.109 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/8.009, allocations: 22.94 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/8.009, allocations: 18.25 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/8.009, allocations: 11.12 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002324/8.01, allocations: 227.2 kB / 3.287 GB, free: 220.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/8.01, allocations: 96 / 3.287 GB, free: 220.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008546/8.01, allocations: 178.9 kB / 3.287 GB, free: 220.5 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.002836/8.013, allocations: 2.423 MB / 3.289 GB, free: 219.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003379/8.014, allocations: 144.5 kB / 3.289 GB, free: 219.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/8.014, allocations: 3.406 kB / 3.289 GB, free: 219.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/8.014, allocations: 69.2 kB / 3.289 GB, free: 219.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008668/8.015, allocations: 154.2 kB / 3.289 GB, free: 219.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/8.016, allocations: 0.5283 MB / 3.29 GB, free: 218.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/8.016, allocations: 0.7931 MB / 3.291 GB, free: 218.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002466/8.016, allocations: 62.31 kB / 3.291 GB, free: 218.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/8.017, allocations: 92.06 kB / 3.291 GB, free: 218.1 MB / 0.948 GB Notification: Performance of SimCode: time 8.42e-07/8.017, allocations: 0 / 3.291 GB, free: 218.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06725/8.084, allocations: 27.32 MB / 3.318 GB, free: 216.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/8.084, allocations: 181.2 kB / 3.318 GB, free: 215.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.102/11.19, allocations: 0 / 3.318 GB, free: 215.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)