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.706/1.706, allocations: 285.4 MB / 298 MB, free: 5.984 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.001012/0.001012, allocations: 176.8 kB / 366.4 MB, free: 2.09 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.434/1.434, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008254/0.0008257, allocations: 91.69 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.146e-05/4.16e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7344/0.7345, allocations: 115.3 MB / 0.971 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.517/5.252, allocations: 2.061 GB / 3.032 GB, free: 32.52 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/5.252, allocations: 82.58 kB / 3.032 GB, free: 32.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.044/6.295, allocations: 243.1 MB / 3.27 GB, free: 178.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.713e-06/6.296, allocations: 0 / 3.27 GB, free: 178.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.756e-05/6.296, allocations: 8 kB / 3.27 GB, free: 178.3 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.001314/6.297, allocations: 0.6502 MB / 3.27 GB, free: 177.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/6.297, allocations: 8.031 kB / 3.271 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.58e-05/6.297, allocations: 54.55 kB / 3.271 GB, free: 177.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/6.298, allocations: 159.3 kB / 3.271 GB, free: 177.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/6.299, allocations: 322.8 kB / 3.271 GB, free: 177 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/6.299, allocations: 28.5 kB / 3.271 GB, free: 177 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/6.299, allocations: 24 kB / 3.271 GB, free: 177 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/6.299, allocations: 261.9 kB / 3.271 GB, free: 176.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/6.299, allocations: 0 / 3.271 GB, free: 176.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/6.299, allocations: 4 kB / 3.271 GB, free: 176.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/6.299, allocations: 8 kB / 3.271 GB, free: 176.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/6.3, allocations: 169 kB / 3.271 GB, free: 176.5 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.001318/6.301, allocations: 1.215 MB / 3.273 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/6.301, allocations: 122.4 kB / 3.273 GB, free: 175.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.182e-05/6.301, allocations: 76.84 kB / 3.273 GB, free: 175 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000438/6.302, allocations: 299.3 kB / 3.273 GB, free: 174.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/6.302, allocations: 42.45 kB / 3.273 GB, free: 174.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 1.793e-06/6.302, allocations: 0 / 3.273 GB, free: 174.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.0005066/6.302, allocations: 185.6 kB / 3.273 GB, free: 174.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/6.302, allocations: 51.41 kB / 3.273 GB, free: 174.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/6.303, allocations: 298.6 kB / 3.274 GB, free: 174.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/6.303, allocations: 25.7 kB / 3.274 GB, free: 174 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/6.303, allocations: 176.2 kB / 3.274 GB, free: 173.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/6.303, allocations: 63.09 kB / 3.274 GB, free: 173.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-06/6.303, allocations: 4 kB / 3.274 GB, free: 173.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/6.303, allocations: 342.8 kB / 3.274 GB, free: 173.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-05/6.303, allocations: 52.8 kB / 3.274 GB, free: 173.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/6.303, allocations: 118.6 kB / 3.274 GB, free: 173.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/6.303, allocations: 73.73 kB / 3.275 GB, free: 173.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/6.303, allocations: 0 / 3.275 GB, free: 173.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003019/6.304, allocations: 205.2 kB / 3.275 GB, free: 173 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/6.304, allocations: 5.094 kB / 3.275 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/6.304, allocations: 7.938 kB / 3.275 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/6.304, allocations: 7.891 kB / 3.275 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/6.304, allocations: 51.91 kB / 3.275 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/6.304, allocations: 4.094 kB / 3.275 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/6.304, allocations: 39.67 kB / 3.275 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/6.304, allocations: 19.98 kB / 3.275 GB, free: 172.8 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 () * 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 6.668e-05/6.304, allocations: 112.9 kB / 3.275 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/6.304, allocations: 27.62 kB / 3.275 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/6.305, allocations: 196.5 kB / 3.275 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/6.305, allocations: 3.953 kB / 3.275 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/6.305, allocations: 0 / 3.275 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/6.305, allocations: 4 kB / 3.275 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/6.305, allocations: 0.6599 MB / 3.276 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/6.305, allocations: 0 / 3.276 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/6.306, allocations: 43.91 kB / 3.276 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/6.306, allocations: 0 / 3.276 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/6.306, allocations: 8 kB / 3.276 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/6.306, allocations: 4 kB / 3.276 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/6.306, allocations: 0 / 3.276 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/6.306, allocations: 476.7 kB / 3.276 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/6.306, allocations: 128.7 kB / 3.276 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/6.306, allocations: 4 kB / 3.276 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/6.307, allocations: 24.05 kB / 3.276 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/6.307, allocations: 23.92 kB / 3.276 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/6.307, allocations: 12 kB / 3.277 GB, free: 170.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000186/6.307, allocations: 226.2 kB / 3.277 GB, free: 170.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.5e-07/6.307, allocations: 0 / 3.277 GB, free: 170.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007276/6.308, allocations: 167.9 kB / 3.277 GB, free: 170.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 () * 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.002207/6.31, allocations: 2.418 MB / 3.279 GB, free: 168.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002902/6.31, allocations: 151.3 kB / 3.279 GB, free: 167.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/6.31, allocations: 0 / 3.279 GB, free: 167.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/6.31, allocations: 71.86 kB / 3.279 GB, free: 167.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008212/6.311, allocations: 170.2 kB / 3.28 GB, free: 167.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/6.312, allocations: 0.5377 MB / 3.28 GB, free: 167.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/6.312, allocations: 0.7875 MB / 3.281 GB, free: 166.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002675/6.313, allocations: 62.92 kB / 3.281 GB, free: 166.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/6.313, allocations: 87.41 kB / 3.281 GB, free: 166.1 MB / 0.948 GB Notification: Performance of SimCode: time 3.6e-07/6.313, allocations: 0 / 3.281 GB, free: 166.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04167/6.354, allocations: 27.33 MB / 3.308 GB, free: 138.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/6.355, allocations: 186.1 kB / 3.308 GB, free: 138.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.909/9.263, allocations: 0 / 3.308 GB, free: 138.7 MB / 0.948 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)