Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005633/0.005633, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001142/0.001142, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.48/1.48, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 251.7 MB / 0.5094 GB, free: 420 kB / 430.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.001438/0.001438, allocations: 71.89 kB / 0.7258 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6448/0.6463, allocations: 104.7 MB / 0.8281 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2018/0.8481, allocations: 167.5 MB / 0.9917 GB, free: 10.47 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003237/0.8514, allocations: 1.61 MB / 0.9932 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005919/0.852, allocations: 15.88 kB / 0.9932 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006187/0.8526, allocations: 150.9 kB / 0.9934 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.8548, allocations: 0.7039 MB / 0.9941 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.8565, allocations: 0.6045 MB / 0.9947 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008913/0.8574, allocations: 0.7253 MB / 0.9954 GB, free: 6.656 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/0.8578, allocations: 237.1 kB / 0.9956 GB, free: 6.426 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006284/0.8585, allocations: 342.7 kB / 0.9959 GB, free: 6.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.8588, allocations: 227 kB / 0.9961 GB, free: 5.867 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.8589, allocations: 24 kB / 0.9962 GB, free: 5.844 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.8605, allocations: 0.865 MB / 0.997 GB, free: 4.977 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.8607, allocations: 115.7 kB / 0.9971 GB, free: 4.863 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.8609, allocations: 175.1 kB / 0.9973 GB, free: 4.691 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.8621, allocations: 0.7424 MB / 0.998 GB, free: 3.949 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.8621, allocations: 0 / 0.998 GB, free: 3.949 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8621, allocations: 0 / 0.998 GB, free: 3.949 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.8621, allocations: 0 / 0.998 GB, free: 3.949 MB / 0.795 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.001042/0.8632, allocations: 0.6584 MB / 0.9987 GB, free: 3.242 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.8632, allocations: 12.03 kB / 0.9987 GB, free: 3.23 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.8644, allocations: 159.3 kB / 0.9988 GB, free: 3.074 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/0.8649, allocations: 322.6 kB / 0.9991 GB, free: 2.719 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.865, allocations: 20.56 kB / 0.9991 GB, free: 2.699 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.865, allocations: 31.88 kB / 0.9992 GB, free: 2.668 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.8655, allocations: 285.8 kB / 0.9994 GB, free: 2.371 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.8656, allocations: 0 / 0.9994 GB, free: 2.371 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.8656, allocations: 8 kB / 0.9995 GB, free: 2.363 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.8656, allocations: 8 kB / 0.9995 GB, free: 2.355 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.866, allocations: 200.9 kB / 0.9997 GB, free: 2.16 MB / 0.795 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.001335/0.8674, allocations: 1.223 MB / 1.001 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.8677, allocations: 150.4 kB / 1.001 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.8679, allocations: 92.8 kB / 1.001 GB, free: 0.582 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/0.8684, allocations: 307.2 kB / 1.001 GB, free: 232 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.8685, allocations: 38.88 kB / 1.001 GB, free: 184 kB / 0.795 GB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.8685, allocations: 0 / 1.001 GB, free: 184 kB / 0.795 GB Notification: Performance of matching and sorting (n=17): time 0.0008288/0.8693, allocations: 297.2 kB / 1.002 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.8694, allocations: 55.34 kB / 1.002 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.8697, allocations: 320.5 kB / 1.002 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.8697, allocations: 25.7 kB / 1.002 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.8698, allocations: 188.1 kB / 1.002 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.8699, allocations: 63.09 kB / 1.002 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.688e-05/0.87, allocations: 49.7 kB / 1.002 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8701, allocations: 342.8 kB / 1.003 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.8703, allocations: 67.95 kB / 1.003 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.8705, allocations: 121.1 kB / 1.003 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.8709, allocations: 197 kB / 1.003 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8709, allocations: 3.938 kB / 1.003 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005103/0.8714, allocations: 253 kB / 1.003 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.8715, allocations: 7.938 kB / 1.003 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8715, allocations: 0 / 1.003 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.8715, allocations: 4 kB / 1.003 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.8717, allocations: 47.97 kB / 1.003 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.8717, allocations: 0 / 1.003 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.872, allocations: 35.73 kB / 1.003 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.872, allocations: 11.94 kB / 1.003 GB, free: 14.03 MB / 0.8106 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.0001554/0.8722, allocations: 153.8 kB / 1.004 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.8722, allocations: 31.8 kB / 1.004 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.8727, allocations: 243.5 kB / 1.004 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.8727, allocations: 3.938 kB / 1.004 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8728, allocations: 0 / 1.004 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.8728, allocations: 4 kB / 1.004 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.8739, allocations: 0.7029 MB / 1.005 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.8739, allocations: 8.219 kB / 1.005 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.8741, allocations: 35.97 kB / 1.005 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.8741, allocations: 4 kB / 1.005 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.8741, allocations: 4 kB / 1.005 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.8741, allocations: 7.938 kB / 1.005 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.8741, allocations: 7.922 kB / 1.005 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006884/0.8748, allocations: 452.9 kB / 1.005 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.875, allocations: 120.8 kB / 1.005 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.875, allocations: 12.05 kB / 1.005 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.8752, allocations: 11.94 kB / 1.005 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.8753, allocations: 11.98 kB / 1.005 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.8753, allocations: 15.98 kB / 1.005 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002284/0.8755, allocations: 227 kB / 1.005 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of sort global known variables: time 6.41e-07/0.8755, allocations: 0 / 1.005 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004525/0.876, allocations: 83.94 kB / 1.005 GB, free: 11.78 MB / 0.8106 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.0004486/0.8765, allocations: 172.9 kB / 1.006 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004929/0.877, allocations: 186.8 kB / 1.006 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.877, allocations: 0 / 1.006 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.8772, allocations: 100 kB / 1.006 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009051/0.8781, allocations: 160.1 kB / 1.006 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009948/0.8791, allocations: 0.6259 MB / 1.007 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.8794, allocations: 0.7834 MB / 1.007 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000193/0.8796, allocations: 74.91 kB / 1.008 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.8797, allocations: 27.44 kB / 1.008 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.8797, allocations: 0 / 1.008 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of Templates: time 0.01128/0.891, allocations: 5.848 MB / 1.013 GB, free: 3.848 MB / 0.8106 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)