Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 103 kB / 16.36 MB, free: 6.461 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.001689/0.001689, allocations: 193.7 kB / 17.3 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 71.19 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2318, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6461/0.8779, allocations: 167.4 MB / 0.9483 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002915/0.8809, allocations: 1.553 MB / 0.9498 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004187/0.8813, allocations: 11.94 kB / 0.9498 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004966/0.8818, allocations: 154.9 kB / 0.9499 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.8836, allocations: 0.7078 MB / 0.9506 GB, free: 176 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.8852, allocations: 0.603 MB / 0.9512 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008955/0.8861, allocations: 0.719 MB / 0.9519 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003931/0.8865, allocations: 244.8 kB / 0.9521 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006415/0.8872, allocations: 342.7 kB / 0.9525 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.8875, allocations: 227 kB / 0.9527 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.8875, allocations: 24 kB / 0.9527 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.8891, allocations: 0.8728 MB / 0.9536 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.8892, allocations: 111.7 kB / 0.9537 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.8894, allocations: 171.2 kB / 0.9538 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.8904, allocations: 0.7363 MB / 0.9546 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8905, allocations: 0 / 0.9546 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8905, allocations: 0 / 0.9546 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.8905, allocations: 0 / 0.9546 GB, free: 12.14 MB / 0.7481 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.0009698/0.8915, allocations: 0.6688 MB / 0.9552 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.8915, allocations: 8.031 kB / 0.9552 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.8927, allocations: 156.2 kB / 0.9554 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.8932, allocations: 312 kB / 0.9557 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.8932, allocations: 20.56 kB / 0.9557 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.8933, allocations: 23.94 kB / 0.9557 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/0.8938, allocations: 285.8 kB / 0.956 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.8938, allocations: 0 / 0.956 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.8938, allocations: 8 kB / 0.956 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.8939, allocations: 4 kB / 0.956 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.8943, allocations: 204.9 kB / 0.9562 GB, free: 10.37 MB / 0.7481 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.001457/0.8957, allocations: 1.228 MB / 0.9574 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.896, allocations: 154.4 kB / 0.9575 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.8962, allocations: 97.58 kB / 0.9576 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006021/0.8968, allocations: 303.2 kB / 0.9579 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.8969, allocations: 30.56 kB / 0.9579 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.8969, allocations: 0 / 0.9579 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0007324/0.8976, allocations: 295.6 kB / 0.9582 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.8977, allocations: 59.25 kB / 0.9583 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.898, allocations: 328.5 kB / 0.9586 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.898, allocations: 29.7 kB / 0.9586 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.8981, allocations: 176.2 kB / 0.9588 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.8982, allocations: 67.08 kB / 0.9589 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.8983, allocations: 45.7 kB / 0.9589 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8984, allocations: 338.8 kB / 0.9592 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.8986, allocations: 67.95 kB / 0.9593 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.8988, allocations: 131.1 kB / 0.9594 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.8992, allocations: 200.3 kB / 0.9596 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.8992, allocations: 3.938 kB / 0.9596 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004497/0.8996, allocations: 249.9 kB / 0.9598 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.8997, allocations: 10.02 kB / 0.9599 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.8997, allocations: 5.875 kB / 0.9599 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.8997, allocations: 1.406 kB / 0.9599 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.8999, allocations: 52.02 kB / 0.9599 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.8999, allocations: 4 kB / 0.9599 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.9001, allocations: 27.67 kB / 0.9599 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.9002, allocations: 12 kB / 0.96 GB, free: 6.242 MB / 0.7481 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.0001399/0.9003, allocations: 157.7 kB / 0.9601 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.9004, allocations: 27.62 kB / 0.9601 GB, free: 6.051 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.9008, allocations: 232.7 kB / 0.9604 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.9008, allocations: 4 kB / 0.9604 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9009, allocations: 2.312 kB / 0.9604 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.9009, allocations: 0 / 0.9604 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.9019, allocations: 0.7037 MB / 0.961 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.9019, allocations: 0 / 0.961 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.9021, allocations: 39.91 kB / 0.9611 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.9021, allocations: 0 / 0.9611 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.9022, allocations: 8 kB / 0.9611 GB, free: 4.988 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.9022, allocations: 7.938 kB / 0.9611 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.9022, allocations: 2.281 kB / 0.9611 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007143/0.9029, allocations: 458.2 kB / 0.9615 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.903, allocations: 120.7 kB / 0.9617 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.9031, allocations: 7.938 kB / 0.9617 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.9033, allocations: 19.92 kB / 0.9617 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.9033, allocations: 8.125 kB / 0.9617 GB, free: 4.324 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.9034, allocations: 16.06 kB / 0.9617 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002614/0.9036, allocations: 227 kB / 0.9619 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9036, allocations: 0 / 0.9619 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004155/0.9041, allocations: 91.84 kB / 0.962 GB, free: 4 MB / 0.7481 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.0003588/0.9044, allocations: 164.9 kB / 0.9622 GB, free: 3.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.9049, allocations: 183.8 kB / 0.9623 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9049, allocations: 0 / 0.9623 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.9051, allocations: 91.83 kB / 0.9624 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008297/0.9059, allocations: 168.7 kB / 0.9626 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.9069, allocations: 0.6251 MB / 0.9632 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.9073, allocations: 0.7834 MB / 0.964 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.9075, allocations: 63.7 kB / 0.964 GB, free: 1.887 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.9076, allocations: 27.44 kB / 0.964 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.9076, allocations: 3.938 kB / 0.9641 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of Templates: time 0.01059/0.9182, allocations: 5.82 MB / 0.9697 GB, free: 12.2 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)