Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.462/1.462, allocations: 252 MB / 267.3 MB, free: 10.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 173.7 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.4 MB / 0.578 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008742/0.000874, allocations: 82.12 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004468, allocations: 8.5 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2452, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.8201/1.065, allocations: 163.1 MB / 1.06 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003089/1.069, allocations: 1.605 MB / 1.062 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004049/1.069, allocations: 8.75 kB / 1.062 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004979/1.069, allocations: 120.5 kB / 1.062 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002045/1.072, allocations: 0.6671 MB / 1.063 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/1.074, allocations: 0.5467 MB / 1.063 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001508/1.075, allocations: 0.9844 MB / 1.064 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004259/1.075, allocations: 195.2 kB / 1.064 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008362/1.076, allocations: 323.7 kB / 1.065 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/1.077, allocations: 231.2 kB / 1.065 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/1.077, allocations: 17.91 kB / 1.065 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/1.079, allocations: 1.011 MB / 1.066 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/1.079, allocations: 105.2 kB / 1.066 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004393/1.08, allocations: 188.8 kB / 1.066 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001902/1.082, allocations: 0.7654 MB / 1.067 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.082, allocations: 0 / 1.067 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.116e-06/1.082, allocations: 1.266 kB / 1.067 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.367e-05/1.082, allocations: 0 / 1.067 GB, free: 17.79 MB / 0.7136 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.001058/1.083, allocations: 0.6113 MB / 1.067 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.083, allocations: 8.641 kB / 1.067 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.042e-05/1.083, allocations: 55.52 kB / 1.067 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/1.084, allocations: 159.8 kB / 1.068 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/1.085, allocations: 319.2 kB / 1.068 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/1.085, allocations: 19.59 kB / 1.068 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/1.085, allocations: 26.16 kB / 1.068 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005934/1.085, allocations: 288 kB / 1.068 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/1.085, allocations: 0 / 1.068 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/1.086, allocations: 10.94 kB / 1.068 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/1.086, allocations: 7.188 kB / 1.068 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/1.086, allocations: 209.3 kB / 1.068 GB, free: 16.92 MB / 0.7136 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.001836/1.088, allocations: 1.235 MB / 1.07 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/1.088, allocations: 154 kB / 1.07 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/1.088, allocations: 104.1 kB / 1.07 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008573/1.089, allocations: 317.3 kB / 1.07 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/1.089, allocations: 32.55 kB / 1.07 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 2.906e-06/1.089, allocations: 0 / 1.07 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.001212/1.091, allocations: 313.9 kB / 1.071 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/1.091, allocations: 53.69 kB / 1.071 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006239/1.091, allocations: 322.6 kB / 1.071 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/1.091, allocations: 30.89 kB / 1.071 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/1.092, allocations: 184.1 kB / 1.071 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/1.092, allocations: 60.06 kB / 1.071 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/1.092, allocations: 7.281 kB / 1.071 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001867/1.092, allocations: 347.6 kB / 1.072 GB, free: 15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/1.092, allocations: 71.11 kB / 1.072 GB, free: 15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/1.093, allocations: 130.9 kB / 1.072 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/1.093, allocations: 215.4 kB / 1.072 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.093, allocations: 0.875 kB / 1.072 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007253/1.094, allocations: 264.6 kB / 1.072 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/1.094, allocations: 6.406 kB / 1.072 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.094, allocations: 3.797 kB / 1.072 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/1.094, allocations: 3.562 kB / 1.072 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/1.094, allocations: 46.48 kB / 1.072 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.094, allocations: 2.438 kB / 1.072 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/1.095, allocations: 43.56 kB / 1.072 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/1.095, allocations: 9.641 kB / 1.072 GB, free: 14.83 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002136/1.095, allocations: 155.1 kB / 1.072 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/1.095, allocations: 30.56 kB / 1.072 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007332/1.096, allocations: 248.8 kB / 1.073 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/1.096, allocations: 2.031 kB / 1.073 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.096, allocations: 0.5625 kB / 1.073 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.096, allocations: 1.875 kB / 1.073 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/1.097, allocations: 0.7092 MB / 1.073 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.097, allocations: 7.641 kB / 1.073 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/1.097, allocations: 45.36 kB / 1.073 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/1.097, allocations: 3.188 kB / 1.073 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/1.097, allocations: 4.984 kB / 1.073 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/1.097, allocations: 8.219 kB / 1.073 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.097, allocations: 2.656 kB / 1.073 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009856/1.098, allocations: 467.1 kB / 1.074 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/1.099, allocations: 130 kB / 1.074 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/1.099, allocations: 8.625 kB / 1.074 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/1.099, allocations: 18.08 kB / 1.074 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/1.099, allocations: 19.3 kB / 1.074 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/1.099, allocations: 6.047 kB / 1.074 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000374/1.099, allocations: 231.1 kB / 1.074 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.91e-07/1.099, allocations: 4.781 kB / 1.074 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006128/1.1, allocations: 90.56 kB / 1.074 GB, free: 13.86 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001643/1.102, allocations: 1.057 MB / 1.075 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006148/1.102, allocations: 190.5 kB / 1.076 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.102, allocations: 0 / 1.076 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002412/1.103, allocations: 99.02 kB / 1.076 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/1.104, allocations: 157.4 kB / 1.076 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005164/1.109, allocations: 3.187 MB / 1.079 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/1.109, allocations: 0.785 MB / 1.08 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000356/1.11, allocations: 65.11 kB / 1.08 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/1.11, allocations: 92.2 kB / 1.08 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/1.11, allocations: 1.219 kB / 1.08 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/1.135, allocations: 8.428 MB / 1.088 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/1.135, allocations: 242.4 kB / 1.088 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.723/3.858, allocations: 0 / 1.088 GB, free: 9.758 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)