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.001072/0.001072, allocations: 110.4 kB / 15.99 MB, free: 6.367 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.001087/0.001087, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.518/1.518, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.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.641/1.641, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.00225/0.00225, allocations: 78 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3074, allocations: 114.5 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.7858/1.093, allocations: 165.2 MB / 0.9448 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003017/1.096, allocations: 1.548 MB / 0.9463 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005084/1.097, allocations: 13.88 kB / 0.9463 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005696/1.097, allocations: 118.5 kB / 0.9464 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/1.1, allocations: 0.6687 MB / 0.9471 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/1.101, allocations: 0.5581 MB / 0.9476 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001028/1.103, allocations: 0.7255 MB / 0.9483 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/1.103, allocations: 231.2 kB / 0.9486 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007354/1.104, allocations: 353.8 kB / 0.9489 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/1.104, allocations: 238.7 kB / 0.9491 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/1.104, allocations: 25.19 kB / 0.9491 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/1.106, allocations: 0.8979 MB / 0.95 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001742/1.106, allocations: 105.9 kB / 0.9501 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002363/1.106, allocations: 173.2 kB / 0.9503 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009736/1.107, allocations: 0.5154 MB / 0.9508 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.107, allocations: 1.203 kB / 0.9508 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.555e-06/1.107, allocations: 0 / 0.9508 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.108, allocations: 0 / 0.9508 GB, free: 5.766 MB / 0.7325 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.001305/1.109, allocations: 0.6623 MB / 0.9514 GB, free: 21.28 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.109, allocations: 9.406 kB / 0.9514 GB, free: 21.28 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/1.11, allocations: 159.1 kB / 0.9516 GB, free: 21.26 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/1.111, allocations: 314.4 kB / 0.9519 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/1.111, allocations: 16.38 kB / 0.9519 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/1.111, allocations: 26.97 kB / 0.9519 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/1.111, allocations: 282.8 kB / 0.9522 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.111, allocations: 0.8125 kB / 0.9522 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/1.111, allocations: 13.19 kB / 0.9522 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/1.111, allocations: 5.969 kB / 0.9522 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000489/1.112, allocations: 202.7 kB / 0.9524 GB, free: 20.94 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.001632/1.114, allocations: 1.225 MB / 0.9536 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/1.114, allocations: 152.2 kB / 0.9538 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/1.114, allocations: 93.81 kB / 0.9539 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000718/1.115, allocations: 303.3 kB / 0.9541 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/1.115, allocations: 37.22 kB / 0.9542 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 1.814e-06/1.115, allocations: 0 / 0.9542 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0008851/1.116, allocations: 294.4 kB / 0.9545 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/1.116, allocations: 57.75 kB / 0.9545 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/1.116, allocations: 322.1 kB / 0.9548 GB, free: 19.51 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/1.116, allocations: 29.98 kB / 0.9548 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/1.116, allocations: 187 kB / 0.955 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/1.117, allocations: 60.48 kB / 0.9551 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/1.117, allocations: 45.27 kB / 0.9551 GB, free: 19.31 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.117, allocations: 342.3 kB / 0.9555 GB, free: 19 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/1.117, allocations: 73.14 kB / 0.9555 GB, free: 19 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/1.117, allocations: 127.6 kB / 0.9556 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/1.118, allocations: 201.6 kB / 0.9558 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.118, allocations: 1.469 kB / 0.9558 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005487/1.118, allocations: 253.4 kB / 0.9561 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/1.118, allocations: 12.03 kB / 0.9561 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/1.118, allocations: 1.094 kB / 0.9561 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.118, allocations: 6.312 kB / 0.9561 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/1.118, allocations: 47.03 kB / 0.9561 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.118, allocations: 3.5 kB / 0.9561 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/1.119, allocations: 41.2 kB / 0.9562 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/1.119, allocations: 9.734 kB / 0.9562 GB, free: 18.81 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.0001729/1.119, allocations: 154.2 kB / 0.9563 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/1.119, allocations: 30.81 kB / 0.9564 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005476/1.12, allocations: 226.7 kB / 0.9566 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.12, allocations: 1.5 kB / 0.9566 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.12, allocations: 0.625 kB / 0.9566 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.12, allocations: 3.203 kB / 0.9566 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/1.121, allocations: 0.7115 MB / 0.9573 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.121, allocations: 3.219 kB / 0.9573 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/1.121, allocations: 33.47 kB / 0.9573 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/1.121, allocations: 9.266 kB / 0.9573 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/1.121, allocations: 3.719 kB / 0.9573 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/1.121, allocations: 9.688 kB / 0.9573 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.121, allocations: 2.219 kB / 0.9573 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/1.122, allocations: 451.1 kB / 0.9578 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/1.122, allocations: 121.5 kB / 0.9579 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/1.122, allocations: 7.984 kB / 0.9579 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/1.122, allocations: 29.88 kB / 0.9579 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/1.122, allocations: 18.19 kB / 0.9579 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/1.122, allocations: 5.5 kB / 0.958 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003156/1.123, allocations: 230.3 kB / 0.9582 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.123, allocations: 0.5938 kB / 0.9582 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005156/1.123, allocations: 86.84 kB / 0.9583 GB, free: 17.85 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.00046/1.124, allocations: 170.9 kB / 0.9584 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005585/1.124, allocations: 183.5 kB / 0.9586 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.124, allocations: 0 / 0.9586 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/1.125, allocations: 100.7 kB / 0.9587 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008881/1.125, allocations: 163 kB / 0.9588 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/1.127, allocations: 0.7581 MB / 0.9596 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/1.127, allocations: 0.7796 MB / 0.9603 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.961e-05/1.127, allocations: 33.27 kB / 0.9604 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/1.127, allocations: 0 / 0.9604 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of Templates: time 0.008472/1.135, allocations: 4.934 MB / 0.9652 GB, free: 16.08 MB / 0.7481 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)