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.001057/0.001057, allocations: 104.5 kB / 16.36 MB, free: 6.309 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.001091/0.001091, allocations: 192.9 kB / 17.3 MB, free: 5.871 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.26/1.26, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.702/1.702, allocations: 292.3 MB / 0.5496 GB, free: 17.33 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.001476/0.001476, allocations: 75.03 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.203, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.4887/0.6917, allocations: 167.4 MB / 0.9483 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.6941, allocations: 1.554 MB / 0.9498 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.6943, allocations: 11.94 kB / 0.9498 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.6947, allocations: 156.3 kB / 0.9499 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.6961, allocations: 0.7039 MB / 0.9506 GB, free: 368 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.6974, allocations: 0.6034 MB / 0.9512 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0007207/0.6982, allocations: 0.7216 MB / 0.9519 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.6985, allocations: 241 kB / 0.9522 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005352/0.6991, allocations: 346.7 kB / 0.9525 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.6994, allocations: 223.1 kB / 0.9527 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.6994, allocations: 24 kB / 0.9527 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.7007, allocations: 0.8728 MB / 0.9536 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.7008, allocations: 103.7 kB / 0.9537 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.701, allocations: 183.1 kB / 0.9539 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009074/0.7019, allocations: 0.7285 MB / 0.9546 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7019, allocations: 4 kB / 0.9546 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.193e-06/0.702, allocations: 0 / 0.9546 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.702, allocations: 0 / 0.9546 GB, free: 12.33 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.0009087/0.7029, allocations: 0.6702 MB / 0.9552 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.7029, allocations: 8.031 kB / 0.9552 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.7041, allocations: 155.4 kB / 0.9554 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.7046, allocations: 326.7 kB / 0.9557 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.7047, allocations: 16.56 kB / 0.9557 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.7047, allocations: 27.94 kB / 0.9557 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.7052, allocations: 289.8 kB / 0.956 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.7052, allocations: 0 / 0.956 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.7052, allocations: 8 kB / 0.956 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7053, allocations: 4 kB / 0.956 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.7057, allocations: 200.9 kB / 0.9562 GB, free: 10.54 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.001309/0.707, allocations: 1.23 MB / 0.9574 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.7073, allocations: 146.5 kB / 0.9576 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.7075, allocations: 97.48 kB / 0.9576 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005525/0.7081, allocations: 303.2 kB / 0.9579 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.7081, allocations: 35.88 kB / 0.958 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 2.775e-06/0.7081, allocations: 3.984 kB / 0.958 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0007716/0.7089, allocations: 300.2 kB / 0.9583 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.7089, allocations: 55.31 kB / 0.9583 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.7092, allocations: 320.5 kB / 0.9586 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.7093, allocations: 25.7 kB / 0.9586 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.7094, allocations: 188.2 kB / 0.9588 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.7095, allocations: 59.05 kB / 0.9589 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.963e-05/0.7095, allocations: 45.7 kB / 0.9589 GB, free: 7.535 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7097, allocations: 346.8 kB / 0.9593 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.7098, allocations: 67.95 kB / 0.9593 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.7101, allocations: 123.7 kB / 0.9594 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.7105, allocations: 202.1 kB / 0.9596 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7105, allocations: 0 / 0.9596 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004782/0.7109, allocations: 255.9 kB / 0.9599 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.711, allocations: 4 kB / 0.9599 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.711, allocations: 5.406 kB / 0.9599 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.711, allocations: 4 kB / 0.9599 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.7112, allocations: 51.91 kB / 0.9599 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.7112, allocations: 0 / 0.9599 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.7114, allocations: 35.67 kB / 0.96 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.7115, allocations: 8 kB / 0.96 GB, free: 6.41 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.0001874/0.7117, allocations: 149.7 kB / 0.9601 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.7118, allocations: 35.62 kB / 0.9602 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007218/0.7125, allocations: 234.2 kB / 0.9604 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.7125, allocations: 0 / 0.9604 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.7125, allocations: 0 / 0.9604 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.7127, allocations: 116.8 kB / 0.9605 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.7128, allocations: 7.984 kB / 0.9605 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.7131, allocations: 8 kB / 0.9605 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.7131, allocations: 15.83 kB / 0.9605 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007889/0.7139, allocations: 286 kB / 0.9608 GB, free: 5.539 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00103/0.715, allocations: 480.1 kB / 0.9612 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002739/0.7153, allocations: 80 kB / 0.9613 GB, free: 4.977 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003406/0.7156, allocations: 231 kB / 0.9615 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of Backend: time 5.21e-07/0.7156, allocations: 0 / 0.9615 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.7174, allocations: 393.7 kB / 0.9619 GB, free: 4.375 MB / 0.7481 GB Notification: Performance of SimCode: time 0.002208/0.7196, allocations: 1.129 MB / 0.963 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of Templates: time 0.02081/0.7404, allocations: 7.984 MB / 0.9708 GB, free: 11.39 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)