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: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.907/1.907, allocations: 288.3 MB / 303.2 MB, free: 8.238 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.001546/0.001546, allocations: 173 kB / 371.8 MB, free: 10.28 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.893/1.893, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 94.83 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004649, allocations: 12.75 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2405, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6632/0.9037, allocations: 140.2 MB / 1.116 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003063/0.9069, allocations: 1.587 MB / 1.118 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004502/0.9073, allocations: 9.719 kB / 1.118 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000785/0.9081, allocations: 178.7 kB / 1.118 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.9099, allocations: 0.5143 MB / 1.119 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.9116, allocations: 486.7 kB / 1.119 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006481/0.9122, allocations: 441.5 kB / 1.119 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.9126, allocations: 197.7 kB / 1.12 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007762/0.9134, allocations: 340.8 kB / 1.12 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.9136, allocations: 163 kB / 1.12 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.9136, allocations: 13.41 kB / 1.12 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009988/0.9146, allocations: 422.7 kB / 1.121 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.9147, allocations: 93.45 kB / 1.121 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.9149, allocations: 86.98 kB / 1.121 GB, free: 17.21 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005537/0.9154, allocations: 398.5 kB / 1.121 GB, free: 17.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9154, allocations: 1.094 kB / 1.121 GB, free: 17.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9154, allocations: 1.859 kB / 1.121 GB, free: 17.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.9155, allocations: 0 / 1.121 GB, free: 17.18 MB / 0.698 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.0008414/0.9163, allocations: 0.6032 MB / 1.122 GB, free: 16.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.9164, allocations: 8.562 kB / 1.122 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.9175, allocations: 167 kB / 1.122 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.9179, allocations: 306 kB / 1.122 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.918, allocations: 20.59 kB / 1.122 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.918, allocations: 24.62 kB / 1.122 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.9186, allocations: 282.7 kB / 1.122 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.9186, allocations: 0 / 1.122 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.9186, allocations: 14.8 kB / 1.122 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.9186, allocations: 6.5 kB / 1.122 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.9191, allocations: 213 kB / 1.123 GB, free: 16.35 MB / 0.698 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.001441/0.9205, allocations: 1.242 MB / 1.124 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.9208, allocations: 146.4 kB / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004052/0.9212, allocations: 138.8 kB / 1.124 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.9213, allocations: 35.34 kB / 1.124 GB, free: 15.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.9213, allocations: 4 kB / 1.124 GB, free: 15.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.0008361/0.9221, allocations: 309.8 kB / 1.124 GB, free: 15.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.9222, allocations: 57.59 kB / 1.125 GB, free: 15.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.9225, allocations: 318.9 kB / 1.125 GB, free: 15.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.9225, allocations: 30.58 kB / 1.125 GB, free: 15.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.9226, allocations: 180.1 kB / 1.125 GB, free: 14.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.9227, allocations: 59.92 kB / 1.125 GB, free: 14.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.9227, allocations: 10.25 kB / 1.125 GB, free: 14.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.9228, allocations: 338.7 kB / 1.125 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.923, allocations: 76.77 kB / 1.126 GB, free: 14.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.9233, allocations: 132.2 kB / 1.126 GB, free: 14.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.9235, allocations: 91.69 kB / 1.126 GB, free: 14.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.9235, allocations: 3.953 kB / 1.126 GB, free: 14.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004441/0.9239, allocations: 262.3 kB / 1.126 GB, free: 14.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.924, allocations: 13.86 kB / 1.126 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.924, allocations: 0 / 1.126 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.924, allocations: 2.625 kB / 1.126 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.9242, allocations: 48.06 kB / 1.126 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.9242, allocations: 2.812 kB / 1.126 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.9245, allocations: 44 kB / 1.126 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.9245, allocations: 15.83 kB / 1.126 GB, free: 14.44 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.9247, allocations: 146 kB / 1.126 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.9247, allocations: 33.92 kB / 1.126 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/0.9252, allocations: 241.7 kB / 1.126 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.9253, allocations: 6.438 kB / 1.127 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.9253, allocations: 0 / 1.127 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.9253, allocations: 2.469 kB / 1.127 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.9264, allocations: 0.7174 MB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9264, allocations: 6.531 kB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.9266, allocations: 37.94 kB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.9266, allocations: 2.875 kB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.9266, allocations: 7.656 kB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.9266, allocations: 3.188 kB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9266, allocations: 6.656 kB / 1.127 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007893/0.9274, allocations: 0.5376 MB / 1.128 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.9276, allocations: 127.3 kB / 1.128 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.9276, allocations: 2.531 kB / 1.128 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.9278, allocations: 20.3 kB / 1.128 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.9279, allocations: 15.7 kB / 1.128 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.9279, allocations: 14.38 kB / 1.128 GB, free: 13.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001957/0.9281, allocations: 226.8 kB / 1.128 GB, free: 13.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.052e-06/0.9281, allocations: 3.938 kB / 1.128 GB, free: 13.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004107/0.9285, allocations: 86.52 kB / 1.128 GB, free: 13.32 MB / 0.698 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 (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.0003845/0.9289, allocations: 168.6 kB / 1.128 GB, free: 13.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004354/0.9294, allocations: 192.3 kB / 1.129 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9294, allocations: 0 / 1.129 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.9296, allocations: 99.36 kB / 1.129 GB, free: 13.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008278/0.9304, allocations: 148.6 kB / 1.129 GB, free: 13.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.9315, allocations: 0.7515 MB / 1.13 GB, free: 12.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.9319, allocations: 0.788 MB / 1.13 GB, free: 12.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002171/0.9321, allocations: 64.55 kB / 1.13 GB, free: 12.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.9322, allocations: 29.38 kB / 1.13 GB, free: 12.02 MB / 0.698 GB Notification: Performance of SimCode: time 3.6e-07/0.9322, allocations: 0 / 1.13 GB, free: 12.02 MB / 0.698 GB Notification: Performance of Templates: time 0.009825/0.9421, allocations: 5.332 MB / 1.136 GB, free: 9.855 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)