Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001066, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 192.2 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 290.8 kB / 290.3 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9526/0.9526, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 95.7 kB / 0.5948 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1496, allocations: 86.97 MB / 0.6797 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.4314/0.5811, allocations: 165.1 MB / 0.841 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002321/0.5834, allocations: 1.551 MB / 0.8425 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.5837, allocations: 10.09 kB / 0.8425 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.5842, allocations: 123.7 kB / 0.8426 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.5857, allocations: 0.6689 MB / 0.8433 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.587, allocations: 0.5568 MB / 0.8438 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007476/0.5877, allocations: 0.7162 MB / 0.8445 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.588, allocations: 217 kB / 0.8447 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/0.5886, allocations: 356.6 kB / 0.8451 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.5889, allocations: 235.8 kB / 0.8453 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.5889, allocations: 23.38 kB / 0.8453 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.5902, allocations: 0.9054 MB / 0.8462 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.5904, allocations: 108.2 kB / 0.8463 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.5906, allocations: 174.4 kB / 0.8465 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.5916, allocations: 0.7939 MB / 0.8473 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5917, allocations: 0 / 0.8473 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5917, allocations: 0 / 0.8473 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.5917, allocations: 0 / 0.8473 GB, free: 13.62 MB / 0.5762 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.001016/0.5927, allocations: 0.6667 MB / 0.8479 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.5928, allocations: 10.25 kB / 0.8479 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.033e-05/0.5928, allocations: 52.02 kB / 0.848 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.594, allocations: 170.9 kB / 0.8481 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.5944, allocations: 311.8 kB / 0.8484 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.5945, allocations: 19.53 kB / 0.8484 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.5945, allocations: 23.84 kB / 0.8485 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.595, allocations: 284.9 kB / 0.8487 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.595, allocations: 4 kB / 0.8487 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.595, allocations: 6.469 kB / 0.8487 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.5951, allocations: 5.688 kB / 0.8488 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.5955, allocations: 205.6 kB / 0.8489 GB, free: 12.29 MB / 0.5762 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.001289/0.5968, allocations: 1.228 MB / 0.8501 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.597, allocations: 149 kB / 0.8503 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.5972, allocations: 94.3 kB / 0.8504 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/0.5978, allocations: 305.5 kB / 0.8507 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.5979, allocations: 33.12 kB / 0.8507 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 2.886e-06/0.5979, allocations: 0 / 0.8507 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007438/0.5986, allocations: 304.5 kB / 0.851 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.5987, allocations: 51.41 kB / 0.851 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.599, allocations: 321.1 kB / 0.8513 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.599, allocations: 25.7 kB / 0.8514 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.5991, allocations: 189.1 kB / 0.8516 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.5992, allocations: 55.23 kB / 0.8516 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.5993, allocations: 55.58 kB / 0.8517 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5994, allocations: 342.6 kB / 0.852 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.5996, allocations: 70.33 kB / 0.8521 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.5998, allocations: 131.9 kB / 0.8522 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.6001, allocations: 197.3 kB / 0.8524 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.6001, allocations: 3.938 kB / 0.8524 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004481/0.6006, allocations: 250.3 kB / 0.8526 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6006, allocations: 5.125 kB / 0.8526 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6006, allocations: 6.781 kB / 0.8526 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.6006, allocations: 2.562 kB / 0.8526 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.6008, allocations: 52.5 kB / 0.8527 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.6009, allocations: 2.688 kB / 0.8527 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.6011, allocations: 29.77 kB / 0.8527 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.6011, allocations: 11.31 kB / 0.8527 GB, free: 9.207 MB / 0.5762 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.0001417/0.6013, allocations: 160.5 kB / 0.8529 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.6013, allocations: 30.72 kB / 0.8529 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.6018, allocations: 235.1 kB / 0.8531 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6018, allocations: 0 / 0.8531 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6018, allocations: 0 / 0.8531 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6018, allocations: 2.375 kB / 0.8531 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009836/0.6028, allocations: 0.7115 MB / 0.8538 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6028, allocations: 0 / 0.8538 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.603, allocations: 51.69 kB / 0.8539 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.603, allocations: 2.594 kB / 0.8539 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.603, allocations: 4.844 kB / 0.8539 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.6031, allocations: 3.938 kB / 0.8539 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6031, allocations: 2.781 kB / 0.8539 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.6037, allocations: 448.8 kB / 0.8543 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.6038, allocations: 124.3 kB / 0.8544 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.6039, allocations: 4.781 kB / 0.8544 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.6041, allocations: 27.56 kB / 0.8545 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.6041, allocations: 19.28 kB / 0.8545 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.6041, allocations: 10.84 kB / 0.8545 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001989/0.6043, allocations: 228.6 kB / 0.8547 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6043, allocations: 3 kB / 0.8547 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00039/0.6047, allocations: 79.34 kB / 0.8548 GB, free: 7.633 MB / 0.5762 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.001083/0.6058, allocations: 1.044 MB / 0.8558 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004094/0.6063, allocations: 194.7 kB / 0.856 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.6063, allocations: 96 / 0.856 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.6065, allocations: 96.55 kB / 0.8561 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008817/0.6073, allocations: 162.1 kB / 0.8562 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.6107, allocations: 3.097 MB / 0.8593 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.6111, allocations: 0.7872 MB / 0.86 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002422/0.6113, allocations: 74.08 kB / 0.8601 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.6115, allocations: 92.38 kB / 0.8602 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.6115, allocations: 0 / 0.8602 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.6309, allocations: 8.78 MB / 0.8688 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.6311, allocations: 250.3 kB / 0.869 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.614, allocations: 0 / 0.869 GB, free: 14.84 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)