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.457/1.457, allocations: 252 MB / 267 MB, free: 10.95 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.001025/0.001024, allocations: 178.7 kB / 326.6 MB, free: 2.203 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.935/1.935, allocations: 205.4 MB / 0.5777 GB, free: 20.22 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.0007882/0.0007883, allocations: 99.12 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003473, allocations: 11.34 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2729, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1873/0.4603, allocations: 152.2 MB / 1.049 GB, free: 7.141 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.4635, allocations: 1.544 MB / 1.05 GB, free: 5.594 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003143/0.4638, allocations: 11.94 kB / 1.05 GB, free: 5.582 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004877/0.4643, allocations: 103.2 kB / 1.051 GB, free: 5.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.4659, allocations: 0.5053 MB / 1.051 GB, free: 4.973 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.4675, allocations: 462.8 kB / 1.051 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009494/0.4684, allocations: 0.8424 MB / 1.052 GB, free: 3.676 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.4688, allocations: 177.2 kB / 1.052 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006242/0.4694, allocations: 318.7 kB / 1.053 GB, free: 3.191 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.4697, allocations: 223.1 kB / 1.053 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.4697, allocations: 16 kB / 1.053 GB, free: 2.957 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.4709, allocations: 466.9 kB / 1.053 GB, free: 2.5 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.471, allocations: 91.7 kB / 1.054 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.777e-05/0.4711, allocations: 89.52 kB / 1.054 GB, free: 2.316 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.4717, allocations: 447.2 kB / 1.054 GB, free: 1.879 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4717, allocations: 0 / 1.054 GB, free: 1.879 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4717, allocations: 4 kB / 1.054 GB, free: 1.875 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4717, allocations: 4 kB / 1.054 GB, free: 1.871 MB / 0.698 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.001004/0.4727, allocations: 0.6078 MB / 1.055 GB, free: 1.215 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.4728, allocations: 12.03 kB / 1.055 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.611e-05/0.4729, allocations: 50.55 kB / 1.055 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.474, allocations: 163.4 kB / 1.055 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.4744, allocations: 302.7 kB / 1.055 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.4745, allocations: 20.56 kB / 1.055 GB, free: 0.625 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.4745, allocations: 27.98 kB / 1.055 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.4751, allocations: 285.8 kB / 1.055 GB, free: 304 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4751, allocations: 0 / 1.055 GB, free: 304 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.4751, allocations: 16 kB / 1.056 GB, free: 288 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.4751, allocations: 4 kB / 1.056 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.4756, allocations: 212.9 kB / 1.056 GB, free: 72 kB / 0.698 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.6232/1.099, allocations: 1.219 MB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/1.099, allocations: 155.6 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/1.099, allocations: 101.2 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006577/1.1, allocations: 317.6 kB / 1.057 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/1.1, allocations: 37.67 kB / 1.057 GB, free: 156.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 3.687e-06/1.1, allocations: 1.219 kB / 1.057 GB, free: 156.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.0009229/1.101, allocations: 312.7 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/1.101, allocations: 54.28 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/1.101, allocations: 321.9 kB / 1.058 GB, free: 156.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/1.101, allocations: 25.7 kB / 1.058 GB, free: 156.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/1.102, allocations: 188.3 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/1.102, allocations: 57.92 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/1.102, allocations: 5.906 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.102, allocations: 340.5 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/1.102, allocations: 76.38 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/1.102, allocations: 129 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/1.102, allocations: 96.56 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.102, allocations: 0 / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004628/1.103, allocations: 265.2 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.103, allocations: 5.562 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.103, allocations: 4.547 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.103, allocations: 2.469 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/1.103, allocations: 48.78 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.103, allocations: 2.906 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/1.103, allocations: 41.77 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/1.103, allocations: 8.844 kB / 1.059 GB, free: 155.7 MB / 0.698 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.0001508/1.104, allocations: 151.6 kB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/1.104, allocations: 34.36 kB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005347/1.104, allocations: 245.7 kB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.104, allocations: 2.875 kB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.104, allocations: 0 / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.104, allocations: 3.188 kB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/1.105, allocations: 0.7139 MB / 1.06 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.105, allocations: 0 / 1.06 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/1.106, allocations: 43.7 kB / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/1.106, allocations: 3.062 kB / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/1.106, allocations: 3 kB / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.106, allocations: 9 kB / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/1.106, allocations: 2.719 kB / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/1.106, allocations: 468.9 kB / 1.061 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/1.106, allocations: 129 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/1.106, allocations: 3.844 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/1.107, allocations: 24.42 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/1.107, allocations: 17.95 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/1.107, allocations: 9.281 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002367/1.107, allocations: 228.3 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.107, allocations: 96 / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003838/1.107, allocations: 86.72 kB / 1.061 GB, free: 154.8 MB / 0.698 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.001187/1.109, allocations: 1.054 MB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004634/1.109, allocations: 185.8 kB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.109, allocations: 0 / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002269/1.109, allocations: 104.5 kB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009218/1.11, allocations: 154.4 kB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/1.113, allocations: 1.871 MB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/1.114, allocations: 0.7813 MB / 1.066 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003224/1.114, allocations: 69.48 kB / 1.066 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/1.114, allocations: 89.02 kB / 1.066 GB, free: 152.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.323e-06/1.114, allocations: 2.969 kB / 1.066 GB, free: 152.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/1.146, allocations: 8.417 MB / 1.074 GB, free: 150.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002781/1.147, allocations: 233.1 kB / 1.074 GB, free: 150.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/3.526, allocations: 4 kB / 1.074 GB, free: 150.4 MB / 0.698 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)