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.008919/0.008919, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001839/0.001839, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.648/1.648, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.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.645/1.645, allocations: 251.7 MB / 0.5094 GB, free: 3.074 MB / 414.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.00154/0.001541, allocations: 67.91 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.275, allocations: 104.7 MB / 0.8281 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.9828/1.258, allocations: 167.5 MB / 0.9917 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.003607/1.262, allocations: 1.612 MB / 0.9932 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004367/1.262, allocations: 12.44 kB / 0.9933 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005735/1.263, allocations: 152.6 kB / 0.9934 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002139/1.265, allocations: 0.7343 MB / 0.9941 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002324/1.267, allocations: 0.6071 MB / 0.9947 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00124/1.268, allocations: 0.7248 MB / 0.9954 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003997/1.269, allocations: 237.6 kB / 0.9956 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006915/1.27, allocations: 361.7 kB / 0.996 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/1.27, allocations: 223 kB / 0.9962 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.724e-05/1.27, allocations: 27.36 kB / 0.9962 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/1.272, allocations: 0.8723 MB / 0.9971 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/1.272, allocations: 113.5 kB / 0.9972 GB, free: 7.688 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/1.272, allocations: 168.6 kB / 0.9973 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/1.273, allocations: 0.7448 MB / 0.9981 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/1.273, allocations: 2.781 kB / 0.9981 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.643e-06/1.273, allocations: 0 / 0.9981 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.227e-06/1.273, allocations: 4 kB / 0.9981 GB, free: 7.141 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.001003/1.274, allocations: 0.6518 MB / 0.9987 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.274, allocations: 10.19 kB / 0.9987 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/1.275, allocations: 162.2 kB / 0.9989 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/1.276, allocations: 332.8 kB / 0.9992 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/1.276, allocations: 16.09 kB / 0.9992 GB, free: 6.168 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/1.276, allocations: 29.5 kB / 0.9992 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/1.276, allocations: 283.5 kB / 0.9995 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/1.276, allocations: 3.938 kB / 0.9995 GB, free: 5.961 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/1.276, allocations: 10.28 kB / 0.9995 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/1.277, allocations: 4.562 kB / 0.9995 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/1.277, allocations: 204.1 kB / 0.9997 GB, free: 5.863 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.001462/1.278, allocations: 1.226 MB / 1.001 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/1.279, allocations: 152.7 kB / 1.001 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/1.279, allocations: 95.98 kB / 1.001 GB, free: 4.594 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/1.279, allocations: 302.2 kB / 1.001 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/1.28, allocations: 32.94 kB / 1.001 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/1.28, allocations: 0 / 1.001 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0007891/1.28, allocations: 294.6 kB / 1.002 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/1.28, allocations: 57.5 kB / 1.002 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/1.281, allocations: 325.1 kB / 1.002 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/1.281, allocations: 29.7 kB / 1.002 GB, free: 3.785 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/1.281, allocations: 182.2 kB / 1.002 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/1.281, allocations: 62.02 kB / 1.002 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.702e-05/1.281, allocations: 47.55 kB / 1.002 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.281, allocations: 342.2 kB / 1.003 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/1.281, allocations: 66.02 kB / 1.003 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/1.282, allocations: 127.2 kB / 1.003 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/1.282, allocations: 198.6 kB / 1.003 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.282, allocations: 0 / 1.003 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004517/1.282, allocations: 259.5 kB / 1.003 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.282, allocations: 9.484 kB / 1.003 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.282, allocations: 2.375 kB / 1.003 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.282, allocations: 2.531 kB / 1.003 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/1.283, allocations: 47.08 kB / 1.003 GB, free: 2.789 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.283, allocations: 2.5 kB / 1.003 GB, free: 2.789 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/1.283, allocations: 25.45 kB / 1.003 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/1.283, allocations: 12.19 kB / 1.003 GB, free: 2.77 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.0001396/1.283, allocations: 160.8 kB / 1.004 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/1.283, allocations: 35.06 kB / 1.004 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/1.284, allocations: 234.7 kB / 1.004 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/1.284, allocations: 2.938 kB / 1.004 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.284, allocations: 144 / 1.004 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.284, allocations: 3.984 kB / 1.004 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/1.285, allocations: 0.7041 MB / 1.005 GB, free: 1.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.285, allocations: 2.156 kB / 1.005 GB, free: 1.867 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/1.285, allocations: 35.5 kB / 1.005 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/1.285, allocations: 2.812 kB / 1.005 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/1.285, allocations: 10.5 kB / 1.005 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.285, allocations: 8.469 kB / 1.005 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.285, allocations: 7.25 kB / 1.005 GB, free: 1.844 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/1.286, allocations: 447.7 kB / 1.005 GB, free: 1.516 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/1.286, allocations: 127.9 kB / 1.005 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/1.286, allocations: 6.719 kB / 1.005 GB, free: 1.383 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/1.286, allocations: 12.8 kB / 1.005 GB, free: 1.375 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/1.286, allocations: 15.45 kB / 1.005 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/1.286, allocations: 8.906 kB / 1.005 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002147/1.286, allocations: 233.2 kB / 1.005 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.286, allocations: 0 / 1.005 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003844/1.287, allocations: 78.06 kB / 1.006 GB, free: 1.207 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.0004085/1.287, allocations: 162.1 kB / 1.006 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004238/1.287, allocations: 180.3 kB / 1.006 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.287, allocations: 2.719 kB / 1.006 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/1.288, allocations: 89.92 kB / 1.006 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008559/1.288, allocations: 181 kB / 1.006 GB, free: 0.875 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/1.29, allocations: 0.6271 MB / 1.007 GB, free: 424 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/1.29, allocations: 0.7815 MB / 1.007 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000203/1.29, allocations: 64.48 kB / 1.008 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.768e-05/1.29, allocations: 29.19 kB / 1.008 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of SimCode: time 2.71e-07/1.29, allocations: 0 / 1.008 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of Templates: time 0.01092/1.301, allocations: 5.871 MB / 1.013 GB, free: 12.74 MB / 0.7637 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)