Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.726/1.726, allocations: 288.4 MB / 303.3 MB, free: 8.234 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.001129/0.001128, allocations: 187 kB / 372 MB, free: 10.26 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.955/1.955, allocations: 205.4 MB / 0.6307 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000862/0.0008618, allocations: 88.59 kB / 0.744 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.000456, allocations: 16.88 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2538, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.8226/1.076, allocations: 152.1 MB / 1.128 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003409/1.08, allocations: 1.479 MB / 1.13 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006749/1.081, allocations: 9.625 kB / 1.13 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005895/1.081, allocations: 109.3 kB / 1.13 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002028/1.083, allocations: 0.5124 MB / 1.13 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/1.085, allocations: 453.3 kB / 1.131 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001417/1.087, allocations: 0.8431 MB / 1.131 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/1.087, allocations: 178.3 kB / 1.132 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007262/1.088, allocations: 318.3 kB / 1.132 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/1.088, allocations: 228.4 kB / 1.132 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/1.088, allocations: 13.84 kB / 1.132 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/1.089, allocations: 463.2 kB / 1.133 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/1.09, allocations: 95.95 kB / 1.133 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/1.09, allocations: 89.73 kB / 1.133 GB, free: 16.74 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007681/1.09, allocations: 452.5 kB / 1.133 GB, free: 16.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/1.091, allocations: 0 / 1.133 GB, free: 16.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.366e-06/1.091, allocations: 0 / 1.133 GB, free: 16.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.523e-05/1.091, allocations: 4 kB / 1.133 GB, free: 16.7 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.001173/1.092, allocations: 0.6114 MB / 1.134 GB, free: 16.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/1.092, allocations: 7.562 kB / 1.134 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.353e-05/1.092, allocations: 61.3 kB / 1.134 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/1.093, allocations: 164.6 kB / 1.134 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/1.094, allocations: 302 kB / 1.134 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/1.094, allocations: 17.94 kB / 1.134 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/1.094, allocations: 19.94 kB / 1.134 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/1.094, allocations: 291 kB / 1.135 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.094, allocations: 0 / 1.135 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/1.094, allocations: 9.438 kB / 1.135 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/1.094, allocations: 5.75 kB / 1.135 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/1.095, allocations: 213.9 kB / 1.135 GB, free: 15.82 MB / 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.001619/1.096, allocations: 1.236 MB / 1.136 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/1.097, allocations: 153.7 kB / 1.136 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/1.097, allocations: 98.41 kB / 1.136 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007262/1.098, allocations: 314.7 kB / 1.137 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/1.098, allocations: 37.31 kB / 1.137 GB, free: 14.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/1.098, allocations: 0 / 1.137 GB, free: 14.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.0008599/1.099, allocations: 312.1 kB / 1.137 GB, free: 14.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/1.099, allocations: 54.75 kB / 1.137 GB, free: 14.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/1.099, allocations: 320.2 kB / 1.137 GB, free: 14.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/1.099, allocations: 32.83 kB / 1.137 GB, free: 14.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/1.099, allocations: 180 kB / 1.138 GB, free: 14.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/1.099, allocations: 61.31 kB / 1.138 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/1.099, allocations: 6.719 kB / 1.138 GB, free: 14.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.099, allocations: 343.8 kB / 1.138 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/1.1, allocations: 75.98 kB / 1.138 GB, free: 13.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/1.1, allocations: 136.7 kB / 1.138 GB, free: 13.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/1.1, allocations: 91.27 kB / 1.138 GB, free: 13.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.1, allocations: 0 / 1.138 GB, free: 13.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000501/1.101, allocations: 261.8 kB / 1.138 GB, free: 13.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.101, allocations: 10.28 kB / 1.138 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.101, allocations: 2.938 kB / 1.138 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/1.101, allocations: 2.531 kB / 1.138 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/1.101, allocations: 51.58 kB / 1.139 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/1.101, allocations: 3.922 kB / 1.139 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/1.101, allocations: 39 kB / 1.139 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/1.101, allocations: 10.23 kB / 1.139 GB, free: 13.73 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.0001931/1.101, allocations: 161.1 kB / 1.139 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/1.101, allocations: 29 kB / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005775/1.102, allocations: 238.9 kB / 1.139 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.102, allocations: 2 kB / 1.139 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.102, allocations: 1 kB / 1.139 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.102, allocations: 1.969 kB / 1.139 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/1.103, allocations: 0.714 MB / 1.14 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.103, allocations: 0 / 1.14 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/1.104, allocations: 50.23 kB / 1.14 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.104, allocations: 3.312 kB / 1.14 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/1.104, allocations: 6.562 kB / 1.14 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/1.104, allocations: 2.406 kB / 1.14 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.104, allocations: 3.953 kB / 1.14 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007173/1.104, allocations: 467.2 kB / 1.14 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/1.104, allocations: 122.2 kB / 1.14 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/1.105, allocations: 6.906 kB / 1.14 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/1.105, allocations: 19.86 kB / 1.14 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/1.105, allocations: 22.62 kB / 1.14 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/1.105, allocations: 9.703 kB / 1.14 GB, free: 12.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002439/1.105, allocations: 227.4 kB / 1.141 GB, free: 12.74 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.105, allocations: 0 / 1.141 GB, free: 12.74 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004889/1.106, allocations: 88.19 kB / 1.141 GB, free: 12.73 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.001742/1.107, allocations: 1.057 MB / 1.142 GB, free: 11.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000604/1.108, allocations: 191 kB / 1.142 GB, free: 11.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/1.108, allocations: 0 / 1.142 GB, free: 11.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/1.108, allocations: 101.9 kB / 1.142 GB, free: 11.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/1.109, allocations: 162.5 kB / 1.142 GB, free: 11.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/1.113, allocations: 1.87 MB / 1.144 GB, free: 10.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/1.113, allocations: 0.7808 MB / 1.145 GB, free: 10.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003403/1.114, allocations: 67.34 kB / 1.145 GB, free: 10.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/1.114, allocations: 97.69 kB / 1.145 GB, free: 10.12 MB / 0.698 GB Notification: Performance of SimCode: time 1.302e-06/1.114, allocations: 0 / 1.145 GB, free: 10.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/1.143, allocations: 8.406 MB / 1.153 GB, free: 6.102 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.144, allocations: 225.1 kB / 1.153 GB, free: 5.859 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.652, allocations: 0 / 1.153 GB, free: 5.859 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)