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.789/1.789, allocations: 292.6 MB / 307.5 MB, free: 5.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.001212/0.001212, allocations: 183.7 kB / 377.1 MB, free: 1.523 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.89/1.89, allocations: 205.4 MB / 0.6366 GB, free: 8.637 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.0009166/0.0009167, allocations: 85.55 kB / 0.7509 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3201, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.145/6.465, allocations: 2.062 GB / 3.051 GB, free: 119.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004733/6.466, allocations: 87.75 kB / 3.051 GB, free: 119.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.37/7.836, allocations: 243.4 MB / 3.289 GB, free: 224.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.134e-06/7.836, allocations: 0 / 3.289 GB, free: 224.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.47e-05/7.836, allocations: 11.34 kB / 3.289 GB, free: 224.7 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.002189/7.838, allocations: 0.6892 MB / 3.289 GB, free: 224.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/7.838, allocations: 9.031 kB / 3.289 GB, free: 224.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/7.838, allocations: 58 kB / 3.289 GB, free: 224.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/7.84, allocations: 151.8 kB / 3.289 GB, free: 224.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/7.841, allocations: 335.5 kB / 3.29 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/7.841, allocations: 19 kB / 3.29 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.905e-05/7.841, allocations: 31.25 kB / 3.29 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/7.841, allocations: 277.6 kB / 3.29 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/7.841, allocations: 0.9688 kB / 3.29 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/7.841, allocations: 6.812 kB / 3.29 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/7.841, allocations: 9.094 kB / 3.29 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005473/7.842, allocations: 200 kB / 3.29 GB, free: 223.6 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.002255/7.844, allocations: 1.228 MB / 3.292 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/7.845, allocations: 136.2 kB / 3.292 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/7.845, allocations: 299.4 kB / 3.292 GB, free: 222.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/7.845, allocations: 31.34 kB / 3.292 GB, free: 222.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 2.855e-06/7.845, allocations: 0 / 3.292 GB, free: 222.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.001065/7.846, allocations: 289.5 kB / 3.292 GB, free: 222.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/7.846, allocations: 56.84 kB / 3.292 GB, free: 222 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/7.847, allocations: 286.7 kB / 3.293 GB, free: 221.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/7.847, allocations: 31.08 kB / 3.293 GB, free: 221.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/7.847, allocations: 183 kB / 3.293 GB, free: 221.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.601e-05/7.847, allocations: 57.73 kB / 3.293 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/7.847, allocations: 9.312 kB / 3.293 GB, free: 221.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001131/7.847, allocations: 343.2 kB / 3.293 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/7.847, allocations: 69.66 kB / 3.293 GB, free: 221.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/7.848, allocations: 141 kB / 3.293 GB, free: 221.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/7.848, allocations: 89.52 kB / 3.293 GB, free: 221.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/7.848, allocations: 0 / 3.293 GB, free: 221.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006006/7.848, allocations: 252.7 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/7.849, allocations: 6.219 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/7.849, allocations: 1.125 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/7.849, allocations: 3.188 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/7.849, allocations: 48.06 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/7.849, allocations: 7.094 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/7.849, allocations: 43.77 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/7.849, allocations: 16.62 kB / 3.294 GB, free: 221 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.0001913/7.849, allocations: 153 kB / 3.294 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/7.85, allocations: 29.94 kB / 3.294 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005407/7.85, allocations: 235.2 kB / 3.294 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/7.85, allocations: 2.188 kB / 3.294 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/7.85, allocations: 0.9375 kB / 3.294 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/7.85, allocations: 0 / 3.294 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/7.851, allocations: 0.6981 MB / 3.295 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/7.851, allocations: 1.156 kB / 3.295 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/7.852, allocations: 36.92 kB / 3.295 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/7.852, allocations: 3.656 kB / 3.295 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/7.852, allocations: 10.19 kB / 3.295 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/7.852, allocations: 7 kB / 3.295 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/7.852, allocations: 2.562 kB / 3.295 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007896/7.853, allocations: 0.5167 MB / 3.295 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/7.853, allocations: 129.9 kB / 3.296 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/7.853, allocations: 7.969 kB / 3.296 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/7.853, allocations: 14.45 kB / 3.296 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/7.853, allocations: 19.2 kB / 3.296 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/7.853, allocations: 5.625 kB / 3.296 GB, free: 219.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003079/7.853, allocations: 231.8 kB / 3.296 GB, free: 219.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/7.853, allocations: 96 / 3.296 GB, free: 219.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001002/7.854, allocations: 172.9 kB / 3.296 GB, free: 219.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 () * 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.003245/7.858, allocations: 2.478 MB / 3.298 GB, free: 217.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005482/7.858, allocations: 176.8 kB / 3.299 GB, free: 217.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/7.858, allocations: 1.625 kB / 3.299 GB, free: 217.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/7.859, allocations: 98.73 kB / 3.299 GB, free: 217.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009368/7.859, allocations: 156.2 kB / 3.299 GB, free: 217.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/7.863, allocations: 2.573 MB / 3.301 GB, free: 215.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/7.863, allocations: 0.7882 MB / 3.302 GB, free: 215.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003337/7.864, allocations: 64.44 kB / 3.302 GB, free: 215.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/7.864, allocations: 93.38 kB / 3.302 GB, free: 215.1 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/7.864, allocations: 4 kB / 3.302 GB, free: 215.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06696/7.931, allocations: 24.44 MB / 3.326 GB, free: 207.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/7.931, allocations: 205 kB / 3.326 GB, free: 207.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/11.06, allocations: 0 / 3.326 GB, free: 207.5 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)