Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001381/0.001381, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001697/0.001697, allocations: 197.5 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 286.8 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.95/0.95, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 88.2 kB / 0.5945 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2155, allocations: 86.99 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.5785/0.7941, allocations: 165.1 MB / 0.8407 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.7969, allocations: 1.565 MB / 0.8422 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004771/0.7974, allocations: 15.12 kB / 0.8423 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.798, allocations: 113.8 kB / 0.8424 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.7999, allocations: 0.6731 MB / 0.843 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.8015, allocations: 0.5439 MB / 0.8436 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009609/0.8024, allocations: 0.9924 MB / 0.8445 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/0.8028, allocations: 202.2 kB / 0.8447 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000631/0.8034, allocations: 319.8 kB / 0.845 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.8037, allocations: 241.7 kB / 0.8452 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.8038, allocations: 15.12 kB / 0.8453 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.8056, allocations: 1.007 MB / 0.8462 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.8058, allocations: 108.4 kB / 0.8463 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.806, allocations: 171.4 kB / 0.8465 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.8074, allocations: 0.7703 MB / 0.8473 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.8074, allocations: 4 kB / 0.8473 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8074, allocations: 0 / 0.8473 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.8074, allocations: 0 / 0.8473 GB, free: 13.16 MB / 0.5762 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.001065/0.8085, allocations: 0.6634 MB / 0.8479 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.8085, allocations: 7.812 kB / 0.8479 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.8097, allocations: 161.7 kB / 0.8481 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.8102, allocations: 307.5 kB / 0.8484 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.8102, allocations: 19.22 kB / 0.8484 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.8102, allocations: 24.06 kB / 0.8484 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.8107, allocations: 284.4 kB / 0.8487 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.8108, allocations: 4 kB / 0.8487 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.8108, allocations: 10.53 kB / 0.8487 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.8108, allocations: 9.516 kB / 0.8487 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.8112, allocations: 203.1 kB / 0.8489 GB, free: 11.9 MB / 0.5762 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.00159/0.8128, allocations: 1.228 MB / 0.8501 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.8131, allocations: 148.7 kB / 0.8502 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.8133, allocations: 94.52 kB / 0.8503 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007143/0.8141, allocations: 301.5 kB / 0.8506 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.8141, allocations: 36.92 kB / 0.8507 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/0.8141, allocations: 0 / 0.8507 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0008561/0.815, allocations: 302.4 kB / 0.8509 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.815, allocations: 54.41 kB / 0.851 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.8154, allocations: 317 kB / 0.8513 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.8154, allocations: 29.7 kB / 0.8513 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.8156, allocations: 183.6 kB / 0.8515 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.8156, allocations: 58.75 kB / 0.8516 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.8157, allocations: 51.08 kB / 0.8516 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8159, allocations: 342.7 kB / 0.8519 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.816, allocations: 68.45 kB / 0.852 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.8163, allocations: 129.3 kB / 0.8521 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.8166, allocations: 211.8 kB / 0.8523 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8167, allocations: 0 / 0.8523 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004691/0.8171, allocations: 248.5 kB / 0.8526 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.8172, allocations: 4.875 kB / 0.8526 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.8172, allocations: 6.812 kB / 0.8526 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.8172, allocations: 2.25 kB / 0.8526 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.8174, allocations: 53.41 kB / 0.8526 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.8174, allocations: 3.188 kB / 0.8526 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.8177, allocations: 33.17 kB / 0.8527 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.8177, allocations: 11.5 kB / 0.8527 GB, free: 8.809 MB / 0.5762 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.0001459/0.8178, allocations: 157.1 kB / 0.8528 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.8179, allocations: 33.11 kB / 0.8529 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.8184, allocations: 237.5 kB / 0.8531 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.8184, allocations: 0 / 0.8531 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8184, allocations: 0 / 0.8531 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.8184, allocations: 2.031 kB / 0.8531 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.8195, allocations: 0.7033 MB / 0.8538 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.8195, allocations: 2.812 kB / 0.8538 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.8197, allocations: 41.28 kB / 0.8538 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.8197, allocations: 2.594 kB / 0.8538 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.8197, allocations: 8.719 kB / 0.8538 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.8197, allocations: 8.906 kB / 0.8538 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8197, allocations: 2.125 kB / 0.8538 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006675/0.8204, allocations: 452.4 kB / 0.8543 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.8205, allocations: 123.2 kB / 0.8544 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.8206, allocations: 2.438 kB / 0.8544 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.8208, allocations: 30.3 kB / 0.8544 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.8209, allocations: 9.047 kB / 0.8544 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.8209, allocations: 7.562 kB / 0.8544 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002309/0.8211, allocations: 232.8 kB / 0.8546 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8211, allocations: 3.938 kB / 0.8547 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000431/0.8216, allocations: 78.53 kB / 0.8547 GB, free: 7.25 MB / 0.5762 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.0004612/0.822, allocations: 176 kB / 0.8549 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.8225, allocations: 184.3 kB / 0.8551 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8225, allocations: 4.062 kB / 0.8551 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.8227, allocations: 92.45 kB / 0.8552 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/0.8236, allocations: 166.1 kB / 0.8553 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.8247, allocations: 0.7153 MB / 0.856 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.8251, allocations: 0.7812 MB / 0.8568 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002261/0.8253, allocations: 67.08 kB / 0.8568 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.8254, allocations: 28.91 kB / 0.8569 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.8254, allocations: 0 / 0.8569 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of Templates: time 0.01022/0.8356, allocations: 5.526 MB / 0.8623 GB, free: 2.895 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)